Skip to content

Instantly share code, notes, and snippets.

View congtoan's full-sized avatar

Toan Nguyen congtoan

  • University of Economics Ho Chi Minh city
  • Ho Chi Minh City
View GitHub Profile
@congtoan
congtoan / keyholemarkup_converter.py
Created March 21, 2020 00:21 — forked from linwoodc3/keyholemarkup_converter.py
Convert KML/KMZ to CSV or KML/KMZ to shapefile or KML/KMZ to Dataframe or KML/KMZ to GeoJSON. Full script with classes to convert a KML or KMZ to GeoJSON, ESRI Shapefile, Pandas Dataframe, GeoPandas GeoDataframe, or CSV. Can write the converted file directly to disk with no human intervention.
# Author:
# Linwood Creekmore III
# email: valinvescap@gmail.com
# Acknowledgements:
# http://programmingadvent.blogspot.com/2013/06/kmzkml-file-parsing-with-python.html
# http://gis.stackexchange.com/questions/159681/geopandas-cant-save-geojson
# https://gist.github.com/mciantyre/32ff2c2d5cd9515c1ee7
@congtoan
congtoan / polygon-with-a-hole.geojson
Last active July 11, 2019 07:10 — forked from andrewharvey/polygon-with-a-hole.geojson
A GeoJSON Polygon with a hole
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.