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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

Cannot find QuickOSM plugin in QGIS 3.28

I have the same issue as described in this quesion: Can't find QuickOSM plugin in Qgis, but in a newer version (3.28). The top bar of my QGIS looks like this: The answer to the previously asked ...
2 votes
1 answer
24 views

Retrieve relations using specific coordinates in an overpass query

I'm new to Overpass API. I would like to make a query that retrieves the relations on natural=water using specific coordinates. I tried the following query: ( way["natural"="water&...
  • 23
0 votes
0 answers
13 views

Using Overpass to find intersections with 3 or more links

I'm trying to find all the intersections (nodes) with 3 or more links (ways) in an area as an indicator for walkability. Complete beginner to the Overpass API and this has me pretty stumped. OSM ...
  • 1
0 votes
1 answer
34 views

How to build a 3D model of a building without height attributes?

I have a building from .osm file: <way id="85272711" visible="true" version="6" changeset="82733303" timestamp="2020-03-27T20:56:51Z" user="...
  • 1
1 vote
0 answers
24 views

osmconvert bounding box not working

I am trying to get specific city extracts from a european.osm.pbf file using osmosis or osmconvert and am instead outputting files with practically no relation to the boundng polygon at all. The ...
  • 43
1 vote
0 answers
22 views

Find area id related to one city in a specific country on overpass-turbo

