[Gdal-dev] how to set OGRFeature names
maplabs at light42.com
Thu Oct 11 17:12:09 EDT 2007
It looks to me that the <Model> tag is currently rejected by the KML
driver as 'Not Handled', so no information reaches the OGR layer about
the model contents at this time.
On Oct 11, 2007, at 8:26 AM, Christoph Ehrler wrote:
> Hi @ all,
> currently I'm working on an OGR driver for reading <Model> data out of
> KML files
> using the SAX parser eXpat. I would like to map the internal KML
> structure to OGR by preserving the <Folder> and <Placemark> names.
> Simplified, folders become to layers and placemarks to features (which
> represent the models).
> OK, the name of a layer could be set with the constructor of the
> OGRFeatureDefn::OGRFeatureDefn(const char *pszName).
> But how can I set the individual name of a feature?
> Are there any conventions about the name and type and index of an
> OGRField that stores this information???
> Thanks for your help
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
More information about the Gdal-dev