[gdal-dev] KML : some vectors are not seen by GDAL
Bugbuster
philippe.ghesquiere at airbus.com
Thu May 11 05:11:09 PDT 2017
Dear all,
When I try to export some vector data in KML, I sometimes "lose" some
vectors. It depends on the way layers are created :
case #1 : no tags are created. All vectors are considered "at the top
level". Everything is fine
case #2 : vectors all belong to a specific layer, using one or several tags.
Everything is still fine
case #3 : some vectors do not belong to a specific layer. Others belong to
specific layers. The "top level" vectors are not seen by GDAL (not displayed
in QGIS either). However, they are displayed in Google Earth.
The KML file looks like :
<kml>
<Document>
<name>snafu</name>
<Placemark>...</Placemark> <-- Not "seen" by ogrinfo
<Folder id="123456"">
<Placemark>...</Placemark> <-- OK
</Folder
</Document>
</kml>
My environment : Windows 8 64 bits, Gdal 2.0.2, using LIBKML plugin.
Do you have any ideas ?
Thanks
Philippe testFolders.kml
<http://osgeo-org.1560.x6.nabble.com/file/n5320171/testFolders.kml>
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/KML-some-vectors-are-not-seen-by-GDAL-tp5320171.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list