[Gdal-dev] Layer Equality

Frank Warmerdam warmerdam at pobox.com
Thu Jul 19 14:30:31 EDT 2007


Simon Perkins wrote:
> Thanks for that. I wasn't sure whether the FeatureDefn name was 
> guaranteed to be the same as the name used by GetLayerByName().
> 
> Is there any way of determining the index number of a Layer from the 
> OGRLayer?

Simon,

There is no way to ask a layer for it's index number, no.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list