Trouble generating terrain data with TerrainTool

Wookey wookey at wookware.org
Tue Sep 7 22:49:23 BST 2021


On 2021-09-06 15:20 +0000, Rodrigo Severo wrote:
> >
> > I am trying to produce Terrain data for Survex and Therion with TerrainTool but I'm having some issues.
> 
> I managed to create terrain data with TerrainTool.
> 
> 1. TerrainTool was looking inside the "~/.terraintool" directory and not at "~/.local/share/terraintool/" as the documentation made me believe.

Did you use the debian/ubuntu package, or directly download the jar?
The package fixes the upstream source to use XDG paths properly. I
think this includes the above issue, but I'd have to check.

This ids a good example of why it usually better to use packaged
software if there is a version available.

If the ubuntu packaged version is not working right then please file
an ubuntu bug (and cc: me, as the terraintool maintainer).

> 2. TerrainTool is looking for files with uppercase N/S and W/E indications despite the available files being named with lowercase indications.

That also sounds like a bug. Ther have been various changes made to
keep up with changes in the NASA dataset. Perhaps this is a new one.

> Some suggestions:
> 
> a) explicitly mention at TerrainTool page the path where TerrainTool looks for the manually downloaded data file
> 
> b) mention the full path and file name at TerrainTool error message in case it doesn't finds the necessary data file
> 
> c) make TerrainTool look for NASA data files with the same exact name available at "https://e4ftl01.cr.usgs.gov/MEASURES/NASADEM_HGT.001/2000.02.11/", particulary the case used for N/S and W/E indications.

I'm currently on holiday but will take a look at this when I get back. Filed bugs will help me not forget aboiut it.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.survex.com/pipermail/survex/attachments/20210907/5b6c1650/attachment.sig>


More information about the Survex mailing list