1

My geospatial data knowledge is limited. I am hoping for advice as to how I can convert the full GeoJSON geometry into a tif image using rasterio.

I have tried using gdal_rasterize to no avail. Not all the geometry was rasterized even after I set the -at (ALL_TOUCHED) parameter.

GISHuman
  • 3,671
  • 1
  • 20
  • 42
EAB
  • 31
  • 7
  • 1
    Not the final solution but take a look at https://gis.stackexchange.com/questions/187877/how-to-polygonize-raster-to-shapely-polygons for common wording of the problem. – Christoph Rieke Dec 02 '19 at 22:24
  • The problem is not the same - it is similar. I have edited the question for clarification purposes. – EAB Dec 03 '19 at 13:29
  • I already had the geometry as a shapely object and converted it to GeoJSON. I need to rasterize all the lat/lon coordinates in that GeoJSON. – EAB Dec 03 '19 at 13:30

0 Answers0