jbelien / MapFile-Generator

MapServer .MAP Generator (Read & Write)
https://mapfile.akoo.be
GNU General Public License v2.0
19 stars 6 forks source link

Missing items in the Map Editor #7

Open ghost opened 6 years ago

ghost commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hi

Yes understood. To actually get a map file to load, as opposed to getting a blank map :), then your are about 95% there.

The ones I highlighted in the issue are required, after that then its really not too much of an issue to use an ordinary editor.

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.

Thanks

AimDev

On 23 Sep 2018, at 14:08, Jonathan Beliën notifications@github.com wrote:

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 ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jbelien/MapFile-Generator/issues/7#issuecomment-423815351, or mute the thread https://github.com/notifications/unsubscribe-auth/AL7fpKpsSpqyi6KutfoOa1epDNd7oKrGks5ud4fAgaJpZM4W1r8C.

ghost commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hi

Yes its better for the shape file directory to be defined in one place. My mapfile is a combination of shapefiles and postgresql queries.

AimDev

On 24 Sep 2018, at 09:57, Jonathan Beliën notifications@github.com wrote:

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. Bu I can add a SHAPEPATH field in the user interface.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jbelien/MapFile-Generator/issues/7#issuecomment-423912398, or mute the thread https://github.com/notifications/unsubscribe-auth/AL7fpKci6-JU2iXW_MvUEVQwHWbNZJn9ks5ueJ6NgaJpZM4W1r8C.