[Gdal-dev] OGRSpatialReference::SetUTM bug?
rayg at daylongraphics.com
Sat Oct 15 20:00:34 EDT 2005
I was modifying an OGRSpatialReference to use UTM, but if its current
linear units were not meters, OGRSpatialReference::SetUTM() would set
the false_easting param to 500000, then GetUTMZone() would read back a
scaled value causing the comparison to 500000 to fail.
Is SetUTM() supposed to assume that the linear units are already meters,
or should it force the units to meters? And should GetUTM test that the
units are meters?
More information about the Gdal-dev