[Mapserver-users] 4.0 DATA Keyword / CGI variable
Shannon Scott
sscott at gwi.net
Thu Aug 7 05:43:10 PDT 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 ( below ) that is =
in an Oracle=20
DB. We change the DATA parameter "on the fly" ( via CGI =
variable ) to=20
select and highlight the polygon we want to display. This worked =
very well=20
in 3.6, but we are unable to change the DATA parameter since we upgraded =
to=20
4.0. I can still change other keyword parameters ( for example =
COLOR=20
).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Has anyone else experienced this? =
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> </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> </DIV>
<DIV><BR>LAYER<BR> NAME selectedpoly<BR> TYPE =
Polygon<BR> =20
STATUS default<BR> CONNECTIONTYPE oraclespatial<BR> =
CONNECTION=20
"xxx<A href=3D"mailto:xxx/xxx at locinc9">/xxx at locinc9</A>"<BR> =
TRANSPARENCY=20
50</DIV>
<DIV> </DIV>
<DIV> DATA "GEOM from (select a.GEOM from tracts1 a where=20
a.id=3D23019000100)"<BR> <BR> CLASS<BR> =
NAME=20
"selectedpolyclass"<BR> COLOR 255 255 =
191<BR> OUTLINECOLOR=20
8 8 8<BR> END # CLASS =20
<BR> <BR> =
PROJECTION<BR> =20
"proj=3Dlatlong"<BR> END <BR>END # Tracts=20
LAYER</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0085_01C35CBF.EEB71270--
More information about the MapServer-users
mailing list