<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.35">
<TITLE>[UMN_MAPSERVER-USERS] changing DATA parameter in mapfile via URL</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText7941 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>You need to use the 
DATAPATTERN keyword to allow data changes at the URL level. See the docs at <A 
href="http://mapserver.gis.umn.edu/doc44/mapfile-reference.html#map">http://mapserver.gis.umn.edu/doc44/mapfile-reference.html#map</A>. 
DATAPATTERN is a regular expression that gets applied to any requests to change 
data. Its a security thing.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Mike</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List on behalf of 
Dylan Beaudette<BR><B>Sent:</B> Thu 4/21/2005 5:48 PM<BR><B>To:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] changing 
DATA parameter in mapfile via URL<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Is is possible to change the 'DATA' parameter via a URL-style 
variable such<BR>as:<BR><BR>...&amp;map_layername_data="xxx.shp"<BR><BR>i am 
able to change every other property of this layer, but not its 
data<BR>source.<BR><BR>if this is not possible, does anyone know of some kind of 
work-around?<BR><BR>i am trying to use a single map file for numerous different 
shape files...<BR><BR>thanks in advance!<BR><BR>--<BR>Dylan Beaudette<BR>Soils 
and Biogeochemistry Graduate Group<BR>University of California at 
Davis<BR>530.754.7341<BR></FONT></P></DIV>

</BODY>
</HTML>