[Gdal-dev] IsProjected and IsGeographic
Craig Miller
craig.miller at spatialminds.com
Wed Aug 3 20:21:37 EDT 2005
Frank,
I just wanted to verify that my code isn't going to fail on some oddball
case. :-) Is it always true that if an SRS is not Geographic that it will
be Projected and that if an SRS is not Projected that it is Geographic?
E.g.
Assert(
(OGRSpatialReference::IsGeographic() == FALSE &&
OGRSpatialReference::IsProjected() == TRUE)
||
(OGRSpatialReference::IsProjected() == FALSE &&
OGRSpatialReference::IsProjected() == TRUE)
);
Thanks,
Craig
-------------------------
Craig Miller
GIS Architect
Spatial Minds, LLC
(206) 331-3952
More information about the Gdal-dev
mailing list