pyrosm
pyrosm copied to clipboard
How I can download data using a lat, lon bounding box?
@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:
- 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
- Use Osmnx which supports downloading data using bounding box or by providing address.