Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes not loaded from kml/kmz file #17076

Closed
qgib opened this issue Jul 11, 2013 · 8 comments
Closed

Attributes not loaded from kml/kmz file #17076

qgib opened this issue Jul 11, 2013 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Jul 11, 2013

Author Name: Nyall Dawson (@nyalldawson)
Original Redmine Issue: 8273
Affected QGIS version: master
Redmine category:data_provider


While the attached kmz file will display within QGIS master, none of the attributes are visible. Opening the file in a text editor shows it contains fields for name, description, network, type, etc. But opening the file in QGIS shows different attributes - "begin", "end", "altitudeMode",... all of which are NULL.

I see the same behaviour in 1.8, so it's not a regression.


@qgib
Copy link
Contributor Author

qgib commented Jul 12, 2013

Author Name: Giovanni Manghi (@gioman)


I have qgis master compiled now against gdal 1.10 and it shows only the "name" and "description" fields, while with gdal 1.9.* I confirm the described behavior.

@qgib
Copy link
Contributor Author

qgib commented Jan 14, 2014

Author Name: baditaflorin - (baditaflorin -)


I can confirm the same bug with QGIS 2.0.1 on windows.


  • 6633 was configured as bujoru.kml
  • fixed_version_id was configured as Version 2.0.0

@qgib
Copy link
Contributor Author

qgib commented Jan 30, 2014

Author Name: Paolo Cavallini (@pcav)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - High Priority

@qgib
Copy link
Contributor Author

qgib commented Aug 9, 2014

Author Name: Andre Joost (Andre Joost)


Just another test case: http://gis.stackexchange.com/questions/33826/how-to-convert-kml-to-shapefile-without-losing-attributes

QGIS (2.4 now, but 2.0 and 1.8 behaved the same) can write kml output with Extended Data tag, but can not read it's own output correctly on Windows builds. Reason might be that OSGEO4W does not include the LIBKML driver, but only the older KML driver. OGRinfo from the OSGEO4W shell also only reports "Name" and "Description" fields.

Ogrinfo and ogr2ogr via gisinternals/sdk can read the QGIS kml output without problem using the "LIBKML" driver by default.

So I guess that OSGEO4W-QGIS kicks off the Extended Data tags due to the old "KML" driver.

The same kml file opens on Windows 7 with only Name and Description field, while on Ubuntu 14.04 (using ubuntugis unstable) all fields are present in the attribute table.

http://trac.osgeo.org/osgeo4w/ticket/291 might solve the issue.

@qgib
Copy link
Contributor Author

qgib commented Nov 30, 2015

Author Name: Alex Zvoleff (@azvoleff)


I still see this on qGIS 2.12.0 on Windows 10. Any news on this issue?

@qgib
Copy link
Contributor Author

qgib commented Apr 7, 2016

Author Name: Patrick Valsecchi (Patrick Valsecchi)


On Ubuntu 15.10, we are using the LIBKML OGR driver to read those files. I've tried to use directly the ogr2ogr tool to convert to the provided KMZ and it has the same bug as QGIS. Therefore, it's a GDAL (version 1.11.2+dfsg-3ubuntu3) bug, not a QGIS bug or a libkml bug.

To be sure it's not a problem with the data, I've opened it in google map and it works fine, there.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was configured as 0
  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


End of life notice: QGIS 2.18 LTR
*
Source:*
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/


  • resolution was changed from to end of life
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Mar 9, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib added this to the Future Release - High Priority milestone May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant