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

How I can download data using a lat, lon bounding box? #165

Open
emiliovfx opened this issue Dec 16, 2021 · 1 comment
Open

How I can download data using a lat, lon bounding box? #165

emiliovfx opened this issue Dec 16, 2021 · 1 comment
Labels
question Further information is requested

Comments

@emiliovfx
Copy link

No description provided.

@HTenkanen
Copy link
Collaborator

@emiliovfx Hi! pyrosm does not support downloading data directly based on custom lat/lon bounding box because the input data dumps provided e.g. by Geofabrik are predefined to specific areas, and pyrosm reads those. However, there are a couple of ways to get around with this limitation:

  1. Download PBF data using BBBike extract tool that allows specifying the area of interest --> https://pyrosm.readthedocs.io/en/latest/basics.html#what-to-do-if-you-cannot-find-the-data-for-your-area-of-interest
  2. Use Osmnx which supports downloading data using bounding box or by providing address.

@HTenkanen HTenkanen added the question Further information is requested label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants