Re: Using rasterio to mask/crop a raster results in AttributeError


Simon Tarr
 

Thank you. I used the below to remove the quotes:

import ast
poly = ast.literal_eval(obj.job_loc.geojson)

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