[gdal-dev] How do I tell if an OGRSpatialReference has been initialized?

David Strip gdal at stripfamily.net
Mon Jul 22 16:44:20 PDT 2013


Given an OGRSpatialReference class object, how do I tell if it's been 
initialized to anything? (ie,clear() was called or else was constructed 
with a null string an no further action was taken to set the SRS?)
I've looked over the interface and can't spot anything that tells me 
it's in a clear state, but of course I might have missed it.

Thanks
David




More information about the gdal-dev mailing list