Questions tagged [fastkml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
250 views

Extracting coordinates of placemark from KML using FastKML?

I would like to parse a KML document in order to put the information (names of placemarks, coordinates) into a python array for further processing. This is what I have so far: from fastkml import kml ...
0
votes
1answer
502 views

How can one easily differentiate KML placemarks of polygon and icon type?

I'm using fastkml in python to parse a large kml file where Google Earth has made a new style for every placemark. I'm trying to parse subfolders which contain a point placemark and/or a polygon ...
0
votes
2answers
5k views

Get points from a kml LineString

I have a KML file with a LineString. I'm trying to load the points in Python. I'd like to use the FastKml library, but am open to other solutions. FastKml has one example for reading KML, but I have ...
8
votes
2answers
9k views

Converting KML files for use with Python library Shapely

I am trying to get a KML-file (wijken.kml) into Shapely. The KML-file is validated against the proper XML schema, so I guess the input is correct. Routes I have tried: 1) Converting to WKT or WKB ...