I am using flutter to get some points from overpass-turbo. This is my query : [out:json][timeout:25]; {{geocodeArea:armenia.yerevan}}->.searchArea; ( node["amenity"="pub"](...
1 vote
1 answer
32 views

Join polygon footprint to a dataset that contains the central points of buildings

I have polygon information of all buildings in a city in file geodatabase format (.gdb). I have another dataset stored in CSV format that contains latitude and longitude information on the centers of ...
1 vote
0 answers
18 views

How to get all streets from pbf for one city using SQL?

I have a file russia-latest.osm.pbf, which is imported into postgreSQL in default form and with hstore support. For example, I get a list of all cities, where the population is more than 200 000 ...
  • 11
0 votes
0 answers
20 views

How to create geometries with multiple outer polygons in mosaic

I am using Databricks Mosaic, where I am parsing an OSM PBF file and trying to convert it into spatial geom types [line, point, polygon, etc.]. I am able to process the relation having one outer ...
2 votes
2 answers
67 views

Preprocessing OSM for Valhalla Meili

I'm a complete noob when it comes to OpenStreetMap and open-source map matching. I want the collective wisdom of more experienced user to evaluate whether a certain approach is doable. I'll first ...
0 votes
1 answer
26 views

1,195,017,281 Nodes loaded for US Dataset (Load OSM File Tool), building indexes for 2 weeks, Is this normal

Downloaded the OSM file from Geofabrik for the United States I have the Nodes loaded, but the "Building Point indexes" has been going on for two weeks, and there is no real way to see if it ...
  • 505
-1 votes
0 answers
34 views

Zoom level issue in OSM tile server image

I have a proprietary data that I have converted into OSM format and then rendering tiles from it through osm tile server image. The tiles have been generated successfully, but the thing is the max ...
0 votes
0 answers
21 views

How to use turn:lanes in osm to find lane connectivity on intersection

In osm, Way A has nodes [n1, n2] Way B has nodes [n2, n3] Way C has nodes [n3, n4] Way D has nodes [n4, n5] coordinates - 1.28657, 103.8452 Way A has traffic "turn:lanes"=>"left|...
0 votes
0 answers
19 views

Get next and previous way from osm_id

I'm new to Overpass API and I need an Overpass QL query that gets a way of type highway by osm_id and also gets the previous and the next way. By previous way I mean all ways with type highway whose ...
2 votes
1 answer
42 views

Extracting relations with osmnx?

I am using osmnx package https://osmnx.readthedocs.io/en/stable/osmnx.html to extract data from OSM. I aim to obtain relations from the cyclist node network in Flanders. After some info about tagging, ...
0 votes
1 answer
16 views

Osmosis merge UTF-8 encoding issue

I am trying to merge together two .osm XML files using Osmosis from CLI. In the XML files there is some public transport data (like bus stops) and some of them have an apostrophe (') in their name (as ...
1 vote
0 answers
17 views

Assure one multiple dataframes stays inside the other one

Code used: import matplotlib.pyplot as plt import networkx as nx import osmnx as ox import geopandas as gpd area = ox.geocode_to_gdf("Trafaria, Portugal") tags_substation = {'power': '...
  • 131
1 vote
0 answers
211 views

ArcGIS Editor for OSM, 10.8.x Desktop

Ran install successfully and created the OSM Toolbox but when download data give me error invalid. I am using ArcMap 10.8.2 with Background Processing
1 vote
1 answer
40 views

gdal.VectorTranslateOptions options-Parameter

I want to convert all lines from a .osm-File to a geojson with the gdal Python API. My Code so far: from osgeo import gdal from osgeo import ogr gdal.UseExceptions() srcds = gdal.OpenEx("infile....
3 votes
1 answer
76 views

Why do certain features from Geofabrik's OSM extract seem to be missing?

I would like to have all objects from OpenStreetMap with the Tag:man_made=works (ie factories), in Estonia. I can do this using QGIS, but another method using GeoFabrik's OSM extract fails. QGIS way ...
1 vote
1 answer
24 views

ogr2ogr output missing some relations

I'm trying to extract data from planet.osm.pbf with osmium and ogr2ogr as a CSV file. However some relations seem to be missing in the output. For example, this relation doesn't show up as a ...
  • 111
1 vote
1 answer
32 views

OpenStreetMap data OSMOSIS and MySQL - make faster?

How can I make dumping .osm data into a MySQL database faster using Osmosis? Currently 3 hours so far for the USA file but MySQL is only using 10-15 percent CPU, 10 percent RAM and HD is negligible (...
  • 11
3 votes
2 answers
64 views

MMQGIS Geocoder: Japanese addresses not being geocoded

I have a handful of Japanese addresses, and not one of them are being geocoded in the latest version of QGIS (v. 3.22). It's probably because I'm not typing them in correctly. That being said, how ...
  • 836
0 votes
1 answer
57 views

QGIS2Web - OSM and one WMS layer disappear when zoomed

I've created a nice map for my work. However, the two layers, both important to me, disappear when zoomed in enough. One layer (WMS) disappears at 1:500 while the OSM layer at around 1:300. I would ...
3 votes
1 answer
40 views

Cutsom ST_Multisplit function returning more than one split line. How to only return one line split at various points?

I Have a modified version of the function from How to ST_Split features in one table by features in another? CREATE OR REPLACE FUNCTION ST_Multi Split(geom Geometry, blades Geometry) RETURNS Geometry ...
  • 75
1 vote
0 answers
59 views

Lua error when trying to extract OSRM data

I am using a newer MacBook Pro with a Silicon chip. Following the example here (https://github.com/stanfordfuturebay/osrm-local), I am trying to extract data downloaded from https://download.geofabrik....
  • 125
1 vote
0 answers
55 views

How to make button in Leaflet in Front of Map [closed]

I'm making a map using a leaflet. And, the button that i created cant in front of the map. How to make the button appear in front of the map? this code in JSX : <div className="bottom-0 right-...
0 votes
0 answers
41 views

Overpass Turbo print individual roadsegment lat long pairs

I have an Overpass Turbo query like this: [out:json][timeout:25]; // gather results ( way["highway"]({{bbox}}); ); // print results out ids geom; node(w); way[highway](bn); out geom; >; ...
  • 101
0 votes
1 answer
55 views

QGIS 3.28 - How to display overlapping OSM polygons?

With OSM Polygons, smaller poylgons may be hidden by larger polygons. In particular, it happens with LandUse polygons overlap Building polygons. Is there any way to display consistently 'smaller' ...
0 votes
0 answers
32 views

How to convert shapefile geo-cordinates to a specific location with 3 reference geo-cordinates?

What I have is multi-layer drawing file for a locality in India; with help of a conversion utility got a working Shape-files of it. Issue is original drawing file is not Geo-coordinated hence Shape ...
2 votes
1 answer
55 views

Iteratively passing variables containing polygons to Overpass API to count buildings

I am trying to count the number of buildings within a series of polygons using the Overpass API in Python. I have created a list of strings which contain the co-ordinates of the polygons and I iterate ...
0 votes
1 answer
40 views

QGIS 3.24.1 - in QuickOSM, how to import raw OSM into GeoPackage and select which tags to import?

With overpass-turbo, I made a query and exported a raw OSM file. In QGIS 3.24.1, I import this OSM file into GeoPackage using the OSM File menu in QuickOSM plugin. It works but it imports all tags and ...
0 votes
0 answers
201 views

OSM .pbf Files to Raster Mbtiles Format

I downloaded the osm.pbf files from planetosm and I am using them in an application which will work offline, I need to convert the osm.pbf file to raster mbtiles file, I want to do this for a specific ...
2 votes
0 answers
29 views

Open Trip Planner doesn't seem to be accounting for turn restrictions - editing local OSM pbfs for scenario planning

We've been attempting to use Open Trip Planner (1.5) to test the impact of various street-network scenarios that include new ways, traffic filtering and vehicle turning restrictions. We are manually ...
0 votes
0 answers
39 views

USA road restrictions in OSM from public state datasets

I understand that most of the data in OSM for USA is coming from TIGER. It seems that this doesn't have complete road key attributes such as speed limit, maximum weight, allowed / restricted turns, ...
  • 9
0 votes
0 answers
38 views

QgisQuickOSMPlugin - server replied: Too Many Requests; Model Designer, OSM, api-server

I am working on a QGis model that downloads OSM data via the overpass-api server. The needs for the model have gradually increased, which is why the error "Too Many Request" now appears more ...
1 vote
0 answers
51 views

Detect intersection nodes between different highway types

I have a postgres database with OSM data imported in it using osmosis. The import process created a ways table that has the following columns: id | version | user_id | tstamp | changeset_id | tags | ...
  • 21
1 vote
0 answers
55 views

PostGIS not using spatial index despite a pretty simple case [closed]

I have some spatial data from OpenStreetMap inside my PostgreSQL database. I am trying to force a situation where it would use a spatial index (which exists and was created on the the_geog field, ...
0 votes
1 answer
86 views

How to use remote openstreetmap osrm server for USA

How can I use a remote osrm server to calculate driving distances in the USA (or North America). If at all possible, I would really like to avoid having to set up my own local server. I am basing my ...
  • 125
3 votes
1 answer
106 views

Use PostGIS to get OSM tile coordinates covering a geometry linestring

I have a linestring in SRID 4326 in my table. I would like to know which tiles the linestring crosses regarding a zoom level on OpenStreetMap. The solution found here looks to come close. Use PostGIS ...
0 votes
0 answers
164 views

How to create squareGrid on leaflet map with turf.js grid and OSM data

I am a beginner in using leaflet map and turf.js and want to show square grid of the OSM data which I will fetch from OSM db. I saw multiple example of turf.js but did not find any perfect example as ...
  • 111
0 votes
2 answers
317 views

How to calculate the length and duration of trip for a GeoDataFrame of points on OpenStreetMap using OSMnX package?

I have a GeoDataFrame of GPS points and I want to calculate the length and duration of trip from each point to all other points. My input GeoDataFrame looks like this: id Longitude Latitude ...
  • 599
0 votes
1 answer
30 views

Generate a page on openstreetmap.org as a bounding box with markers

openstreetmap.org URLs are generated using a singular geolocation coordinate. Hoever, the goal is to generate a (pre-calculated) bounding box with 2-4 markers (geocoordinates) on the map. There are a ...
  • 257
0 votes
0 answers
32 views

Stuck at this step sudo make import-sql area=planet-latest

Following the indications found here: https://www.linuxbabe.com/ubuntu/basemap-tileserver-gl-openmaptiles-ubuntu-22-04 I'm trying to build the map of the entire world I first tried the whole process ...
  • 101
0 votes
1 answer
75 views

QGIS export OSM basemap to image has missing tiles?

When attempting to export OSM basemap as a tiff image the results show many tiles missing. My process is as follows: I load a rectangle polygon to serve as my mask I set the mask at a scale of 1:...
  • 183
1 vote
1 answer
136 views

GeoPandas: Split intersecting LineStrings and keep columns

I have a GeoDataFrame with data from Open Street Map. I want to split all intersecting streets but keep the columns from the original splitted way. Example I want to split the way with the id 4294200 ...
3 votes
1 answer
55 views

How to refer to a multiple similar hstore key in PostgreSQL?

I have OpenStreetMap data loaded to a PostgreSQL database. A hstore type column contains all of the key=value pairs. Some OSM keys have suffixes like name:en, name:de, name:hu etc.. I would like to ...
  • 501
1 vote
2 answers
59 views

Recursively Querying Ways/Nodes Within a Building

I'm trying to query nodes and ways with specific properties (e.g., amenity=toilets) that are located within a building. Modeling this using an around query does work to some extent: rel[wikidata=...
  • 113
0 votes
0 answers
103 views

Converting a Maputnik JSON style to a mapnik XML stylesheet

I have a Mapbox JSON map style generated by Maputnik, and I want to use it for an OpenStreetMap tile renderer with Mapnik. Is it possible to convert the JSON style to a XML stylesheet for Mapnik? I ...
1 vote
3 answers
164 views

GeoServer WMS is slow when using OpenLayers and OSM

I am new to GIS, and attempting to create a map with PostgreSQL/PostGIS,GeoServer, OpenLayers, and OSM data. I am only serving the NA continent, but it is taking approximately 20 seconds to render the ...

1
2 3 4 5
63