conveyal / r5

Developed to power Conveyal's web-based interface for scenario planning and land-use/transport accessibility analysis, R5 is our routing engine for multimodal (transit/bike/walk/car) networks with a particular focus on public transit
https://conveyal.com/learn
MIT License
290 stars 74 forks source link

Limitation of Reading OpenStreetMap data files on r5PY #886

Closed iamadouhassane closed 1 year ago

iamadouhassane commented 1 year ago

Hello ,

I am working on python libraries R5PY and foluim for exploring OpenStreetMap and calculating time travelling to create feature for my modeling. In my use case , i try to work with France OpenStreetMap data files which is on this link http://download.geofabrik.de/europe/france.html with size 4.1 GB. But i have this error ( see on down ) for which i need help if it is possible because i passed time on documentation and investigate (parameter to increase file readin, increase my machine powe RAM & CPU....) but nothing for the moment

Thank a lot for advance

java.lang.IllegalArgumentException Traceback (most recent call last) File :6

File /opt/conda/lib/python3.10/site-packages/r5py/r5/transport_network.py:48, in TransportNetwork.init(self, osm_pbf, gtfs, build_config) 46 gtfs = [str(pathlib.Path(path).absolute()) for path in gtfs] 47 build_config = TransportNetworkBuilderConfig(**build_config) ---> 48 self._transport_network = com.conveyal.r5.transit.TransportNetwork.fromFiles( 49 java.lang.String(osm_pbf), java.util.ArrayList.of(gtfs), build_config 50 ) 51 self._transport_network.transitLayer.buildDistanceTables(None)

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Geographic extent of street layer (1249049 km2) exceeds limit of 250000 km2.

iamadouhassane commented 1 year ago
limit_r5py