gdal.RasterizeLayer throwing PROJ.4 translation error

المشرف العام

Administrator
طاقم الإدارة
I'm doing some zonal computations in GDAL using the code posted in the solution here: Issue Trying to create Zonal Statistics using Gdal and Python.

It runs fine for me using the example data posted with the question, but when I try with my own GeoTiff and shapefile, this step:

# Rasterize zone polygon to raster gdal.RasterizeLayer(target_ds, [1], lyr, burn_values=[1]) throws the following error:

ERROR 1: No PROJ.4 translation for destination SRS, coordinate transformation initialization has failed. I'm pretty new to gdal and GIS development, so any suggestions would be appreciated.



أكثر...
 
أعلى