Skip to content

Not working examples in MapServer CGI Controls #314

Open

Description

@MartinOver2

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

Activity

  1. jmckenna commented on Mar 11, 2020

    @jmckenna
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy