Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing items in the Map Editor #7

Open
ghost opened this issue Sep 23, 2018 · 5 comments
Open

Missing items in the Map Editor #7

ghost opened this issue Sep 23, 2018 · 5 comments
Assignees

Comments

@ghost
Copy link

ghost commented Sep 23, 2018

Loaded latest via composer.

The OUTPUT FORMAT sub section is not visible in the Editor, but exists in the MAP file.

MAP OUTPUTFORMAT
DRIVER AGG/PNG8
EXTENSION "png"
FORMATOPTION "PALETTE=grey.txt"
FORMATOPTION "PALETTE_FORCE=on"
IMAGEMODE RGB
MIMETYPE "image/png;mode=8bit,grayscale"
NAME "png_bw"
TRANSPARENT ON
END # OUTPUTFORMAT

The WEB sub section is not visible in the Editor, but exists in the MAP file.

WEB
IMAGEPATH /tmp/ms_tmp/
METADATA
"ows_enable_request" ""
"wms_enable_request" "
"
"wms_srs" "EPSG:900913 EPSG:4326 EPSG:3857"
"labelcache_map_edge_buffer" "-10"
"wms_title" "Natural Earth World WMS"
END # METADATA
END # WEB

These items not visible in the Editor, but exist in the MAP file.

CONFIG "ON_MISSING_DATA" "IGNORE"
CONFIG "MS_ERRORFILE" "../mserror"
CONFIG "PROJ_LIB" "../"
DEBUG 5
FONTSET "../fonts.lst"
IMAGECOLOR 20 20 20
IMAGETYPE png
MAXSIZE 4000

AimDev

@jbelien jbelien self-assigned this Sep 23, 2018
@jbelien
Copy link
Owner

jbelien commented Sep 23, 2018

Indeed, there is at the moment, no way to edit the parameters you mentioned.

It will be a bit "difficult" to add absolutely everything in the user interface so I focus on the "main" parameters.
What would you consider as "main" parameters ?

@ghost
Copy link
Author

ghost commented Sep 23, 2018 via email

@ghost
Copy link
Author

ghost commented Sep 24, 2018

Hi
Produced a map file, which initially would not load, blank map.
Support for SHAPEPATH is required, when I hand edited the map file it loaded ok.

AimDev

@jbelien
Copy link
Owner

jbelien commented Sep 24, 2018

Will you be providing a export/write the map to a file?, at the moment I am cut and pasting the map from the mapfile window into an editor then saving.

Excellent idea !

Produced a map file, which initially would not load, blank map.
Support for SHAPEPATH is required, when I hand edited the map file it loaded ok.

SHAPEPATH is only required if you don't use the full path in LAYER : DATA.
But I can add a SHAPEPATH field in the user interface.

@ghost
Copy link
Author

ghost commented Sep 24, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant