[gdal-dev] Source dataset during ogr2ogr
Frank Warmerdam
warmerdam at pobox.com
Fri Feb 29 16:48:07 EST 2008
Christopher Condit wrote:
> I'm working on the KML 2.2 update for the KML OGR driver, and I'm
> curious if there's some way to get access to the source dataset object
> from the created dataset during an ogr2ogr call. In this case I'm
> interested in looking at all the feature definitions from the source
> dataset s.t. I can create the schema correctly in the KML output...
Chris,
No, there is no way to do this.
In the GDAL there is CreateCopy() which lets a destination dataset
configure itself based on a source dataset but there is no OGR analog.
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