[Gdal-dev] OGR's importFromEPSG depends on libgeotiff?

Ben Discoe ben at vterrain.org
Thu Oct 6 22:37:45 EDT 2005


Hi folks,

One small observation and a question..

The documentation for OGRSpatialReference::importFromEPSG says:
	"This code uses the GeoTIFF cpl_csv services to access the EPSG CSV
data. If frmts/gtiff/libgeotiff isn't linked in, linking will fail."

This sounds like it might be out of date; isn't the cpl_csv quite a core
component of GDAL/OGR nowadays...

The question is, what method provides the inverse of importFromEPSG().  That
is, given a common CRS in an OGRSpatialReference, can it return an EPSG
coordinate system code, which when later passed to importFromEPSG(),
re-constructs that same CRS?

Thanks,
Ben




More information about the Gdal-dev mailing list