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
0answers
91 views

Transforming to NED coordinate system

I’m working with a map that I've downloaded from OSM (EPSG:4326, using geopandas). Ideally, I would like to convert to a locally predefined NED (North-Ease-Down)/ENU(East-North-Up) coordinate system ...
1
vote
1answer
114 views

How to get all "harbours" (nodes and polygon) out of osm.pbf

I downloaded the germany.osm.pbf from geofabrik and would like to extract all the harbours. I did that already for points by using ogr2ogr: ogr2ogr -f "GPKG" -where "harbour IN ('yes','...
1
vote
0answers
33 views

Issue with creating sub graphs from Los Angeles County graph

I am trying to extract a subgraph using networkx ego_graph function from Los Angeles County graph. When i plot this graph and compare it with graph generated from graph_from_point (which looks correct)...
1
vote
1answer
74 views

Problem of marker click with Leaflet

I am new using Leaflet with R studio and I have a problem ou both Leaflet markers and map_marker click . The first problem is that , when I put addCircleMarkers in the observer in doesn't work while ...
1
vote
1answer
74 views

Exporting QGIS project using qgis2web

I am trying to export my QGIS project using the QGIS2WEB extension. I selected the OpenStreetMap but nothing shows up except for the points I made. Do you have any idea why that was the case?
5
votes
1answer
172 views

Render Roads in QGIS using z-order like in OpenStreetMap

I am using QGIS with OpenStreetMap data and I am trying to copy the way OpenStreetMap renders the order of their roads using the 'z-order' field. I am very close, I managed to use the layer properties ...
1
vote
1answer
27 views

QGIS OSM baselayer zoom level on print layout size A1

I am using an offline OSM baselayer map in QGIS and prepared a printlayout map size A1. Scale is 160000. When I have the map on 100% in the printlayout I can read the names of the cities and smaller ...
3
votes
1answer
25 views

OpenStreetMap river boundaries cannot be queried

I'm trying to download the river banks polygons from a region from OSM, using overpass API; when I try to query the river feature it doesn't appear in the results tab, neither as Neighbor feature or ...
0
votes
0answers
30 views

Accuracy of Quality Assurance tools for OSM

Is there a reference on how accurate QA tools for OSM are? I'm specifically interested in OSMCha's precision and recall, or any other available metrics, but references to any other QA tools would work....
1
vote
1answer
285 views

Calculate zoom level given lat long area (slippy map)

I am wanting to calculate the zoom level for a given lat/long area. I am using the OSM/GE slippy map "standard" tile system. The post below answers my question but requires the viewing ...
0
votes
1answer
62 views

Overpass API results in empty map

I am wondering why this API request gives an empty map: https://overpass-api.de/api/map?bbox=-0.7438,50.8940,0.4810,52.1190 If i use a smaller bbox it seems giving back a map.I could not find any ...
1
vote
1answer
50 views

Download drawn shapefile from OSM

What is the best way to download a drawn polygon from Open Street Maps such as https://www.openstreetmap.org/way/438407238#map=13/50.7733/6.1079 with the goal of obtaining a shapefile?
0
votes
1answer
154 views

Rendering Google Maps tiles in Leaflet (offline)

I have Google Maps tiles on my computer in a folder. I want to use it offline in Leaflet. Actually, Leaflet use by a link to load the map like below: L.tileLayer('https://{s}.tile.openstreetmap....
2
votes
1answer
113 views

How do I change the buffer units from degrees to meters for my CSV layer in CRS EPSG 4326? [duplicate]

I'm trying to add a buffer to a CSV layer, in QGIS, which is overlaid onto an OpenStreetMap layer but I do not know how to change the units from degrees to meters. I've tried to change the CRS to EPSG ...
0
votes
0answers
41 views

Mapping/Snapping GPS Tracks to Roads

I'm trying to build an application where GPS tracks should be mapped / snapped to OSM roads. My goal is to be able to determine the percentage of a road network in a certain area that was covered by ...
1
vote
0answers
89 views

OpenStreetMap create Network Dataset Error: Error Exception from HRESULT: 0x80040353

I am trying to use the OSM Toolbox in ArcMap 10.8.1 to create a network dataset from downloaded OpenStreetMap Data. Here is the methodology I used. Downloaded us-south-latest.osm from geofabrik Load ...
2
votes
2answers
100 views

Where to get city boundaries without sea area as a geometry polygon?

I am using OpenStreetMap's Nominatim to find out boundary geometry of single cities: Helsinki That polygon however contains the sea area and I would like to exclude that. So where could I get city ...
1
vote
0answers
38 views

OSM tile server -- too many highway labels

I'm running a local OSM tile server. I've combined three pbfs (three neighboring states) using osmconvert, then loaded them into postgis database: osm2pgsql --slim -d gis --hstore --multi-geometry --...
2
votes
1answer
145 views

QGIS 3.18 - Divide Polygons to smaller ones/clusters with each one having x number of points

I have a polygon-layer with the boundaries of a district. I want to divide this polygon into several smaller polygons with each polygon having x number of buildings. To do so, I added another (...
0
votes
2answers
232 views

Exporting GeoJSON from Overpass API [closed]

I am trying to export coordinates of way that I found. https://overpass-turbo.eu/s/17Ne But when I click export/ as GeoJSON I don't get coordinates in downloaded file. How can I do this? Even though ...
0
votes
0answers
15 views

Extract Road Network from OSM

I am new to OSM. I wonder what a "relation" is in an OSM file. Is it a road segment? In addition, I want to convert an OSM file to the following form: s_1, t_1, lat_s_1, lng_s_1, lat_t_1, ...
0
votes
1answer
18 views

Opening OSM bbox file in gzip

I have downloaded the following OSM bbox file: https://overpass-api.de/api/map?bbox=-105.32,39.95,-105.2,40.08 And want to use it to find all points of interests. My teacher have given me the ...
0
votes
1answer
58 views

osm2pgrouting how to configure mapconfig.xml file

I need to customize mapconfig.xml file. I have to do bike routing so I start with mapconfig_for_bicycles.xml https://github.com/pgRouting/osm2pgrouting/blob/master/mapconfig_for_bicycles.xml This ...
0
votes
0answers
18 views

How to get street information from latitude and longitude

How can I get street details from particular longitude and latitude? Is that particular street highway/city street ? How can I get this particular information?
1
vote
0answers
137 views

Export canvas with jspdf returns black map PDF

I built a basic webmap interface with some vector layers and basemaps (eg. openstreetmap) in OpenLayers. When I try to export the canvas with jspdf, the corresponding pdf-file shows a completely black ...
0
votes
1answer
65 views

OSM Buildings - problem adding .obj file

I've started playing with OSM Buildings, have modified an example. I am unable to display a custom object I'm downloading using map.addOBJ The script downloads the .obj and .mtl files from the ...
0
votes
1answer
74 views

How to query by Node ID in esy.osm.pbf

I've written the following Python code to query airports in Greater London: osm = esy.osm.pbf.File('/Users/michael.nares/Downloads/greater-london-latest.osm.pbf') airports = [entry for entry in osm if ...
3
votes
1answer
72 views

Meaning of different elements of delivered json-Data-Structure when geocoding with Python and OpenStreetMap

I'm trying to do some geocoding in Python with the library geocoder and OpenStreetMap: import geocoder g = geocoder.osm('11 Wall Street, New York') print(g.json) Where can I get information about the ...
2
votes
1answer
28 views

Using sDNA to analyze the network downloaded from OSM, do we need to merge the network first?

In the road network downloaded from OSM, each road is divided into small sections. I would like to know whether I need to merge the sections of the road network of the same road into a complete road ...
0
votes
0answers
32 views

Symbolize OSM Data Tool - ArcMap Error - The data necessary to complete this operation is not yet available

I am receiving an error using the ArcMap Symbolize OSM Data tool and I cannot figure out the cause. It seems to run flawlessly on the symbolize portion, then on Executing (Combine Layers): ...
1
vote
0answers
31 views

Obtaining road information from route

I need to obtain information (road surface typology, max speed limit etc.) on all the roads that make my route, from A to B. The inputs of my problem will be waypoints, obtained by GPS coordinates. I ...
2
votes
1answer
521 views

Retrieving OpenStreetMap data with Python using GeoJSON geometry as boundary [closed]

I'd like to : Select OSM map from a polygon geometry defined by a .geojson file Extract data (ex : parks area, building height,...) included in the geometry Any idea?
0
votes
1answer
47 views

Exporting the data in pbf format, which is imported using osm2pgsql tool

I have imported the pbf data to postgres using osm2pgsql. osm2pgsql -U postgres -W -d osmdbv4 --output-pgsql-schema=db_snapshot --latlong -H localhost -C 20480 --middle-schema=db_snapshot -S default....
0
votes
1answer
16 views

Add Attributes to OpenStreetMap Data in ESRI that was already Loaded?

I followed some instructions to load OpenStreetMap Data into a geodatabase for our companies footprint using the "Load OSM Data" in the OpenStreetMap Toolbox for ArcMap. My end goal was to ...
0
votes
0answers
39 views

How to get the Lat/Lon of a <way> from a PBF file?

I'm working with a PBF file and I'm interested in getting each <way> tag alongside the coordinates of each subnode of the way. Here's what information I'm working with and how I'd like to ...
3
votes
2answers
157 views

Is there an effective way to display integrate 50+ old 1:50,000 maps into public mapping tools such as Google Maps?

Some context: These are Dutch colonial maps of Indonesia from about 1910-1930 At the time there were limited roads and often villages were in the middle of the jungle and have since been abandoned. ...
2
votes
0answers
49 views

Converting a QGIS project to a PBF file

I have a QGIS project with 3 layers: OpenStreetMap layer Polygon representing a specified area on the map Lines representing streets in that area on the map How do I convert this project to an ...
0
votes
1answer
92 views

Download all coffe-shop locations in Italy from OSM. Stuck with Qgis, R and geofabrik

I wanted to download all café locations from OSM in Italy. I tried various ways and one of them was in qgis. I used the awesome quickosm-plugin and did the following: But it always fails with a ...
1
vote
0answers
19 views

QGIS clipping OpenStreetMap but still being able to run functions such as ORS Tools on the layer [duplicate]

I have struggled to find a solution to be able to clip an OpenStreetMap (OSM) raster layer but still run functions using plugins such as ORS Tools. I would like to clip OSM with an overlaying vector ...
1
vote
0answers
62 views

Loading intersections consolidated graphs

To get the right connected components, I projected a graph then use osmnx.simplification.consolidate_intersections to consolidate intersections. import osmnx as ox import pandas as pd import networkx ...
1
vote
1answer
156 views

Extract administrative boundaries with physical borders at the coast line from OSM data

I successfully downloaded the OSM data from https://www.geofabrik.de/ and converted the .osm.pbf file to a .gpkg using og2ogr. Now I want to extract administrative boundaries using DB-Manager and SQL: ...
1
vote
0answers
15 views

Isolating islands within a network (using QNEAT3)?

I’ve run into a bit of a pickle. I’m attempting to isolate “islands” within a large OSM-derived network. I’m interested in highlighting areas where the network cant connect too. This of course ...
0
votes
0answers
21 views

Drawing maps from OSM data, with arbitrary rotation, & custom placename text

I would like to use OSM physical geography data, rotated by an arbitrary amount, and with custom placenames. In an ideal world, I would do this in a web browser. What would be a good process and set ...
0
votes
0answers
29 views

OSM filter on road display

I'm new to OSM. I'm building my own OSM Server (I'm using : https://github.com/gravitystorm/openstreetmap-carto), I would like to know how to display only roads on the map (remove the buildings, water ...
0
votes
0answers
493 views

How to show 3D building with Leaflet

How can I use Leaflet and OpenStreetMap to display 3D buildings for free? I find same scripts but needs API key or access token. Who already has a script to show 3D map Leaflet using open source? i ...
0
votes
0answers
20 views

Extending local copy of OpenStreetMap

I know there is a way to download a local copy of OSM. I would like to be able to create a second instance of that copy, and to modify the second instance (adding planned roads, etc). Quick Googling ...
0
votes
0answers
32 views

How to import existing geojson data to osm and append custom tag

I have a set of geojson data where a route was recorded by a person in a wheelchair. The route goes on existing paths that were already created in OSM. How could I import this data into OSM so it will ...
2
votes
1answer
122 views

How to extract unique values from .pbf file with GDAL

I would like GDAL to return the unique values in a column. Reproducible example: wget https://github.com/ropensci/osmextract/raw/master/inst/its-example.osm.pbf ogrinfo its-example.osm.pbf ogrinfo ...
1
vote
0answers
80 views

Credit attribution and use of basemap

I am using a basemap (http://basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png) in QGIS to draw a map for a scientific paper. I am trying to understand who is the "owner" of this map and ...
2
votes
1answer
107 views

PostGIS VS Overpass: is it possible to get this PostGIS query faster? Query mistake?

I'm trying to get all the road data within a boundary and to load this data into R. I compared Overpass vs PostGIS and PostGIS at least for me was a magnitude slower. It is 116.322 sec vs. 7.937 sec : ...

1 2
3
4 5
59