Skip to content
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

Connect custom data for isochrone analysis? #10

Open
ArterialMapping opened this issue May 7, 2022 · 1 comment
Open

Connect custom data for isochrone analysis? #10

ArterialMapping opened this issue May 7, 2022 · 1 comment

Comments

@ArterialMapping
Copy link

ArterialMapping commented May 7, 2022

Hello! Really like your all's project here.

I was wondering if it was possible to customize the data sourced within the isochrones? I would like to include my own population variables, jobs, buildings, etc..?

Do you happen to know how I would go about adding my own dataset for analysis, other than the one the ORS API provides?

Thanks!

@itsozz
Copy link
Contributor

itsozz commented May 10, 2022

Hi, thanks very much for getting in contact and for your interest.

It's an interesting question! My initial thought would be to perform a spatial join on each of the isochrones returned from the ORS API to your local dataset, e.g. point-in-polygon, intersection etc. This would require your local data to be a spatial dataset, i.e. have geometries. For example you could do this in R using the "leaflet.extras" package to get this plugin and the "sf" package to perform the spatial join. I'm sure there are other language/platform options!

In case it's useful, ORS have a section on their website for people to ask questions about the API. There may be some further ideas discussed there that could help.

Hope this helps, good luck with your project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants