Hello, I'm building a C++ desktop application feature where you can visualize 3D data and I'd like to import 3D buildings from some locations specified by the user into it. I looked at this kind of request Is there a better way to to achieve what I'm trying to do ? Thanks asked 19 Nov '20, 16:47 Timo1111 |
Your usage sounds to me like it would fall under the second paragraph of the When NOT to use the API section of that page. I think the some of Overpass API instances have fewer restrictions. This would also allow you to request only the ways and relations that are either answered 19 Nov '20, 23:01 InsertUser Sorry I'm late to answer, didn't have a PC this week-end. I agree Overpass API seems more fitted for my needs but from what I saw I can't request buildings information only using an URL. Every request described in the documentation is using Overpass QL or Overpass XML language. Is there a REST API or should I put the OQL script in the body of a GET request ?
(23 Nov '20, 08:34)
Timo1111
2
I'm not a developer myself, but the Overpass Turbo "export" options allow you to produce a "compact form" like this:
Which it then converts to a URL that looks like this:
Which I assume is the same but percent encoded?
(23 Nov '20, 23:49)
InsertUser
|