Opened 16 years ago
Closed 13 years ago
#1111 closed enhancement (fixed)
mapfile export - some issues
Reported by: | mschulz | Owned by: | rduivenvoorde |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | Version 1.7.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
Mapfile export with the python plugin in "io" has some flaws. I tried patching some of them, and will attach the changed files:
- export of postgis statements was wrong (see ticket #1104)
- export of layers only still writes whole mapfile
- export uses proj4 string to create mapfile projection element
- export doesn't distinguish between mapfile projection and layer projection
- symbology creation changed wrt. to geometry type (e.g. WIDTH instead of SIZE, OUTLINECOLOR instead of FILLCOLOR)
- export dialog select box "units" shouldn't translate UNITS values
Use whatever you want from the suggested changes. Cheers, Michael
Attachments (3)
Change History (9)
by , 16 years ago
Attachment: | ms_export.py added |
---|
by , 16 years ago
Attachment: | mapserverexport.py added |
---|
by , 16 years ago
Attachment: | ui_mapserverexport.py added |
---|
follow-up: 5 comment:1 by , 15 years ago
comment:2 by , 15 years ago
Component: | MapServer export → Python plugins and bindings |
---|---|
Milestone: | Version 1.0.3 → Version 1.2.0 |
comment:3 by , 14 years ago
Milestone: | Version 1.5.0 → Version 1.6.0 |
---|
comment:4 by , 13 years ago
Reviewing:
- export of postgis statements was wrong
Is fixed
- export of layers only still writes whole mapfile
Is fixed somewhere in history :-)
- export uses proj4 string to create mapfile projection element
Fix proposed only working with old project file format. Now whe have a authority node which could be used for that. But I'm not sure if mapserver will take this (I mean other authorities then epsg ....). Besides this, the proj4 string will always work while only using the authority-code is more tricky eg on linux case sensitive (EPSG should then be cast to epsg etc).
- export doesn't distinguish between mapfile projection and layer projection
still a 'wantohave', please issue feature request
- symbology creation changed wrt. to geometry type (e.g. WIDTH instead of SIZE, OUTLINECOLOR instead of FILLCOLOR)
Fixed somewhere in history
- export dialog select box "units" shouldn't translate UNITS values
not sure about this, fixed?
comment:5 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Replying to pcav:
In addition, the file is saved without extension (.map)
This is fixed somewhere in history
comment:6 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I will close this issue, for it is this old, holds a lot of different issues from which most of them (or all??) are fixed in the meantime.
If parts of it are still valid, please issue new ones.
In addition, the file is saved without extension (.map)