[mapserver-users] Something crazy is going on please advise......
Grant Marblestone
Grant Marblestone <grantm@ATSER.com>
Tue, 12 Feb 2002 09:29:02 -0600
This is a multi-part message in MIME format.
------=_NextPart_000_0021_01C1B3A7.B51DE470
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Ok so hopefully the subject has MADE you want to know what is going on.
=20
READ ON>>>>
=20
Background information:
I am creating a simple mapserver project with query and projection. My
shp files are mostly nad27 and then i have a couple layers of wgs84.
And the projection works fine. The main projection is nad27 and then =
on
the layers that are wgs84 we project.
=20
Problem:
I am trying to get my query to output information. Therefore i added
the appropriate class and metadata to my layer. It was a wgs84 layer.
I finish and then refresh the page and the query information shows up =
on
bottom from the refresh of past click, HOWEVER all teh sudded all the
points on the layer dissapear. I comment out the query class and then
refresh the page with the same information and then the points are =
back,
HOWEVER the query information is gone!
=20
Therfore i think it must be my map file and the query class. SO i mess
with it for hours with no luck.
=20
THEN i think maybe i should try it on a nad27 layer as that is the "non
projected" layer. =20
=20
I do this and it works fine!!!!!!!!!!! Proving that the map file is
correct and perhaps something is wrong with mapserver???
=20
Any clues on how i can get the wgs84 layer to display information and
show up at the same time?
Below is my non-functioning layer.....
=20
Thanks so much,
=20
Grant Marblestone
ATSER systems
=20
########################################################################=
#####
# permits (WGS84)
########################################################################=
#####
LAYER
DATA permits
NAME Permit
STATUS ON
TYPE POINT
METADATA
"DESCRIPTION" "Permits"
"RESULT_FIELDS" "PermitID lat long"
END
=20
PROJECTION
proj=3Dlatlong
datum=3DNAD83
ellips=3DWGS84
END
=20
#NEEDED FOR QUERY ! ! !
CLASS
NAME "PermitClass"
COLOR 200 255 0
OUTLINECOLOR 120 120 120
TEMPLATE "ttt_query.html"=20
END
=20
CLASS
BACKGROUNDCOLOR 128 128 128
NAME "permits"
OUTLINECOLOR 0 255 0
SYMBOL "circle"
COLOR 0 0 255
SIZE 10
END
TOLERANCE 5
END# permits
=20
------=_NextPart_000_0021_01C1B3A7.B51DE470
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 content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Ok so hopefully the subject has MADE =
you want to=20
know what is going on.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>READ ON>>>></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Background information:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am creating a simple mapserver =
project with query=20
and projection. My shp files are mostly nad27 and then i have a =
couple=20
layers of wgs84. And the projection works fine. The main =
projection=20
is nad27 and then on the layers that are wgs84 we project.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Problem:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am trying to get my query to output=20
information. Therefore i added the appropriate class and metadata =
to my=20
layer. It was a wgs84 layer. I finish and then refresh the =
page and=20
the query information shows up on bottom from the refresh of past =
click, HOWEVER=20
all teh sudded all the points on the layer dissapear. I comment =
out the=20
query class and then refresh the page with the same information and =
then the=20
points are back, HOWEVER the query information is gone!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Therfore i think it must be my map =
file and the=20
query class. SO i mess with it for hours with no =
luck.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>THEN i think maybe i should try it on =
a nad27 layer=20
as that is the "non projected" layer. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I do this and it works =
fine!!!!!!!!!!! =20
Proving that the map file is correct and perhaps something is wrong =
with=20
mapserver???</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any clues on how i can get the wgs84 =
layer to=20
display information and show up at the same time?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Below is my non-functioning =
layer.....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks so much,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Grant Marblestone</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ATSER systems</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>###############################################################=
##############<BR>#=20
permits=20
(WGS84)<BR>#############################################################=
################<BR> =20
LAYER<BR> DATA permits<BR> NAME=20
Permit<BR> STATUS ON<BR> TYPE=20
POINT<BR> METADATA<BR> =20
"DESCRIPTION" "Permits"<BR> =20
"RESULT_FIELDS" "PermitID lat long"<BR> =
END<BR> =20
<BR> PROJECTION<BR> =20
proj=3Dlatlong<BR> =
datum=3DNAD83<BR> =20
ellips=3DWGS84<BR> =
END<BR> <BR> =20
#NEEDED FOR QUERY ! ! !<BR> =20
CLASS<BR> NAME=20
"PermitClass"<BR> COLOR 200 255=20
0<BR> OUTLINECOLOR 120 120=20
120<BR> TEMPLATE=20
"ttt_query.html" <BR> END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> =20
CLASS<BR> BACKGROUNDCOLOR 128 128=20
128<BR> NAME=20
"permits"<BR> OUTLINECOLOR 0 255=20
0<BR> SYMBOL=20
"circle"<BR> COLOR 0 0=20
255<BR> SIZE 10<BR> =20
END<BR> TOLERANCE 5<BR> END# =
permits</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0021_01C1B3A7.B51DE470--