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

Mateusz Łoskot mateusz at loskot.net
Fri Jan 20 03:22:06 EST 2006


Jason wrote:
> Which method in OGR provides these informations like longitude and
> latitude. Thanks. :)

First, look at this diagram:

Second, look at some concrete class of geometry like
http://www.gdal.org/ogr/classOGRLineString.html

Finally, look at OGRPoint class and you will get the answer:
http://www.gdal.org/ogr/classOGRPoint.html

By the way, OGC Simple Feature Specification should also provide useful 
informtion on the bigger picture.

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list