7

IO / Read and write KML file with geopandas and fiona driver

 1 year ago
source link: https://gist.github.com/mazzma12/0a32ce693bb42b742252caabb98519db
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

wheeled commented on Jun 24, 2020

edited

Hi @mazzma12 - this is helpful and really demonstrates how Fiona does all of the heavy lifting for ogr. However I created a KML file from a GPKG using this method and ran into an issue - it seems somewhere along the line the field names get screwed up (the KML <name> was taken from the feature 'date' field for example). If I do it the hard way using ogr the naming is correct. Have you seen this and do you know a way around it? Or is this a question for the Fiona team?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK