[Mapserver-users] Virtual Spatial Data - projection
Pagurek, Debbie
PAGUREKD at AGR.GC.CA
Wed Jun 2 07:06:54 PDT 2004
You have the negative in the wrong place.
e.g. Chicago should be 41.5 -87.2
Debbie
-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Jenu
Abraham
Sent: Tuesday, June 01, 2004 4:12 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Virtual Spatial Data - projection
guys...
i have been trying to plot points on a US map using latlong cordinates
from
my SQL table using virtual spatial data
ogrinfo gave the correct output..with testing2.ovf
eg: -35.5 97.4 oklahomaq city
-41.5 87.2 chicago
i can see the states layer but
i dont see any points on my map..from the truck layer
why? is something wrong in the projection
------------------------
MAP
NAME e-test-rd-jbox-vsd_
IMAGETYPE GIF
EXTENT -2236857.50 -1744057.00 2786329.50 29069.36
SIZE 800 600
SHAPEPATH "C:\cgi-bin\data\"
FONTSET "C:\cgi-bin\fonts\fonts.list"
WEB
TEMPLATE 'e-test-rd-jbox.html'
IMAGEPATH 'C:\cgi-bin\tmp\'
IMAGEURL '/tmp/'
END
PROJECTION
"init=epsg:2163"
END
LAYER # States polygon layer begins here
NAME states
DATA statesp020
STATUS DEFAULT
TYPE POLYGON
PROJECTION
"init=epsg:4326"
END
CLASS
COLOR 240 240 100
END
END # States polygon layer ends here
LAYER # start of truck position from database
NAME trucks
TYPE POINT
CONNECTIONTYPE OGR
CONNECTION "testing2.ovf"
DATA "mylayer"
STATUS DEFAULT
PROJECTION
"proj=latlong"
END
CLASS
SYMBOL 1
SIZE 6
COLOR 255 0 0
END
END # end of connection layer
# End of LAYER DEFINITIONS
END # end of map file
_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra
Storage!
http://join.msn.click-url.com/go/onm00200362ave/direct/01/
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list