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

Not working examples in MapServer CGI Controls #314

Open
MartinOver2 opened this issue Mar 11, 2020 · 1 comment
Open

Not working examples in MapServer CGI Controls #314

MartinOver2 opened this issue Mar 11, 2020 · 1 comment

Comments

@MartinOver2
Copy link

The information that the examples should work with the URL https://ms4w.dev/cgi-bin/mapserv.exe?map=/ms4w/apps/cgi-viewer/map/cgi-demo.map should be part of th document.

COORDINATE
https://ms4w.dev/cgi-bin/mapserv.exe?map=/mapfiles/gmap75.map&MODE=coordinate&IMGEXT=0 0 100 100&IMGXY=10 10 --> msLoadMap(): Unable to access file. (/mapfiles/gmap75.map)
https://ms4w.dev/cgi-bin/mapserv.exe?map=/ms4w/apps/cgi-viewer/map/cgi-demo.map&layers=all&mode=coordinate&IMGEXT=0 0 100 100&IMGXY=10 10 --> Internal Server Error

LEGENDICON
https://ms4w.dev/cgi-bin/mapserv.exe?map=/mapfiles/gmap75.map&MODE=legendicon&ICON=popplace,0 --> msLoadMap(): Unable to access file. (/mapfiles/gmap75.map)
https://ms4w.dev/cgi-bin/mapserv.exe?map=/ms4w/apps/cgi-viewer/map/cgi-demo.map&layers=all&MODE=legendicon&ICON=popplace,0 --> OK

Example 2, changing a presentation style:
https://ms4w.dev/cgi-bin/mapserv.exe?map=/ms4w/apps/cgi-viewer/map/cgi-demo.map&layers=all&map.layer[lakes].class[0].style[0]=SYMBOL+crosshatch+COLOR+151+51+151+SIZE+15 --> msUpdateMapFromURL(): General error message. Layer to be modified not valid.  Index required, not the name of the Symbol
https://ms4w.dev/cgi-bin/mapserv.exe?map=/ms4w/apps/cgi-viewer/map/cgi-demo.map&layers=all&mode=map&template=openlayers&map.layer%5Bpopplace%5D.class%5B1%5D.style%5B0%5D=SYMBOL+1+COLOR+255+0+0+SIZE+10 --> OK

Example 3, creating a new feature:
Please provide a full working example

Thanks, Martin

@jmckenna
Copy link
Member

Thanks @MartinOver2 I am almost done upgrading demo.mapserver.org and its tutorial links (to work with MapServer7) through issue #312, which can then be leveraged in the links that you have provided here. Will update progress shortly.

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

No branches or pull requests

2 participants