bikehopper / graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.
https://www.graphhopper.com/open-source/
Apache License 2.0
3 stars 0 forks source link

Ingest Generalized 1/9 Arcsecond Data #156

Closed rsarathy closed 2 months ago

rsarathy commented 2 months ago

Expands the USGSProvider to accept a wider range of 1/9 Arcsecond TIFFs.

rsarathy commented 2 months ago

Looks better, Steve.

I remembered that we can make zero-padded strings in Java with the "%0Xd formatter, where X is the length of the desired string.

Then, getFileName() just becomes a String.format() call with the different variables that you've already laid out in the method.

Try rewriting the method this way instead of using concatenation - it will become more readable.