gdal2tiles.py gives ERROR 6 on fresh Ubuntu 14.04 install

المشرف العام

Administrator
طاقم الإدارة
I have a fresh install of Ubuntu 14.04. I installed gdal with sudo apt-get install gdal-bin python-gdal. After this I have: GDAL 1.10.1 released 2013/08/26.

I am trying to tile the weather radar images from NOAA. The following are my steps and the error message that is displayed.

$wget http://radar.weather.gov/ridge/Conus/RadarImg/latest_radaronly.gif$wget http://radar.weather.gov/ridge/Conus/RadarImg/latest_radaronly.gfw$gdal_translate -of vrt -expand rgba ./latest_radaronly.gif temp.vrt$cp ./latest_radaronly.gfw ./temp.gfw$gdal2tiles.py -s EPSG:3857 -w none -r near -z 3-5 -n ./temp.vrt ./temp/The errors shown are then:

ERROR 6: EPSG PCS/GCS code 900913 not found in EPSG support files. Is this a valid EPSG coordinate system?ERROR 6: No translation for an empty SRS to PROJ.4 format is known.ERROR 6: No translation for an empty SRS to PROJ.4 format is known.Generating Base Tiles:ERROR 5: Illegal values for buffer sizeERROR 5: Illegal values for buffer sizeFrom that error, it seems that there is a problem with the EPSG:900913 (google) format. That is why I specifically set -s EPSG:3857.

All of this should work. I did the steps above from scratch, because I have an older server (ubuntu 12.04) where I am currently doing this without error. Once I upgrade to 14.04 the error above shows up. I am trying find the reason for the error. A google search for the the error message results in some old email list traffic that were either not about ubuntu or had other issues.

As a side note, I also tried building from source and there was no change in the errors displayed.



أكثر...
 
أعلى