This document explains how to use the Overpass API.

Admin 10.03.2020 Category : WEB GIS Education Documents

Step 1: Add New Layer

The results of the Overpass API query are added to an active layer on the map. Therefore, a new layer must be created.

Note: You can easily create the layer with the quick layer creation button.

Add Data With Overpass API

Step 2: Services 🡪 Overpass API

The Overpass API is a read-only API that provides specially selected sections of OSM map data.

The data selected via the "Overpass API" menu in GISLayer can be visualized on the map.

Click the Overpass API button on the Services tab.

Add Data With Overpass API

NOTE: The Overpass API query is performed within the boundaries of the map displayed on the screen. Zoom in on the map where you want to get information. To get results, the map scale should be 1:500 in meters or more.

Step 3: Overpass Query Panel

Add Data With Overpass API

There are 3 options in the Overpass query panel.

  1. The layer on which the query is to be saved must be selected.
  2. The query to be applied must be selected.
  3. By clicking the + button, the query is added. More than one query can be added. (It is explained in Section 3.2.)

The Overpass queries that can be performed on GisLayer are listed below.

  • Filtering Path
    • Roads
    • Highways
    • Bus stops
  • Filtering Building
    • Buildings
    • Cafe
    • Restaurants
    • Theaters
    • Bank
    • Market
    • Fast Food
  • Filtering Places for Leisure Time
    • Outdoor Locations
    • Parks, Gardens
  • Filtering Sports Centers*
    • Gyms
    • Swimming Pool

1. Apply a single filter

This explains that only one request is sent to the Overpass API.

Add Data With Overpass API

After selecting the layer and query where the query result will be saved, click on the "Run Query" button.

The button to the right of the selected filter method allows you to delete the filter method.

The sample query results are shown below.

Add Data With Overpass API

Add Data With Overpass API

2. Apply Double Filter

This explains that two requests are sent to the Overpass API.

Add Data With Overpass API

Select the layer where the query result will be saved. After selecting the filter method, click the + button and select a filter method again and click the + button. After selecting the desired filters, the "Run Query" button is clicked.

The button to the right of the selected filter method allows you to delete the filter method.

The sample query results are shown below.

Add Data With Overpass API

Add Data With Overpass API

Related Documents

Downloading Open Street Map (OSM) Vector Data From The Map
Finding Country, City, District And Neighborhood Geometry
Create a New Vector Layer

Other Documents

Create a New Vector Layer
Add Vector Layer Files
Layer Box Usage

3-Layer Box Usage

10.03.2020
Adding WFS Service
Adding WMS Service
Adding XYZ Tile Service
Adding PBF and MVT Vector Tile Service
Usage Basemaps & Adding to Map
Add Ministry Of Environment & Urbanisation Base Maps
Usage TKGM & HGM Basemaps
Vector Drawing On The Map
Drawing Special Geometric Shapes On The Map
Measuring Length & Area On The Map
Getting Information From Vector Feature On The Map
Selecting Vector Feature On The Map
Finding TKGM Parcels On The Map
Setting the Drawing Order of Layers
Adding Previously Used Layers
Displaying the Vector Layer Attribute Data Table
Selections In Attribute Table
Delete Records In Attribute Table
Showing Features Use By Data Attribute Table
Changing Features Color Use By Data Table
Export Attribute Table
Finding Country, City, District And Neighborhood Geometry
Downloading Open Street Map (OSM) Vector Data From The Map
Map Indexing System
Creating Buffers Around Geometries
Clipping Of Geometries Using Overlapping Geometries
Rotate Geometries Around a Specific Anchor
Moving Geometries From One Position To Another
Simplifying Geometries
Smoothing Geometries
Creating the Triangular Terrain Model Using Point Heights
Creating Point, Triangle, And Square Grids Within an Area
Downloading Maps For Offline Use
Get Points From Geometries and Layers
View GeoJson Format Of a Layer
View GeoTiff

39-View GeoTiff

10.03.2020
Add Data With Overpass API
Listing All Updates, Created & Deleted Features
Adding WFS-T Service
Changing Map Color
Raster Color Information
Saving & Displaying System Files
Listing System Files & Adding To The Map
Sharing System File
Displaying Files & People You Share
Displaying, Adding & Deleting My Shared Files
Adding the Shared File to The Map & Stop Sharing
Add, Edit, Delete Geometry in Real-Time
Sending Back System File Changes
Displaying Log Table
Making a Map Open to Everyone
Listing Maps Shared With Everyone
Drawing Arc

56-Drawing Arc

10.03.2020
Display Available GISMoney
Sign In

58-Sign In

10.03.2020
Adding Raster Files
Remote Sensing Analysis
Getting Printout Map
Spatial Layer Joining
Querying Layer Attributes
Layer Styling

64-Layer Styling

10.03.2020
Creating Analysis Result Chart
Heatmap Density Map Analysis
Thematic Map Analysis
Coordinate Transformation
Creating Isohips Curve
Catalogue Upload
Creating a Catalogue File
System Settings

72-System Settings

10.03.2020
Manual Free Hand Drawing
Google POI Data Collecting
Creating Elevation Profile
Downloading Layers as File
Finding Intersections Between Geometries