x

Re: [Experimentierwiese] BRouter - Karten selbst bauen


Geschrieben von abrensch (Gast) am 17. April 2015 08:31:43: [flux]

Als Antwort auf: [Experimentierwiese] BRouter - Karten selbst bauen geschrieben von couchmapper (Gast) am 13. Juli 2014 11:28:

emes wrote:

I just forgot to set the classpath in each of my scripts. Thank you!

OK, I've got the maps compiled and it works. However, there's no elevation info in the generated route (I get -8192m everywhere).
I downloaded the SRTM zip files for my area and placed it to the srtm folder. The processor seems to look for that data:
...
However, I have only two of these files listed above and the others aren't there. Still, I get no error on the absent ones, so I cannot know if anything gets processed at all.

true, this message is the same mo matter if the srtm-file exists or not, see the source: https://github.com/abrensch/brouter/blo … ifier.java

Are your 2 files named like 2 of the files in your log snippet?

You need very special srtm files, look into the zip-file, there's a file with meta-data, they should have 6001 rows and 6001 cols, and the nodata-value should be -9999

You get them from an ftp-server from cgiar. I can send you a download-link for the ones that you need, however the license does not allow me to expose a public link

The elevation data is still work in progress, I have an uncommitted patch to read the new 1 arc second data. Howevr, this will become even more complicated and involve another pre-processing step just for the elevation data.