[Mapserver-users] Projection string for (Degree, minute, second)
Eric Bridger
eric at gomoos.org
Wed Apr 28 07:22:01 PDT 2004
On Wed, 2004-04-28 at 08:59, Choi,Stephanie [Ontario] wrote:
> Quoting "Choi,Stephanie [Ontario]" <Stephanie.Choi at ec.gc.ca>:
>
> > Hi Jason,
> >
> > Sorry for the misleading sentence. Some of the data I have right now
> > are in DMS but some of the others are in DD. How can I project them
> > on the same map coz right now I couldn't project it on the same
> > extent. I try to add proj=latlong for DD data layer but I am not sure
>
> > what should I add for DMS data layer though.
This is not a projection issue but a units issue, so I doubt Proj4 will
help you. As far as I know Mapserver will only support decimal degrees
so you will need to convert your DMS data to DD. The formula is pretty
simple.
Decimal degrees = degrees + (minutes/60) + (seconds/3600)
HTH
Eric
More information about the MapServer-users
mailing list