Tag Archives: python

Python – Unpacking Iterables

Python iterables are lists, tuples, dictionaries and other similar objects – in other words things that can be iterated over. Python provides a way to ‘unpack’ these iterables which can be a useful shortcut in some situations. This post looks at unpacking iterables, and how it can also be used to make functions functions take… Read More »

Python Convert KML to GeoJSON

GeoJSON and KML are formats for storing spatial information. KML files are commonly found with Google Earth type applications, so it can be useful to convert KML to GeoJSON.  The python library kml2geojson can be used to convert KML to GeoJSON. kml2geojson works as either a tool from the command line, or can be used… Read More »