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
2
votes
1answer
20 views

OSM timestamp missing in SpatiaLite layer

I have downloaded and converted a geofabrik pbf file to a db file. When I open it as a SpatiaLite layer there is no timestamp for each feature. Is there a way to get this information or is it lost ...
0
votes
0answers
12 views

How to generate shapely.geomtery.polygon from GTFS feed

I want to generate a graph using osmnx.graph.graph_from_polygon method. It requires a shapely.geometry.polygon as an input. Using GTFS Feed, is it possible to generate the polygon. I am aware, it can ...
0
votes
1answer
8 views

Osmium and OSM: Remove a relation from .pbf map file

I am trying to use osmium to remove a relation from a .pbf file (specifically the Denmark extract from Geofabrik)1. The relation is part of a cycle network. I essentially want to calculate routing ...
0
votes
0answers
40 views

Finding shortest distance in km between ZIP code and nearest point at coast of Baltic Sea

I am trying to calculate the distance in km between a starting point in form of a ZIP code/ postal code (all located in Germany) and the nearest point at the coast line at both North Sea and the ...
0
votes
0answers
16 views

overpass turbo: get child node id's and "part of way" from ways query [closed]

Using overpass-turbo, I want to query some ways and get not only the lat/long of the way nodes, but the node id's and "part of way" info for each node. My simple query is here:https://...
-1
votes
2answers
23 views

Seeking API for Rail-route distance

I am new to GIS and looking for a way to get rail route distance between a given origin and destination set (available as names, or city center lat-long for widely used city pairs within europe). SO ...
2
votes
0answers
34 views

Extract shapefile from scanned PDF map using Open Street Map?

I am new to QGIS. I have a scanned PDF document containing maps of the Italian highway network development year by year from the 1920s to the 1990s (i.e. showing the pre-existent network in a given ...
0
votes
2answers
47 views

OpenStreetMap: find public transportation belonging to a road - Tools ot algorithm

I'd like to find the public transportation lines (bus, tramways) that operate on a particular road. Do you know any tool doing that? If not, do you know any algorithm doing that? The only generic ...
0
votes
1answer
25 views

Street blocks as polygons in OpenStreetMap

I want to convert OSM street blocks for a given area into polygons in QGIS (see image). I can of course manually draw lines with OSM as a base layer, and then convert these lines into polygons. ...
2
votes
0answers
43 views

Selecting polygons within other polygons in the same layer in QGIS

I am trying to filter out certain infrastructure from OSM data and convert everything to simple point layers using QGIS. I have an OSM shapefile containing polygons of schools. In many instances, ...
1
vote
1answer
39 views

Extract data from OSM

I would like to extract all the data that is coloured blue (water) from OSM for England. I'm doing this as I need a poylgon of the extents of inland waterways (Ordnance Survey don't hold this data). ...
0
votes
0answers
8 views

Serving supplemental layers from tileserver-gl

Maybe a multi part question, but essentially I have an existing self hosted tileserver-gl instance running to serve tiles to my webserver. I am trying to figure out the best way to display weather ...
1
vote
0answers
41 views

What does the coordinate values represent when using WGS 84 / Pseudo-Mercator (EPSG:3857)?

I'm fairly novice in using gis. I have been using QGIS for a couple of weeks now, mostly for data collection in my research project. Currently, I'm trying to plot these points, in a graph similar to ...
0
votes
0answers
13 views

Visualizing OpenStreetMap tiling scheme in ArcGIS Pro

OpenStreetMap uses a tiling scheme which is adapted to usual access patterns, as shown in the figure below. I would like to visualize it, as shown in the figure, in ArcGIS Pro. Any suggestions on how ...
1
vote
0answers
37 views

QGIS project out of alignment with OSM

