Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Digital Elevation driver USGSDEM not recognised

I am trying to run the example of the Digital Elevation Model Tutorial but I am having a couple of things that seem to be giving problems to make it work. when running the installation:

$ sudo apt-get install gdal-bin libgdal-dev python-gdal
[sudo] password for jesus: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python-gdal is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However, the following packages replace it:
  gdal-bin

E: Package 'python-gdal' has no installation candidate

Then I installed:

sudo apt install gdal-bin

and then when I tried to scale the file a get a not recognisable driver message:

$ gdalwarp -ts 129 129 /tmp/mtsthelens.dem /tmp/media/dem/mtsthelens_129.dem
Output driver `USGSDEM' not recognised or does not support
direct output file creation.  The following format drivers are configured
and support direct output:
  VRT: Virtual Raster
  GTiff: GeoTIFF
[Long list of formats]

I would appreciate any suggestion about what could be happening. Maybe the tutorial is outdated because many links to Global Land Cover Facility are not working anymore.

Thanks.