[mapserver-users] Change mapfile from html form

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Thu Jan 14 21:33:51 PST 2010


Lot's of changes in the syntax when altering a mapfile by URL since the 4.x series. Try:

  map.layer[BOUNDARY]=POINTS+434844.80 4522838.00 434840.17 4522890.93 434826.42 4522942.25 434803.96 4522990.40 434844.80 4522838.00+END

I think that should work.

Steve

________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lee [hatedau at yahoo.com]
Sent: Thursday, January 14, 2010 5:35 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Change mapfile from html form

Greetings,

In a mapfile I have the following layer in my mapfile:

LAYER
  NAME 'BOUNDARY'
  TYPE POLYGON
  FEATURE
  STATUS OFF
  CLASS
    NAME 'Search Boundary'
    OUTLINECOLOR 0 230 255
  END  # CLASS
END    # Layer

In Mapserver 4 I was able to create a polygon from a form using the following html tags:

<input type="hidden" name="map_BOUNDARY_feature" value="new">
<input type="hidden" name="map_BOUNDARY_feature_points" value="434844.80 4522838.00 434840.17 4522890.93 434826.42 4522942.25 434803.96 4522990.40 434844.80 4522838.00 ">

In Mapserver 5 it is not working.  Any suggestions would be greatly appreciated.

Thanks

Lee



_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list