As of May 31, 2023, we have updated our Code of Conduct.

New answers tagged

1 vote
Accepted

Download multiple OSM data key and value pairs via Graphical Modeler in QGIS

Use semicolon ; to delimit the different values, which are enclose in single quotes '. Don't repeat the key if it is the same for all values. Then try using either With the default Value setting and ...
Babel's user avatar
  • 60.9k
1 vote
Accepted

Query to find all buildings in an area using PostGIS on OSM database

I needed to project the geographic (4326) coordinates with ST_Transform to get them into Web Mercator (3857). I also had just copied and pasted the coordinates of my points but didn't check the lat/...
DianeS's user avatar
  • 31
0 votes

Adding polygon geometry to numpy array to plot it with background

It's a bit hard to give a clear solution because the code you provided isn't really runnable and it isn't really clear (to me) what exact result you want to get. Nonetheless I tried to write a minimal ...
Pieter's user avatar
  • 231
2 votes
Accepted

Geometry extraction from osm.pbf file using relation id with ogr2ogr

The relation is outside the cropped area from Geofabrik extract e.g right map at https://download.geofabrik.de/europe/norway.html That's why you do not get it. Two alternatives approaches using jq, ...
ThomasG77's user avatar
  • 29.8k
4 votes

Convert OSM XML file to GeoJSON yields nothing

You need to add /full to the API URL like: https://www.openstreetmap.org/api/0.6/relation/13737936/full and copy that XML. Gives: { "type": "FeatureCollection", "...
nmtoken's user avatar
  • 13k
0 votes

How to find objects by a couple of tags and names in a small area specifying the coordinate only once?

The following request worked for me: nwr(around:50000,31.962985, 35.915135)->.searchArea; ( nwr[building=industrial][name~"Chemi|chemi"](area.searchArea); nwr[industrial][name~"...
Tobias's user avatar
  • 111
1 vote

QGIS, trying to load / implement JSON file/data

You ask actually several questions. Reprojecting Vector tiles are not designed to be reprojected by the client https://github.com/mapbox/vector-tile-spec/tree/master/2.1 A Vector Tile represents data ...
user30184's user avatar
  • 60.3k
0 votes

Displaying outline of municipalities where wind turbines are located

I think I found the solution : [out:json][timeout:25]; area["ref:INSEE"="89"]->.a; rel(area.a)["boundary"="administrative"]["admin_level"="6"]; out geom; node(area.a)["power"="generator"]["generator:...
opeet20's user avatar

Top 50 recent answers are included