You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: yscale 0.11356327132282978 cannot be less than 1.0
Full output:
(my_env) $ gdal2mbtiles --coloring=gradient --color "0:#fff" GRAY_LR_SR_W.tif GRAY_LR_SR_W.mbtiles
Traceback (most recent call last):
File "/home/pvieira/my_env/bin/gdal2mbtiles", line 8, in<module>sys.exit(main())
File "/home/pvieira/my_env/lib/python3.10/site-packages/gdal2mbtiles/main.py", line 297, in main
warp_mbtiles(inputfile=inputfile.name, outputfile=outputfile.name,
File "/home/pvieira/my_env/lib/python3.10/site-packages/gdal2mbtiles/helpers.py", line 203, in warp_mbtiles
return image_mbtiles(inputfile=warped, outputfile=outputfile,
File "/home/pvieira/my_env/lib/python3.10/site-packages/gdal2mbtiles/helpers.py", line 73, in image_mbtiles
pyramid = preprocessor(**locals())
File "/home/pvieira/my_env/lib/python3.10/site-packages/gdal2mbtiles/helpers.py", line 322, in resample_after_warp
pyramid.dataset.resample_to_world()
File "/home/pvieira/my_env/lib/python3.10/site-packages/gdal2mbtiles/vips.py", line 601, in resample_to_world
result = self._resample(ratios=ratios)
File "/home/pvieira/my_env/lib/python3.10/site-packages/gdal2mbtiles/vips.py", line 570, in _resample
self._image = VImageAdapter(self.image).stretch(
File "/home/pvieira/my_env/lib/python3.10/site-packages/gdal2mbtiles/vips.py", line 377, in stretch
raise ValueError(
ValueError: yscale 0.11356327132282978 cannot be less than 1.0
I'm using gdal 3.4.1.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/usr/local/bin/gdal2mbtiles", line 8, in<module>sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/gdal2mbtiles/main.py", line 297, in main
warp_mbtiles(inputfile=inputfile.name, outputfile=outputfile.name,
File "/usr/local/lib/python3.9/dist-packages/gdal2mbtiles/helpers.py", line 203, in warp_mbtiles
return image_mbtiles(inputfile=warped, outputfile=outputfile,
File "/usr/local/lib/python3.9/dist-packages/gdal2mbtiles/helpers.py", line 73, in image_mbtiles
pyramid = preprocessor(**locals())
File "/usr/local/lib/python3.9/dist-packages/gdal2mbtiles/helpers.py", line 322, in resample_after_warp
pyramid.dataset.resample_to_world()
File "/usr/local/lib/python3.9/dist-packages/gdal2mbtiles/vips.py", line 601, in resample_to_world
result = self._resample(ratios=ratios)
File "/usr/local/lib/python3.9/dist-packages/gdal2mbtiles/vips.py", line 570, in _resample
self._image = VImageAdapter(self.image).stretch(
File "/usr/local/lib/python3.9/dist-packages/gdal2mbtiles/vips.py", line 377, in stretch
raise ValueError(
ValueError: yscale 0.3478704038449042 cannot be less than 1.0
Installed
gdal2mbtiles
in a virtual environment. Tried to use it with this raster from https://www.naturalearthdata.com:https://www.naturalearthdata.com/downloads/10m-gray-earth/gray-earth-with-shaded-relief-and-water/
Direct link for the raster: https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/raster/GRAY_LR_SR_W.zip
Got this error:
Full output:
I'm using gdal 3.4.1.
The text was updated successfully, but these errors were encountered: