I'm trying to create a DEM to go with a simple shapefile (one polygon, four points) in python.
I used fiona to create the shapefile and now need to create the DEM as a tiff file to denote the elevation of the points in the shapefile. I'm stumped. Everything I google looks sooo complicated. How hard can this be?
Some things I don't understand yet include:
- what is the relation of the dimensions (in pixels) of the tiff file to the shapefile extents? does it matter?
- what kind of meta data is also stored in the tiff file? e.g. is the CRS stored in the tiff file?
I will be using the output with ArcScene Desktop 10.4.1, but would really like to create everything programatically. I guess if the solution involves arcpy or arcgisscripting, that is not a big problem, but geopandas and fiona sound like the way to go, right?