Binary raster to geojson


ashnair0007@...
 

Given a binary numpy array (array of 0s and 1s where 0=background), what would be the best way to polygonise this raster and write it to a geojson?

Join main@rasterio.groups.io to automatically receive all group messages.