[Gdal-dev] hi, how can I get the longitude/latitude information through OGR?

Jason jason.wangz at gmail.com
Fri Jan 20 03:50:00 EST 2006


Thanks. But, I am a software engineer lacking of GIS related
knowledge. Sorry for the stupid questions. But, how can I tranform the
x, y, z coordinated into longitude/latitude information formats, like:
120 47' 7.19 '' E.

OGRPoint::getX() return a double format variable, so how can I
translate this value into longitude liked format.

:)

2006/1/20, Mateusz Łoskot <mateusz at loskot.net>:
> Mateusz Łoskot wrote:
> > Jason wrote:
> >
> >> Which method in OGR provides these informations like longitude and
> >> latitude. Thanks. :)
> >
> >
> > First, look at this diagram:
> >
>
> Sorry, I've forgot to past link. Here it is:
> http://www.gdal.org/ogr/classOGRGeometry.html
>
> Cheers
> --
> Mateusz Łoskot
> http://mateusz.loskot.net
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>




More information about the Gdal-dev mailing list