Shapefile, GeoJSON & KML (vector) data handling with Python and osgeo (GDAL)
Channel: Hydro-Morphodynamics
Date: 2022-08-26

Read, create, and modify geospatial shapefiles (vector data) with OSGeo in Python and materials provided at https://hydro-informatics.com/jupyter/geo-shp.html

The jupyter notebooks can be git-cloned (or zip-downloaded) from the course repository: https://github.com/hydro-informatics/jupyter-python-course.git

This tutorial uses the jupyter notebook named geo01-shp.ipynb in the course repository.

The flusstools documentatin is available at https://flusstools.readthedocs.io with installation guidance from https://hydro-informatics.com/python-basics/pyinstall.html

Lecturer: Sebastian Schwindt


-- Contents of this video --
00:01:18 - Run GDAL and flusstools in Jupyter
00:02:25 - Load an exiting shapefile
00:04:24 - Create a new shapefile
00:13:29 - Get and set projections (.prj files)
00:19:02 - Reproject (geotransform) a shapefile
00:28:22 - Spatial references
00:30:51 - Add point features to a shapefile
00:36:22 - Add line features
00:40:41 - Add polygon features
00:44:36 - Convert a JSON file to a shapefile
00:50:03 - Create a GeoJSON file
00:52:11 - Create a KML (GoogleEarth) file