eldang / elevation_lookups

Takes an input file of paths described as series of points, outputs a file of data about the elevation changes along those paths.
Apache License 2.0
3 stars 2 forks source link

Add Brest, FR elevation data sources #32

Open XioNoX opened 1 year ago

XioNoX commented 1 year ago

Opening this ticket to start a conversation.

My urban community (https://en.wikipedia.org/wiki/Brest_M%C3%A9tropole) have elevation data as contour data exposed in their open data portal: https://geo.brest-metropole.fr/arcgis/rest/services/public/GPB_REF/MapServer/2210001

I used pyesridump to "scrape" all of it as GeoJSON. I temporarily hosted the file for 30 days in https://transfert.free.fr/NhszRPT

For the datasources.json file:

I'm thinking something like:

{
    "name": "Brest 50cm contours",
    "url": "TBD",
    "filename": "brest_contours.geojson",
    "crs": "ESRI:102110",
    "bbox": [-4.552179, 48.355777, -4.434689727004813, 48.44768660963146],
    "download_method": "http",
    "lookup_method": "contour_lines",
    "lookup_field": "ELEVATION",
    "units": "meters",
    "recheck_interval_days": null
},

Let me know what you think,

Thanks

dabreegster commented 1 year ago

Where can I host that ~1Gb file long term?

Happy to use the A/B Street S3 bucket; we do it for other large files with similar hosting / reproducibility problems. I'll upload a copy hopefully tonight when I'm in a spot with a faster connection and post the URL here

eldang commented 1 year ago

Thank you, both!

@dabreegster much appreciated on the storage.

@XioNoX :

In the long run, between this and https://github.com/eldang/elevation_lookups/pull/31#discussion_r1014166244 I am seeing a need to add the ability to use a real dataset boundary instead of a bbox as appropriate.

dabreegster commented 1 year ago

https://play.abstreet.org/dev/data/input/shared/elevation/brest.geojson.gz only 200MB compressed, FWIW

XioNoX commented 1 year ago

Thanks for your feedback. I made a tentative with the linked PR but I'm a bit lost on what are the next steps to have it show up in ABStreet (my goal eventually :) ). I don't have time to incorporate pyesridump (even though it doesn't seem too hard). Opening a separate task about it makes sens to me. For the CRS, noted. Let's see if that one works as expected.

XioNoX commented 1 year ago

I noticed that my city's public ESRI can't be reached from outside of France. They're looking at removing that restriction but it makes the "pyesridump" option less straightforward.