Open Data

Download OpenStreetMap Data: Buildings, Roads and POIs

Select an area on the map and get buildings, the road network, water, green areas and points of interest from OpenStreetMap. Download them as shapefile, DXF, GeoJSON, KML or CSV, in UTM, WGS84 or Turkish TM coordinates.

Selected area-
Total features-
OSM data time-
Server-

Download

In the shapefile zip, each category is a separate layer (.prj, .cpg UTF-8), plus a README.txt with the ODbL terms. DXF layers are named after the categories. The CSV holds POIs and address points.

Layer categories

Data, Licence and Privacy

Data © OpenStreetMap contributors, ODbL 1.0. Show this credit wherever you use it; if you publicly distribute a derived database, share it under the ODbL. For the query, the boundary coordinates of your selection and the chosen categories are sent to a public Overpass API server; as with any request, your browser also passes on your IP address. Conversion and file creation run in your browser.

Related Tools

What this tool is for

OpenStreetMap is an open map database maintained by volunteers worldwide, and in many cities its building, road and point-of-interest data is very detailed. When a project needs building footprints for a neighbourhood, the road network for a route study, or the locations of schools, pharmacies and bus stops for an analysis, this tool turns the data of your selected area into formats that GIS and CAD software open directly.

How to use it

  1. Zoom to your study area. If you know the coordinates, use the "Go to location" box; the "Sample: central İzmit" button selects a small area so you can try the tool.
  2. Draw a rectangle or a polygon; if you work with the keyboard, "Visible area" selects what is shown on screen. The area can be up to 25 km².
  3. Tick the layer categories. Roads are split into four classes and POIs into ten groups; switch off the ones you do not need.
  4. Press Fetch Data. Results are coloured on the map and the feature counts per category are listed in a table.
  5. Choose the coordinate system and download the format you need. The UTM zone (and the TM zone in Turkey) is chosen from the location of the selection.

Layers and outputs

The height field (h_est) comes from the OSM height tag or, failing that, is estimated as building:levels times 3 m. Many buildings have neither value; an empty field means unknown.

Data and method

Data is read through the Overpass API, the read-only query service for OpenStreetMap. The query returns the objects intersecting your selection together with their geometry. Multipolygon relations (buildings with courtyards, lakes with islands) and road segments are converted to GeoJSON with osmtogeojson (MIT); clipping, area and centroid operations use Turf 7.2.0 (MIT). Coordinates are transformed with proj4js 2.9.0 (MIT); ITRF96 and ETRS89 are treated as equal to WGS84, as the difference of about a metre is below OSM accuracy. For ED50 in Turkey the EPSG:1784 "ED50 to WGS 84 (30)" parameters are applied. The map runs on Leaflet 1.9.4 (BSD-2-Clause), drawing on Leaflet.draw 1.0.4 (MIT) and zip creation on JSZip 3.10.1 (MIT); icons come from Lucide (ISC). Basemap tiles load from OpenStreetMap and Esri servers.

The Overpass servers are run free of charge by the community. Their usage policy expects a user to stay within about 10,000 queries and 1 GB of data per day, and an overloaded server answers with HTTP 429. For this reason the tool limits the selection to 25 km², checks the element count first for areas above 8 km², waits a few seconds between consecutive queries and moves to an alternative server when one is busy.

Licence: ODbL

OpenStreetMap data is licensed under the Open Database License (ODbL) 1.0. You may use, adapt and share it, including in commercial projects, on two conditions: show "© OpenStreetMap contributors" wherever you use it, and if you publicly distribute a database derived from it, share that database under the ODbL too. The README.txt in the zip, the licence fields in the GeoJSON and the comment in the DXF header carry this credit along with the file.

Accuracy limits

For professional projects

If you need OSM or in-house CAD data migrated into a structured GIS with its layers, attributes and coordinate system intact, or published on an internal or public web map, learn more about Rodosto Teknoloji or get in touch.

Frequently Asked Questions

Can I use OpenStreetMap data in a commercial project?

Yes. OpenStreetMap data is licensed under the Open Database License (ODbL) 1.0, which allows commercial use. Show "© OpenStreetMap contributors" wherever you use the data or maps made from it. If you publicly distribute a database derived from it, you must share that database under the ODbL as well.

Why is the selection limited to 25 km²?

The data comes from shared Overpass servers run by volunteers, which give each user limited capacity. In a dense city centre, 25 km² can mean tens of thousands of buildings and road segments; larger areas strain the server and become hard to process in the browser. Regional OSM extracts are a better fit for large areas.

Do buildings in the DXF have height?

If you enable the option, buildings are written as closed polylines with a thickness equal to their height. Height is taken from the OSM height tag or, failing that, estimated as building:levels times 3 m. Buildings without either value stay flat. Many buildings in OSM have no level data.

Why does the query fail or take long?

The shared Overpass servers are sometimes busy and return HTTP 429 or 504. In automatic mode the tool tries alternative servers in turn. If all of them are busy, wait a few minutes and try again, or select a smaller area and fewer categories.