Osm highway network API

I have started exploring OSM for extracting Highway network for a specific area/region. I am using OSMnx python library.
(Getting Started - OSMnx 1.9.4 documentation)

Could you please suggest if it is the right way to access the latest OSM highway network.

It depends on few things - are you interested in small area? Entire world or big parts of continents?

Do you have strong preferences for using specific programming languages?

1 Like

Python is the requirement. And I am looking at 100kmx100km area.
Which is failrly large area.

OSMnx seems to be using Overpass API, and in densely mapped areas 100km x 100 km areas may be beyond its abilities.

Maybe you can download data in other way ( Downloading data - OpenStreetMap Wiki ) and still use that unofficial library. But you will need to check its documentation.

Accepting smaller area or less dense also may work.

1 Like