[QGIS-trac] [Quantum GIS] #3272: KML export is malformed

Quantum GIS qgis at qgis.org
Tue Nov 30 11:27:42 EST 2010


#3272: KML export is malformed
----------------------------------------+-----------------------------------
   Reporter:  onyxfish                  |              Owner:  nobody       
       Type:  bug                       |             Status:  new          
   Priority:  minor: annoyance          |          Milestone:  Version 1.7.0
  Component:  Project Loading / Saving  |            Version:  1.5.0        
   Keywords:  kml export schema         |   Platform_version:               
   Platform:  OS X                      |           Must_fix:  No           
Status_info:  0                         |  
----------------------------------------+-----------------------------------
 The first four rows of an layer exported as KML read as follows:

 {{{
 <?xml version="1.0" encoding="utf-8" ?>
 <kml xmlns="http://www.opengis.net/kml/2.2">
 <Document><Folder><name>test</name>
 <Schema name="test" id="test">
 ...
 }}}

 The <Schema> element is not a valid child of <Folder>.  It should be a
 child of <Document>.

 As documented here:
 http://code.google.com/apis/kml/documentation/kmlreference.html#folder
 http://code.google.com/apis/kml/documentation/kmlreference.html#schema

 This doesn't by itself cause any rendering issues, but if a <Style>
 declaration is added after the <Schema> (which is normally correct) the
 styles will fail to render.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3272>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list