[Mapserver-users] Virtual Spatial Data - projection
Jenu Abraham
jenu_ab at hotmail.com
Wed Jun 2 08:48:49 PDT 2004
still no points showing up on the map....
this is how my table looks now
table: latlong
x | y
-------------------------------
41.5 | -87.5
------------------------------
35.5 | -97.4
---------------------------------
------------------------------------------------------------------------------------------------------------
>From: "Pagurek, Debbie" <PAGUREKD at AGR.GC.CA>
>To: "Jenu Abraham" <jenu_ab at hotmail.com>,
><mapserver-users at lists.gis.umn.edu>
>Subject: RE: [Mapserver-users] Virtual Spatial Data - projection
>Date: Wed, 2 Jun 2004 10:06:54 -0400
>
>
>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
>
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
More information about the MapServer-users
mailing list