Titel Image Vector Data to Pointly

How To Export Vector Data From OpenStreetMap In 4 Simple Steps

published: 15.07.2024

Exporting vector data from OpenStreetMap (OSM) using the Overpass Turbo web interface is a seamless way to obtain rich GeoJSON files, which can be easily imported into any GIS system. They are especially useful with the Pointly platform to add an additional layer of contextual information in the 3D point cloud viewer.

In this guide, we'll walk you through the process and provide example queries for extracting various types of data.

Step-by-Step Guide to Export GeoJSON from Overpass Turbo

1. Access Overpass Turbo:

Visit Overpass Turbo and align the map with the extent you want to explore.

Tip: It is also possible to define a specific area in the query such as a City, State or Country to extract data from.

2. Compose Your Query:

You can write queries to extract specific data such as bridges, building footprints, and water bodies. Below are some example queries:

[out:json];
(
way["bridge"="yes"]({{bbox}});
relation["bridge"="yes"]({{bbox}});
);
out body;
>;
out skel qt;

[out:json];
(
way["building"]({{bbox}});
relation["building"]({{bbox}});
);
out body;
>;
out skel qt;

[out:json];
(
way["natural"="water"]({{bbox}});
relation["natural"="water"]({{bbox}});
);
out body;
>;
out skel qt;

[out:json];
(
way["power"="line"]({{bbox}});
node["power"="pole"]({{bbox}});
);
out body;
>;
out skel qt;
[out:json];
(
way["highway"]({{bbox}});
);
out body;
>;
out skel qt;
[out:json];
(
way["highway"="footway"]({{bbox}});
way["highway"="path"]({{bbox}});
way["highway"="pedestrian"]({{bbox}});
);
out body;
>;
out skel qt;
[out:json];
(
node["natural"="tree"]({{bbox}});
);
out body;
>;
out skel qt;
[out:json];
(
way["railway"]({{bbox}});
);
out body;
>;
out skel qt;
[out:json];
(
way["amenity"="parking"]({{bbox}});
relation["amenity"="parking"]({{bbox}});
);
out body;
>;
out skel qt;
[out:json];
(
node["highway"="street_lamp"]({{bbox}});
);
out body;
>;
out skel qt;

Tip: ChatGPT can assist in crafting precise Overpass Turbo queries. Simply describe the type of data you need, and ChatGPT can generate the appropriate query.

3. Run Your Query

Click the "Run" button to execute your query.

Software Screenshot Overpass Turbo

Create and run the query to see a preview of the results

4. Export the Data

Once your query returns results, click on the "Export" button and select "GeoJSON" format to download your file.

Software Screenshot Overpass Turbo queried objects can be exported into a single

The queried objects can be exported into a single GeoJSON file

 

Further Feature Attributes

To explore more attributes and features that can be queried from OpenStreetMap, visit the comprehensive Map Features page on the OSM Wiki. This resource provides detailed information on various tags and attributes used in OSM data, allowing for more granular and customized data extraction queries.

Importing GeoJSON to Pointly

With your GeoJSON file ready, you can now import it to Pointly; directly from the point cloud viewer:

Use the import function in Pointly to upload the GeoJSON file. The additional vector data will be displayed on top of your existing 3D point cloud, providing richer contextual information. You can also adapt the color as well as display height of the 2D vector objects.

Software Screenshot Pointly

The vector file can be uploaded from the Pointly viewer

By integrating OSM vector data with Pointly, you can significantly enhance the contextual understanding and analysis of your 3D point clouds. Give it a try and see how these additional layers of information can benefit your projects!

Software Screenshot Pointly shows a mapped city

Imported objects are displayed on the point cloud (this example shows bridges)

For more tips and tutorials on leveraging Pointly's capabilities, stay tuned to our blog and feel free to reach out with any questions or suggestions.

Pointly – Point out what matters.

⇧ back to top
Pointly 3D Point Cloud Classification
About Pointly

Pointly is an intelligent, cloud-based software solution to manage and classify 3D point clouds – faster and more precise than ever before.

With Pointly Services you can get on-demand advanced 3D point cloud solutions tailormade for you.

Share this article