Open elpaso opened 3 years ago
Yep, that's almost exactly how we set it up back in the days. Only I think I used a tile size of 50 x 50, I think 1024 x 1024 could be a little inefficient for a spatial index. I think you're much more experienced with raster (distribution) though, so what's your take @elpaso ? I didn't perf test it I think, was more a gut feeling back then.
@nilsnolde I can't say I thought much about it :smile: I just wanted to reduce the rows in my DB. Maybe something in the middle like 256 would work.
Hi, I have successfully added 2020 population data to my local instance of openrouteservice. I was hoping to also add 2025 population data using the instructions above and add it as a second statistics providers under the attribute "total_pop2025", however this seems to fail with "Parameter 'attributes' has incorrect value of 'total_pop2025' - does this mean Openrouteservice limits the attributes that can be added or am I missing something?
Hi, I have successfully added 2020 population data to my local instance of openrouteservice. I was hoping to also add 2025 population data using the instructions above and add it as a second statistics providers under the attribute "total_pop2025", however this seems to fail with "Parameter 'attributes' has incorrect value of 'total_pop2025' - does this mean Openrouteservice limits the attributes that can be added or am I missing something?
Although a bit late: See the warning in our new documentation https://giscience.github.io/openrouteservice/run-instance/configuration/ors/endpoints/isochrones#statistics-providers You currently have to implement new attributes manually.
I'll see if I find the time to contribute that.
for now, quick notes:
Prepare your data
Source: https://data.jrc.ec.europa.eu/dataset/jrc-ghsl-ghs_pop_gpw4_globe_r2015a
Crop your raster using a mask if you don't need the whole world
I am using a shapefile with the USA boundaries in EPSG:54009
usa_54009.shp
to clip the raster:Import into postgis
I am using the target DB
qgis_tests
If your postgis is missing EPSG:54009 you can add it with:
Add to
app.config
services.isochrones
section: