This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

documentation about exploiting OSM with QGIS C++ API

0

hello

i am working on a project that need to explore map in osm format and display it in a application that is abble to add information or layer

so, i am looking for information about the possibility to use an OSM with the QGIS API C++

asked 30 Jun '15, 10:47

fainardi's gravatar image

fainardi
11112
accept rate: 0%

Why on earth would you want to do that. There are loads of ways to read OSM data directly in QGIS.

(30 Jun '15, 11:47) SK53 ♦

One Answer:

0

To get a starting point, please try the QuickOSM plugin inside QGIS.

There you can load OSM data elements into different layers, also by nice queries according to OverpassAPI.

To get familiar with OverpassAPI you can also try OverpassTurbo where you get an instant result display from such queries. Read about theres two in the OSM wiki. Also get familiar with OSM elements before.

When you have at least semi success in using these popular tools, tell us about your special case where you need a C++ API

answered 02 Jul '15, 16:21

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Source code available on GitHub .