changing DATA parameter in mapfile via URL

Smith, Michael ERDC-CRREL-NH Michael.Smith at ERDC.USACE.ARMY.MIL
Fri Apr 22 06:56:12 EDT 2005


You need to use the DATAPATTERN keyword to allow data changes at the URL
level. See the docs at
http://mapserver.gis.umn.edu/doc44/mapfile-reference.html#map. DATAPATTERN is
a regular expression that gets applied to any requests to change data. Its a
security thing.
 
Mike
 

________________________________

From: UMN MapServer Users List on behalf of Dylan Beaudette
Sent: Thu 4/21/2005 5:48 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] changing DATA parameter in mapfile via URL



Is is possible to change the 'DATA' parameter via a URL-style variable such
as:

...&map_layername_data="xxx.shp"

i am able to change every other property of this layer, but not its data
source.

if this is not possible, does anyone know of some kind of work-around?

i am trying to use a single map file for numerous different shape files...

thanks in advance!

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050422/b10ca0ed/attachment.html


More information about the mapserver-users mailing list