[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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>READ ON&gt;&gt;&gt;&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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.&nbsp; My shp files are mostly nad27 and then i have a =
couple=20
layers of wgs84.&nbsp; And the projection works fine.&nbsp; 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>&nbsp;</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.&nbsp; Therefore i added the appropriate class and metadata =
to my=20
layer.&nbsp; It was a wgs84 layer.&nbsp; 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.&nbsp; 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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Therfore i think it must be my map =
file and the=20
query class.&nbsp; SO i mess with it for hours with no =
luck.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I do this and it works =
fine!!!!!!!!!!!&nbsp;=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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks so much,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>###############################################################=
##############<BR>#=20
permits=20
(WGS84)<BR>#############################################################=
################<BR>&nbsp;=20
LAYER<BR>&nbsp;&nbsp;&nbsp; DATA permits<BR>&nbsp;&nbsp;&nbsp; NAME=20
Permit<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; TYPE=20
POINT<BR>&nbsp;&nbsp;&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
"DESCRIPTION"&nbsp;&nbsp; "Permits"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
"RESULT_FIELDS" "PermitID lat long"<BR>&nbsp;&nbsp;&nbsp; =
END<BR>&nbsp;&nbsp;=20
<BR>&nbsp;&nbsp;&nbsp; PROJECTION<BR>&nbsp;&nbsp;&nbsp;=20
&nbsp;proj=3Dlatlong<BR>&nbsp;&nbsp;&nbsp; =
&nbsp;datum=3DNAD83<BR>&nbsp;&nbsp;&nbsp;=20
&nbsp;ellips=3DWGS84<BR>&nbsp;&nbsp;&nbsp; =
END<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;=20
#NEEDED FOR QUERY ! ! !<BR>&nbsp;&nbsp;&nbsp;=20
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME=20
"PermitClass"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 200 255=20
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 120 120=20
120<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE=20
"ttt_query.html"&nbsp;<BR>&nbsp;&nbsp;&nbsp; END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;=20
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BACKGROUNDCOLOR 128 128=20
128<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME=20
"permits"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 255=20
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL=20
"circle"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0=20
255<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 10<BR>&nbsp;&nbsp;&nbsp;=20
END<BR>&nbsp;&nbsp;&nbsp; TOLERANCE 5<BR>&nbsp; END# =
permits</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0021_01C1B3A7.B51DE470--