Skip to main content

Questions tagged [fastkml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
4k views

Parsing KML file with FastKML

I try to parse a KML file to retrieve the polygon names and -coordinates. I try to do this with FastKML (also tried pykml and element.tree, but no result). Reading the KML seems to be good. However, ...
GIStrees's user avatar
  • 119
3 votes
3 answers
6k 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 ...
Michael's user avatar
  • 1,186
0 votes
1 answer
747 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 ...
Wizard Of Ozzie's user avatar
0 votes
3 answers
8k 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 ...
mankoff's user avatar
  • 1,622
10 votes
2 answers
17k 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 ...
mhermans's user avatar
  • 335