Questions tagged [openstreetmap]
OpenStreetMap is a collaborative project to create a free editable map of the world. The data is free, and free of legal and technical restrictions. OpenStreetMap is often shortened to OSM.
3,220
questions
0
votes
0
answers
11
views
clip .o5m dataset with commandline tools instead within the GIS software
I work with statewide OSM datasets (retrieved form geofabrik.de) I need just one county at the time tough. Especially for the buildings it takes quite some time before they all have loaded in QGIS.
Is ...
1
vote
1
answer
60
views
OSM Vector tile ST_AsMVTGeom SQL query Coordinates error
I am currently working on developing a Node.js API with Express to retrieve vector tiles from a PostGIS database.
I am using the ST_AsMVTGeom function to transform geometries into vector tiles, but I ...
0
votes
0
answers
39
views
OpenStreetMap tile server for dark theme
I just created a docker image for a dark (black) theme using OpenStreetMap data, and after running docker commands, the data is not loading. These are the docker commands I have
sudo docker volume ...
0
votes
0
answers
10
views
Extract multiple OSM-types with osmfilter and ONE command
I use osmfilter to extract specific parts of raw geodata retrieved from geofabrik.de. Let's say for my spatial analysis I like to get all buildings, farmlands, meadows and nationalparks.
I do not want ...
0
votes
0
answers
21
views
OSM Updating issue with vectores
I have a project file that contains OSM from QuickMapService, and I always insert vectors on this OSM map, the issue here is when the OSM got updated the streets shift, and my vectors ( Lines, Points ....
0
votes
0
answers
23
views
Why is the azimuthal projection not drawn correctly?
I am using Azimuthal equidistant projection, formulas from wiki
const double R=1000.0;
double calcDist(double phi0, double lamda0, double lamda, double phi)
{
double cos=qSin(phi0)*qSin(phi)+qCos(...
0
votes
1
answer
23
views
How to query my locally-hosted ORS backend for directions using the openrouteservice R package
I am using the openrouteservice R package to access the directions endpoint of ORS API.
I set my API key as follows:
Sys.setenv(OPENROUTESERVICE_KEY = <my_api_key>)
Then I go on to query the ...
1
vote
1
answer
24
views
Overpy processed results into GeoJSON
I am using Overpass to obtain data about street/sidewalk elements, such as buildings locations. I was not able to filter unwanted data by refining my Overpass query, so I am doing this filter in ...
0
votes
0
answers
29
views
Find Segments that form a Closed Loop in OSM
I have to find complex intersections where 8 roads meet each other. When they cross, they form a rectangle in the middle that is a closed loop (see Figure). My idea to find the intersections is to ...
1
vote
1
answer
57
views
Bus lines/routes from OpenStreetMap using OSMnx
I am trying to obtain bus lines/routes from OpenStreetMap using OSMnx. For example busline 284 in Nootdorp, Netherlands: https://www.openstreetmap.org/relation/2024408#map=15/52.0463/4.3967&layers=...
0
votes
1
answer
82
views
Create a Map Tile Server in Windows
I need a Tile Server to use in another application (Traccar) that will work on a Windows machine without a network.
However, I saw that to make this work I would need a Tiled Map and a Tile Server. As ...
0
votes
1
answer
82
views
Getting water depth data in QGIS
I'm working on water path planning in QGIS (for example, least cost path in a river). Now it contains only xy coordinates. Is there a way to get data on the water depth in QGIS? For example, any open ...
1
vote
1
answer
78
views
QGIS Finding Intersection of Points and Lines Layers in Electricity Grid [closed]
I am new to GIS-related work and am currently using QGIS 3.34 for my research
I am trying to find the electricity grid topology and length of power lines between substations in the West of Sweden for ...
1
vote
0
answers
68
views
Road data merge weather condition
I have a shapefile that shows fog, wind and precipitation values between 1 and 5. Additionally, this file consists of grids. My goal is to segment the OSM road data that fall into these grids in ...
0
votes
0
answers
21
views
What are the ways I can use a map to scale or rotate the map visually while having a pattern over it? [duplicate]
I want to use a map for more things that just watch at it. (By map I mean Google Maps or OpenStreetMap or another if necessary)
What I want to do is, once I have a location I want to move a drawing ...
2
votes
0
answers
51
views
Creating very high resolution map image with appropriate scale [closed]
I am building a map to use as a texture on a 3D globe (for North America). The PNG will be about 16,000 pixels wide, and labels should be sized such that they look appropriate when about 2 US states ...
1
vote
0
answers
68
views
How to display Arabic names properly in QGIS 3.34?
I'm new to QGIS, I've downloaded some places names from QuickOSM plugin and everything was working fine. Also I have my encoding set as it should be. However, the text is not displaying correctly! It ...
0
votes
1
answer
26
views
Cannot obtain shape image from Overpass Turbo
I wanted to export the graphical outline of a river in OpenStreetMap. I tried using the Overpass Turbo.
This is the script I used:
[out:json][timeout:25];
nwr["name"="Mahaweli"][&...
0
votes
1
answer
20
views
Is there a flag for osm osmosis to skip invalid nodes?
I am using osmosis to extract tags from an openstreetmap .bz2 file based on the command found in an answer here
bzcat us-west-latest.osm.bz2 | osmosis --rx - --log-progress --tf accept-ways man_made=...
1
vote
1
answer
20
views
Getting roads which are missing bike lanes using Overpass Turbo
I would like to extract roads which are missing bike lanes so that I can map them with Photo Mapping software. With my query below, I am able to fetch roads which are missing the cycleway tag. ...
1
vote
1
answer
143
views
How to extract country borders as vector data from OpenStreetMap?
I want to download country borders as vector data from OpenStreetMap. The best would be in a common vector geodata format like GeoJSON that can be used e.g. in QGIS. I there a simple way to do this?
1
vote
0
answers
46
views
How do I define landuse & postalcode for massive data?
I have a PostgreSQL table named points where I store nearly 5.6 million rows of my ping data from a ride-hailing service for AI research purposes. Some of its fields are latitude, longitude, landuse, ...
1
vote
2
answers
159
views
Add vector OSM XYZ layer in QGIS?
Marble has an option to display OSM's vector map. Is there a way to add this vector map into QGIS?
I see the raster XYZ URL format is:
https://tile.openstreetmap.org/{z}/{x}/{y}.png
Is there a ...
0
votes
0
answers
51
views
Google Maps analogue of QuickOSM / Overpass?
Is there a Google Maps analogue of QGIS's QuickOSM plugin? I would like to download data from Google Maps, similarly to how Overpass gets data from OSM, using a Google Maps API key.
0
votes
0
answers
38
views
Login and edit OSM in QGIS?
Is there a way (e.g., with a plugin) to log into my OpenStreetMap account within QGIS and edit maps there?
0
votes
1
answer
47
views
How to extract also a zip code with Overpass turbo?
I use this code in Overpass turbo:
[out:csv(comune, ISTAT, name, highway, ::lat,::lon;false;";")][timeout:600];
//provincia da cui estrarre i dati
area[boundary=administrative]["...
0
votes
1
answer
28
views
ogr2ogr -where: match features from OSM PBF with unset "seasonal" field
I have an .osm.pbf file from Geofabrik and want to extract all lakes that are not seasonal or intermittent to an SHP file, using ogr2ogr. I am currently using the following command:
ogr2ogr -where &...
0
votes
0
answers
78
views
Selecting polygon based on value present in field using QGIS Graphical modeler
I have a layer (polygons) of municipalities and I need to select just one polygon based on their name (e.g. 'venice' this value is present as a value in the field "COMUNE" ) because this ...
1
vote
2
answers
103
views
Overpass Turbo query for all ocean entities
I'm looking for an overpass turbo query that gives me all (salt) water entities.
Currently, this is my query (using the overpass web interface):
[out:json][timeout:25];
(
node["place"=&...
0
votes
0
answers
17
views
Filtering OpenStreetMap 3d buildings in ArcGIS Pro
I am trying to display the 3d buildings in a city and I am using the Open street map 3D Buildings from ArcGIS Living Atlas. When I load it into my 3D scene, I see all the buildings outside my desired ...
1
vote
1
answer
61
views
Model Designer - Available Algorithms
Is it possible to add an algorithm from the Processing Toolbox to the list of available algorithms in the Model Designer? Looking at the question HERE, I see that they are in the designer and are ...
3
votes
1
answer
50
views
Simple OSM Raw Query Filter
I have a simple raw OSM query that I am using in QGIS model designer (Build Raw Query):
[out:xml] [timeout:25];
(
node["highway"]( {{bbox}});
node["building"]( {{bbox}})...
1
vote
0
answers
64
views
Extract topology into a TIFF file
I want to extract the topology of the island is Hawai'i but when I try to do it, I get simply and empty rectangle:
I opened OSM in XYZ tiles and press the right mouse button on the layer of OSM ...
2
votes
1
answer
43
views
Download every nth node overpass turbo
I would like to download OSM Data of admin borders and highways for a very large area. This would produce a very large file and is way too much for the osm overpass (I used overpass turbo but am happy ...
0
votes
0
answers
27
views
How to obtain a lower-complexity version of OpenStreetMap?
I would like to make a simple fieldwork map that displays sampling locations with respect to some specific highlighted areas (using polygons). I would like to do this on a relatively simple map that ...
0
votes
0
answers
25
views
OSM tile server: Arabic fonts are not displaying
I installed OSM tile server with a whole planet. All the fonts are displaying except for Arabic countries. Although my font directory has some Arabic fonts too. How to fix this?
1
vote
1
answer
102
views
City Suburbs Polygon using OSMNX
I am trying to do something similar to the question OSMNX - City Suburbs Polygons. The city of Panama, in the Republic of Panama, is composed of corregimientos (like a borough). I am trying to get the ...
0
votes
1
answer
92
views
Retrieve data about a place given its name and bbox
I'm given the following output from the Google Maps API regarding a specific place (Toronto, in this case):
{
"html_attributions": [],
"result": {
"...
0
votes
1
answer
94
views
ogr2ogr skipping rows when converting from osm.pbf to gpkg
I am downloading an osm.pbf file from the Geofabrik download server and running the following command:
ogr2ogr -f GPKG norcal-latest-multipolygons.gpkg norcal-latest.osm.pbf -sql "SELECT * FROM ...
0
votes
1
answer
26
views
Getting an error for a polygon using Overpy, Overpass Turbo flashes an error but I cannot see what the problem is
I was wondering if anyone could help. I am running a Python program that has to check a couple of hundred polygons to see how many buildings they contain, 95% are polygons are processed fine and seem ...
1
vote
1
answer
117
views
Overpass Turbo query to fetch data given name and coordinates?
I have a list of tourist attractions, each with the name of the attraction, its address, and its coordinates (lat/long).
How can I query Overpass Turbo to accurately return data about these ...
1
vote
1
answer
208
views
Select more than one area using Overpass API
There are different ways to define search areas using Overpass API.
For example:
Geocode area
[out:json][timeout:25];
{{geocodeArea:Bonn}};
node[tourism=hotel](area);
out body;
>;
out skel qt;
...
0
votes
1
answer
76
views
Use Overpass API to output different tag counts as CSV
I want to create CSV data with different OpenStreetMap tag counts for selected cities using Overpass API. Unfortunately, the "Counting Objects" section of the Overpass API Documentation is ...
0
votes
0
answers
27
views
Overpass error: open64
Whenever I run any query using the OSM plugin via QGIS, I get the following error:
Overpass error: open64: 2 No such file or directory /srv/overpass/db/area_tags_local.bin File_Blocks::File_Blocks::1
...
1
vote
2
answers
128
views
Export GeoJSON from overpass-turbo not working when querying administrative boundaries
I'm trying to get some administrative boundaries,and in the map it shows correctly, but when I try to export the result as GeoJSON nothing happens- also no error message or so. Seems that something is ...
0
votes
0
answers
55
views
Finding appropriate osmfilter syntax for city, state/province, and postal code mappings for geocoding
I have a goal of running a Nominatim instance that's capable of geocoding at the city / postal code level.
My understanding (which could be wrong since I'm pretty new to OSM data) is that I can filter ...
0
votes
0
answers
47
views
Getting nodes OSMIDs using Valhalla locate
I need to map-match my nodes to OSMID ways using Valhalla's 'locate' API. It works fine except one thing: it counts the 'percent_along' value, but doesn't mention which node it counts this value from (...
0
votes
0
answers
195
views
Configure OSM Data for ArcGIS Pro Network Analysis
I want to create a Network Dataset in ArcGIS Pro using OSM data downloaded and prepared using osmnx and python. My code is quite crude, but works so far. However, I am now transitioning to using it ...
0
votes
0
answers
24
views
In osm2pgsql flex output, many road types I retrieve are highway: construction? How do I find what road type they are?
I am using pgosm-flex to load in the OpenStreetMap OSM files for many files. I then passed in many (latitude,longitude) points to get the nearest road type to those points. The query works, but the ...
-1
votes
1
answer
60
views
QGIS Open Street Map plugin metadata
I am trying to use an old map I made in QGIS which has a base map from Open Street Map (OSM)
To credit OSM in my paper/chapter I need to find the date or at least the year of the OSM data,
OSM wiki ...