Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
3

Yes, that's possible: [out:csv(_ref, name, ::lat, ::lon)]; node["highway"="motorway_junction"]({{bbox}}); foreach { // iterate over nodes way(bn)[highway~"^(motorway|trunk)$"][ref] -> .ways; // find ways for each node if (ways.count(ways) > 0) { // check that at least 1 way was found convert result ...


2

Got it! My mistake was in the new attribute field conversion. Must change v.db.addcolumn riodejaneiro2D col="altura integer" to v.db.addcolumn riodejaneiro2D col="altura double precision" Now I have | Map is 3D: Yes | | Number of dblinks: 1 ...


2

See https://github.com/drolbr/Overpass-API/issues/86 - you need to set up your own Overpass API instance and modify the area creation rules. That's the only solution available today.


1

MBTiles images extract in QGIS, there is a plugin specifically created for this purpose, called MBTiles images extract: https://plugins.qgis.org/plugins/MBTiles2img/ Make sure you install it on QGIS 3 or newer: Install QGIS, if you haven't done so yet Plugin menu -> Manage and install plugin -> type 'MBTiles' Install Plugin


1

So actually, what I missed, is to reverse the mercator projection. Then everything was fine: function mercator (longitude, latitude) { var radius = 6378137; var max = 85.0511287798; var radians = Math.PI / 180; var point = {}; point.x = radius * longitude * radians; point.y = Math.max(Math.min(max, latitude), -max) * radians; point.y = radius ...


1

You can query and export data from Openstreetmap via overpass turbo. It's Wizard is quite easy to handle. Just search for the tags provided in your link like this: Which produces the following query you can execute: [out:json][timeout:25]; // gather results ( // query part for: “boundary=national_park and name="Nationalpark Sächsische Schweiz (Kernzone)"...


1

With a geographers point of view I would skip the whole XML part and would only work with the PBF. Download it and put it into PostgreSQL with the spatial postgis extension. To work interactively with the data in the PostGIS database I would recommend using QGIS and connect to the db from there. Then only the sky is the limit. There are plenty of tutorials ...


Only top voted, non community-wiki answers of a minimum length are eligible