Closed andrewharvey closed 5 years ago
Not sure I'f I'm making progress or just digging a deeper hole for myself, but if I change
to
dst_crs="epsg:3857",
I no longer get the above error, but instead get
/home/user/.local/lib/python2.7/site-packages/rasterio/__init__.py:225: NotGeoreferencedWarning: Dataset has no geotransform set. The identity matrix may be returned.
**kwargs)
/home/user/.local/lib/python2.7/site-packages/rasterio/__init__.py:225: NotGeoreferencedWarning: Dataset has no geotransform set. The identity matrix may be returned.
**kwargs)
ERROR 4: No such file or directory
ERROR 4: No such file or directory
/home/user/.local/lib/python2.7/site-packages/rasterio/__init__.py:225: NotGeoreferencedWarning: Dataset has no geotransform set. The identity matrix may be returned.
**kwargs)
/home/user/.local/lib/python2.7/site-packages/rasterio/__init__.py:225: NotGeoreferencedWarning: Dataset has no geotransform set. The identity matrix may be returned.
**kwargs)
ERROR 4: No such file or directory
ERROR 4: No such file or directory
Made sure to wipe all my local python libs and re install rio-rgbify, now getting:
CRSError: The WKT could not be parsed. OGR Error code 5
To sum up, both #18 and #15 fix this issue, so I'll close this as duplicate of #14.
It still gives the errors in https://github.com/mapbox/rio-rgbify/issues/21#issuecomment-460617171 but it seems to generate the write outputs, so I'll just ignore the errors.
Installing from master seemed to fix my "CRSError: The WKT could not be parsed. OGR Error code 5" errors
Install all master and using python3 go over the issue for me.
@frodrigo what do you mean by install "all master" ? I am facing that issue right now
Not sure it change something, but I install git master of rasterio and rio-rgbify.
I am getting the same error right now. I tried both on Windows and Ubuntu, no difference. I suspect it is my input GeoTiff file? Is there a spec how the GeoTiff format must be? I am trying to convert SRTM HGT files into GeoTiff and then to mbtiles using rio-rgbify. But I am getting the "CRSError: The WKT could not be parsed. OGR Error code 5" error. Thanks for your help.
rio rgbify --min-z 0 --max-z 14 --format png LHI.tiff LHI.mbtiles
LHI.tiff.zip