[gdal-dev] Re: KML's extendedData not visible

Brian Case rush at winkey.org
Tue Oct 11 10:09:01 EDT 2011


joss,

you should try the libkml driver.
http://www.gdal.org/ogr/drv_libkml.html

ogr2ogr -f CSV test.csv test.kml

cat test.csv
Name,description,timestamp,begin,end,altitudeMode,tessellate,extrude,visibility,holeNumber,holeYardage,holePar
Club house,,,,,,-1,-1,-1,1,234,4
By the lake,,,,,,-1,-1,-1,5,523,5


Brian



On Tue, 2011-10-11 at 03:21 -0700, jarmstrong wrote:
> I have a similar question regarding KML and OGR.
> When trying to import the example extended data as given at 
> http://code.google.com/apis/kml/documentation/extendeddata.html
> http://code.google.com/apis/kml/documentation/extendeddata.html 
> The extended data is not present in the created tables in the PG database
> when imported from KML file using ogr2ogr command.
> The database is created according to the template_postgis and the geometry
> data is imported correctly.
> Please let me know if this extended data should be present in the database
> tables and if so what is required to do this.
> 
> Thanks
> J Armstrong 
> 
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/gdal-dev-KML-s-extendedData-not-visible-tp5454623p6880389.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list