I have a project with a CRS set to ESRI:102400. It contains an OpenStreetMap layer, added from XYZ Tiles, with a CRS of EPSG:3857. When I open the file in QGIS running on a Mac (Mac OS 10.15.7, QGIS 3....
1
vote
0answers
24 views

Shape width estimation from raster

I want to estimate the measurements of a shape present in a given raster image and I want to know what is the proper way of handling the measurement dependence on the projection. More specifically, I ...
-1
votes
0answers
18 views

How to generate a SVG map for a given bounding box?

I found a map like this one online: https://mega.nz/file/Vwt2kZIR#HaFD_2C3W0C4RB7smUP-c1VfxbIKiO-lfaAJO_Uh7L4 It contains basic geographical data (probably filtered), it's weight is "only" 1....
0
votes
1answer
20 views

QGIS Zoom full problem on WMS layer

I have a project in QGIS with an online OSM WMS layer and some other vector layers. When I click on zoom full, it zoom outs so that the whole world is shown through OSM WMS layer. Is there an option ...
-1
votes
0answers
27 views

Processing OSM data down to PNG tiles

I'm looking for a tool that will do the following. Open the entirety or some subset of the OSM planet file Allow definition of features on a per-level basis Style individual features (really ...
0
votes
0answers
70 views

Use Overpass API to Extract data from OSM within a bbox

I'm trying to extract only some data via Overpass API inside of specific box (By Coordinates).when i use this code via Overpass I'm getting Overpass Query: ( way[landuse](40.0627513928,-2.1478584892,...
0
votes
2answers
28 views

Pre Rendering tile using render_list command is extremely slow

I have created a OSM tile serving server using osm2pgsql with entire asia tiles. I am using Ubuntu 18.04, 32 CPU cores, 132 GB RAM, 1 TB HDD. This I believe is a reasonable hardware. Now, I feel that ...
-1
votes
0answers
27 views

Get a street as polyline

Is there a way to get an array of lat/lng values for a polyline which represents a street? I am referring to this Google developer documentation: https://developers.google.com/maps/documentation/roads/...
0
votes
0answers
12 views

How to extract the details of a location from GPS coordinates and an OSM map

Given an OSM map, and coordinates lat=45.26769836188101, lon=-72.1570872153413 How can I know, whether these coordinates are in the wood or straight on a restaurant? Using osmosis and other OSM tool, ...
0
votes
0answers
33 views

OSM tile server "renderd" keeps using wrong user

I set up my machine to serve tiles following instructions on https://www.linuxbabe.com/ubuntu/openstreetmap-tile-server-ubuntu-20-04-osm. I am currently on Ubuntu 20.04.3 LTS. I imported the data into ...
1
vote
0answers
23 views

How to merge a GeoJSON and an OSM file into a single OSM file? I want to merge Microsoft buildings dataset into a single OSM file

I'm using a video game tool that can take OSM data and import it to Unity automatically. The issue is that OSM doesn't have a lot of buildings, so my game doesn't, either. I found the Microsoft ...
1
vote
2answers
40 views

Is there opensource data pipeline which can be used for updating vector tiles according to new commits?

We currently have different open source components like for Tile server->https://github.com/TileStache/TileStache Styling and rendering->https://github.com/mapbox/mapbox-gl-js OSM to Postgres ...
0
votes
1answer
41 views

Is OpenStreetMaps's Nominatim "Centre Point" the centroid and what EPSG is it?

I looked up a couple of places on OpenStreetMap's Nominatim, like Bruck an der Mur, and I could not confirm whether the reported coordinates are indeed the same thing as the centroid, and which EPSG ...
2
votes
1answer
42 views

Using ST_Transform() to get the length of a LineString using SRID 4326 returning very small numbers

I am using openmaptiles to convert OSM pbf files to mbtiles. I am testing a trail that is about 5 miles in length. In doing this, I am wanting to calculate the length of path using the following: ...
0
votes
1answer
54 views

Page becomes unresponsive

I created a html file using leaflet to add markers to leaflet map using csv data. For parsing csv data I used papaparse. I did the same thing with python folium too and saved the output to a file ...
1
vote
1answer
18 views

Remove some elements from way

I am passing osmosis with along the base parameters this additional option: --tf accept-nodes way=* With this I could filter only the <way...> nodes and the result is something like this: <...
1
vote
1answer
25 views

pgRouting ways table attributes description

I've imported an extract of OSM data for my region of interest to Postgresql using osm2pgrouting 2.3.6 in Linux, using mapconfig_for_cars.xml configuration file, and I've found that it created tables ...
1
vote
0answers
67 views

osm2pgsql get_way failed: server closed the connection unexpectedly

I'm trying to import OSM Europe to postgresql under Debian. If I am importing only e.g. Czech Republic, then import is successful. But if I try to import Europe then I always got an warnings and error:...
0
votes
1answer
115 views

OpenStreetMap and WMS basemaps not visible using QGIS

I'm trying to import either OSM (from XYZ tiles) or a WMS as a basemap. While my shapefiles map just fine, neither the OSM nor the WMS basemap appears in the window despite appearing in the legend. ...
1
vote
0answers
49 views

Remove default OpenStreetMap tile layer in Leaflet - Folium?

I have multiple maps in my Folium map (map1 and map2) however, I see OpenStreetMap as the default option. I want to remove the OSM option altogether and keep just my two custom layers. If I set tiles ...
2
votes
1answer
81 views

Quick OSM is giving bad request

I used Quick OSM a few weeks ago, in QGIS, but now every time I run a quick Query I get Bad request Overpass API, even on the project it was working on previously. I have tried all different Keys, ...
0
votes
0answers
20 views

How to convert style.json to Mapnik XML

I need to convert a style with JSON format to Stylesheet XML (in Mapnik). is it a way that I can do that? I want to create a custom style map and render it from the OSM (OpenStreetMap) server using ...
5
votes
1answer
348 views

Saving huge detailed map with background into TIFF for printing size A0

How to export a huge map in A0 format size, with visible background image without loss in details? (street names and house numbers should be visible) Parameters of the network I want to export for ...
-1
votes
1answer
32 views

Overview of possibilities to download spatial data in R [closed]

I was searching for a site that kind of lists resources/packages/etc on how to download a wide variety of geospatial data. For example Political Boundaries (e.g. fro Natural Earth with the ...
0
votes
0answers
35 views

QGIS giving GDAL raster provider error, but I'm only opening vector data

I have a .osm file from openstreetmap, so XML. If I add it to my QGIS project by choosing "Add vector layer" it works well, I get 5 vector layers on the map (lines, multilines, multipolygons,...
0
votes
1answer
35 views

How do I return GPS Coordinates for specific street signs in Toronto?

I need help returning all GPS Coordinates for street signs in Canada. I used Mapillary to find the locations of these signs but the zoom is too small and it doesn't return any GPS Coordinates. It just ...
2
votes
0answers
29 views

How is roadway geometry stored/represented in OSM files? [closed]

I am interested in solving some questions for which I would like to extract only roadway geometry from some OpenStreetMaps (OSM) files. (As an aside, I'll eventually represent the data as a adjacency ...
1
vote
0answers
47 views

Using OSMOSIS to extract multipolygon data from .pbf file

To update my database I need to extract some data from the OSM database. To do it I have downloaded the osm *.pbf file from the website of GEOFABRIK. From this PBF file I wish to extract all the ...
2
votes
1answer
66 views

Getting OSM features by ID at a version number

The lava flow from the eruption in the Canary Islands is being shown on OpenStreetMap. It has OSM ID 13249829 and is being updated, and various revisions are in OSM, as can be seen via this API call: ...
2
votes
0answers
24 views

osmosis --used-node keyword does not grab all relevant nodes

I am trying to filter an osm.pbf file using osmosis. The following is my filter: osmosis --read-pbf-fast metadata-unfiltered.osm.pbf workers=8 --tf accept-ways <placeholder> --tf reject-...
1
vote
0answers
29 views

How to set wall texture in osmbuilding-leaflet?

I'm working with osmbuilding-leaflet to render 3D features on map but there is a problem. After rendering features wall of buildings doesn't have texture. But in the basic osmbuilding library wall ...
1
vote
1answer
56 views

How to use selector keyword in overpass API to get all water bodies?

After installing non-default libraries in Google Colab: %%shell pip install OSMPythonTools pip install geopandas and importing useful libraries: from OSMPythonTools.overpass import ...
0
votes
1answer
29 views

Very Slow OSM Tile Rendering

I have built my own OSM server of North America using switch2osm's Ubuntu 20.04 guide and all went well. Except when it comes to rendering tiles...or pre-rendering. Here is the most recent completed ...
1
vote
2answers
34 views

osm2pgsql-flex output: Lua dependecies 'dkjson' under windows10

I'am using PostgrSQL 12 on a windows 10 machine. I need to import .pbf-files from OSM. I have a lua-script using the dkjson package: local json = require('dkjson') However if I use osm2pgsql it gives ...
1
vote
1answer
20 views

Change TileServer in pgAdmin used by geometry viewer

Having exhausted other search options, I was hoping someone might know of a way to change the pgAdmin geometry viewer default tile server? It tries to bring up the OSM one, but we are behind a ...
0
votes
1answer
106 views

Extracting building footprint from OSM or Satellite imagery using QGIS [closed]

I am trying to extract the building footprints from satellite imagery or from OSM using QGIS. In ArcGIS it is a straightforward task however, I don't know how to do it in QGIS. I need to recognize the ...

1
2 3 4 5
59