[QGIS-trac] [Quantum GIS] #2933: KML export: Field values are shifted into <description> and <name>

Quantum GIS qgis at qgis.org
Mon Aug 9 20:13:42 EDT 2010


#2933: KML export: Field values are shifted into <description> and <name>
---------------------------------------------------------+------------------
   Reporter:  volter                                     |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.6.0
  Component:  Data Provider                              |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  All                                        |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Using QGIS' "Save Vector Layer as" produces undesired results. Whilst the
 schema definition looks good, the first two columns' content is shoved
 into <description> and <name>. You also run into data type problems
 therefore. A random message from a mailing list claimed similar problems
 and the writer was told, he used the API wrong. Sadly I couldn't figure
 out, how to use it correctly!

 I also converted with ogr2ogr and the output looks correct. But neither
 file shows the correct attributes in QGIS. That might be related.

 The included shapefile is the source of conversion. ogr.kml and qgis.kml
 are the conversions.

 GDAL version is 1.6.8.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2933>
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