[Gdal-dev] OGR: GetName function for Layer?
Curt Mills
archer at eskimo.com
Mon Oct 18 20:12:15 EDT 2004
Is this the only method of determining the name of an SDTS layer
from within OGR?
if (layerH == OGR_DS_GetLayerByName(datasourceH, "AHPF"))
{
hypsography_layer++; // Topo contours
fprintf(stderr,"Hypsography Layer (topo contours)\n");
}
I'm using the GetNextLayer function, iterating through the layers.
I can't seem to find a GetName function for the layer. Am using the
C API.
--
Curt, WE7U. archer at eskimo dot com
http://www.eskimo.com/~archer
Lotto: A tax on people who are bad at math. - unknown
Windows: Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me: I picked the coordinate system!"
More information about the Gdal-dev
mailing list