PyQGIS: Create a Shapefile
In this tutorial, we’ll walk through how to create a shapefile from scratch with the QGIS Python (PyQGIS) API. You shouldn’t need to do this, but if you’re running into problems where functions don’t show up you can import the qgis module at the beginning. This usually isn’t a problem but there have been a…