-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use high quality USGS elevation data #129
Comments
I just got Graphhopper to successfully ingest both the 1/3 arcsecond and 1/9 arcsecond USGS DEMs. They use For 1/3 arcsecond datasets:
For 1/9 arcsecond datasets (USGS only provides them in
@Andykmcc, this does create an additional data dependency for us. 1/3 AS tiles come in 1x1 latitude-longitude, so to cover the 9-county region of the Bay Area, this will be ~3-4 different TIFFs IIRC. 1/9 AS tiles come in 1/4x1/4 lat-lon, so this would be closer to 50. Regardless of the data that we decide to work with, I'll implement additional logic to retrieve elevation from the respective TIFFs. |
My initial thoughts are: This data is static so there's no need to pull the source data in an ongoing basis. By the same toke, that means we can preprocess that data by hand. Basically, download the source data to your machine, write a (dirty) script to process it into whatever state it needs to be for Graphhopper to ingest it. Commit the script(s) so place so we can recycle them as needed. Then we can store the process elevation data in min.io along side the PBF and GTFS. We can add a third "downloader" here to fetch the processed elevation data. if, in the future there is a reason/desire to automate this process we can do so. Questions:
|
+1 on how to manage and preprocess the data. I don't anticipate the new data adding much more complexity to our systems. I'll write some basic scripts as part of my existing PR. Data PrecisionWe will need to decide if we want to use 1/3 AS or 1/9 AS elevation data moving forward. I am personally in favor of 1/3 AS because of its wider availability, and it does seem, at face value, to solve the issues that we were seeing with SRTM datasets. It will also have a smaller footprint. Our data just needs to be good enough! Responses
|
From the USGS website: 1/9 arc-second: This dataset covers about 25 percent of the conterminous U.S. and is produced from 3-meter or higher resolution DEMs acquired by the USGS prior to January 2015. Horizontal coordinates are referenced to geographic coordinates (longitude, latitude). The 1/9 arc-second dataset will no longer be updated with newly acquired DEMs; however, it will continue to be distributed. 1-meter: This dataset was introduced in 2015 with limited coverage of the U.S., but will be expanding as new DEMs from 3DEP quality level 2 or better lidar data are acquired. Horizontal coordinates are referenced to the Universal Transverse Mercator projection. |
I'm in favor of the 1/3 arcsecond data for now |
Sounds good. Thanks for the details. Im on the same page about 1/3. |
Am I right that the SRTM data we have is more or less accurate enough outside of downtown SF? Would it make sense to go with a hybrid to save download and disk? |
My understanding of rohit's work is that it is a hybrid between the higher quality data and srtm. 1.5gb is okay, it's about 6-8 seconds download time with the current setup, which is confined to the wired switch in your office. My design for the future cluster, v3, includes a local cache for these exact types of things. If it was an order of magnitude bigger I'd be more worried (e.g. the 1/9 arc). |
We can limit the artifacts' footprint even more with the |
Keeping this open until the new multi-source EP is in prod. |
New router issues:
|
How to convert a NED 1/9 arcsecond
|
USGS makes Bay Area elevation data available as a few hundred MB dataset, with 1/9 arc angle (about 1 meter) resolution. Earth's surface, not trees/buildings. Would be better than SRTM (~30m resolution) that we currently use which has lots of artifacts, especially downtown. Not sure if GraphHopper can use this GeoTIFF format or how to convert it.
The text was updated successfully, but these errors were encountered: