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
15 views

Best framework to render .osm files [closed]

I'm building an application that will retrieve from backend an .osm file and I need to render it at my Android/iOS application while offline. I tried using mapsforge (Android only) and Mapbox but I ...
3
votes
1answer
59 views

Filtering OSM natural peaks in QGIS

The primary source of data for a map that I'm making in QGIS 3.14 QGIS 3.20 is OSM. There is a layer which contains natural peaks, obtained with a natural=peak query. In order to reduce clutter, I'd ...
2
votes
1answer
59 views

ogr2ogr Warning 1: layer names ignored in combination with -sql

When I run ogr2ogr command to export some specific polygons from .osm.pbf file, downloaded from OSM, I get an error Warning 1: layer names ignored in combination with -sql. I use -sql tag to get get ...
2
votes
1answer
40 views

How to load OSM highway values in QGIS

I want to extract the rest areas along highways using quick OSM in QGIS. But I'm facing an issue that there is no value for rest_area. Does anyone else have this problem?
0
votes
0answers
26 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
42 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
22 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
29 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
0answers
37 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
94 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
21 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
22 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
23 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
32 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
19 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
33 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
42 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
35 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 ...
-1
votes
0answers
13 views

Extracting openstreetmap Populated places using OsmSharp

I'm trying to extract Populated places from OSM data using OsmSharp in particular alternate name tags and there language code. Using the GitHub samples I've written the code bellow this is in the ...
0
votes
0answers
16 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 ...
0
votes
0answers
13 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 ...
-1
votes
0answers
16 views

Where can I download historical data from OpenStreetMap? [duplicate]

Where can I download historical data from OpenStreetMap? (2005-2010)
1
vote
2answers
39 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
26 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
71 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
33 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
10 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
11 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
18 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
64 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
24 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
0answers
25 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
49 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
13 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
19 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
27 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
84 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
28 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
15 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
25 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
149 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
47 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
16 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
22 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
49 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
17 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
23 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 ...

1
2 3 4 5
58