[Mapserver-users] 4.0 DATA Keyword / CGI variable

Shannon Scott sscott at gwi.net
Thu Aug 7 08:43:10 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0085_01C35CBF.EEB71270
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,
I have a layer ( below ) that is in an Oracle DB.  We change the DATA =
parameter "on the fly" ( via CGI variable ) to select and highlight the =
polygon we want to display.  This worked very well in 3.6, but we are =
unable to change the DATA parameter since we upgraded to 4.0.  I can =
still change other keyword parameters ( for example COLOR ).
Has anyone else experienced this?  Workaround?
Any info, or advice is greatly appreciated.
Thank You.
Shannon

Apache CGI
Linux RedHat 8.0
MN Mapserver 4.0


LAYER
  NAME selectedpoly
  TYPE Polygon
  STATUS default
  CONNECTIONTYPE oraclespatial
  CONNECTION "xxx/xxx at locinc9"
  TRANSPARENCY 50

  DATA "GEOM from (select a.GEOM from tracts1 a where =
a.id=3D23019000100)"
  =20
 CLASS
  NAME "selectedpolyclass"
  COLOR 255 255 191
  OUTLINECOLOR 8 8 8
  END  # CLASS       =20
 =20
  PROJECTION
    "proj=3Dlatlong"
  END =20
END  # Tracts LAYER


------=_NextPart_000_0085_01C35CBF.EEB71270
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have a layer (&nbsp;below ) that is =
in an Oracle=20
DB.&nbsp; We change the DATA parameter "on the fly" ( via&nbsp;CGI =
variable ) to=20
select and highlight the polygon we want to display.&nbsp; This worked =
very well=20
in 3.6, but we are unable to change the DATA parameter since we upgraded =
to=20
4.0.&nbsp; I can still change other keyword parameters ( for example =
COLOR=20
).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Has anyone else experienced this?&nbsp; =

Workaround?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Any info, or advice is greatly=20
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thank You.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Shannon</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Apache CGI</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Linux RedHat 8.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>MN Mapserver 4.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><BR>LAYER<BR>&nbsp; NAME selectedpoly<BR>&nbsp; TYPE =
Polygon<BR>&nbsp;=20
STATUS default<BR>&nbsp; CONNECTIONTYPE oraclespatial<BR>&nbsp; =
CONNECTION=20
"xxx<A href=3D"mailto:xxx/xxx at locinc9">/xxx at locinc9</A>"<BR>&nbsp; =
TRANSPARENCY=20
50</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; DATA "GEOM from (select a.GEOM from tracts1 a where=20
a.id=3D23019000100)"<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;CLASS<BR>&nbsp;&nbsp;=
NAME=20
"selectedpolyclass"<BR>&nbsp;&nbsp;COLOR 255 255 =
191<BR>&nbsp;&nbsp;OUTLINECOLOR=20
8 8 8<BR>&nbsp; END&nbsp; # CLASS&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp; <BR>&nbsp; =
PROJECTION<BR>&nbsp;&nbsp;&nbsp;=20
"proj=3Dlatlong"<BR>&nbsp; END&nbsp; <BR>END&nbsp; # Tracts=20
LAYER</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0085_01C35CBF.EEB71270--




More information about the mapserver-users mailing list