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 <Folder> 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 <Folder> 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

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/KML-some-vectors-are-not-seen-by-GDAL-tp5320170.html">KML : some vectors are not seen by GDAL</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html">GDAL - Dev mailing list archive</a> at Nabble.com.<br/>