Projection Problem

Frank Warmerdam fwarmerdam at GMAIL.COM
Wed May 11 22:44:21 EDT 2005


On 5/11/05, William Hamouz <william.hamouz at phoenix.gov> wrote:
> <OGRVRTDataSource>
>  <OGRVRTLayer name="Incidents">
>   <SrcDataSource>ODBC:UNITSTATUS</SrcDataSource>
>                 <SrcLayer>Incidents</SrcLayer>
>                 <GeometryType>wkbPoint</GeometryType>
>                 <LayerSRS>WGS84</LayerSRS>
>                 <GeometryField encoding="PointFromColumns" x="Lat"
> y="Long"/>
>          </OGRVRTLayer>
> </OGRVRTDataSource>

Will, 

I didn't look over your whole configuration carefully, but I suspect
your problem is in using Lat for "x" and Long for "y".  Assuming that
Lat is latitude and Long is longitude you should have x="Long", y="Lat".

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list