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

Overpass turbo delivers no data and no errors

I am trying to use overpass-turbo.eu to get all relations for public transport in a set bounding box. I used to work with this query: <osm-script output="xml" timeout="25"> ...
3
votes
2answers
99 views

Getting the value of OSM tag contained in the 'other_tag' field using PyQGIS

I got my data from OSM and a lot of metadata is stored in field "other_tags", which is in itself an HSTORE key/value field. For instance, my "other_tags" contains a key voltage ...
1
vote
0answers
34 views

Using -limit tag with ogr2ogr and -where takes too long

I am running some ogr2ogr commands to extract some data from OSM dataset. Since I don't want to extract all features of some condition because I can't see them all and is takes too long I am trying to ...
1
vote
0answers
18 views

OSRM Isochrone - straight/square edges

I am calculating 1 hour cycling distance using osrmIsochrone in R and Docker. I have noticed that the polygons have square/straight edges. (see below example) Increasing the res even to high values (...
0
votes
1answer
25 views

WMS layer not visible while clicking Leaflet's grouped basemap layers

I have a webpage that adds Geoserver's WMS layer to the OSM basemap and also provide GetFeatureInfo on map click. The webpage works fine. The code was adapted from here. For the sake of tidiness, I am ...
0
votes
1answer
18 views

Filtering out parts of a relation on osm2pgsql import

Is there any way with osm2pgsql to filter out members of a relation during the import phase, based upon the tags of the member? My use case is that I want to gather a set of road cycling relations, ...
-1
votes
1answer
28 views

Getting US Congressional district code by latitude and longitude OR user address

How can I get US Congressional District code by latitude and longitude OR user address? I have already downloaded Congressional district shapefile from Census files.
0
votes
0answers
21 views

Path Distance Allocation tool in ArcGIS Pro, How to infer if source is a road network?

From what I understand, the tool, given a source like a point on map will give the least to highest cost to travel from that point throughout the raster. If my understanding is right, now If I give a ...
0
votes
0answers
15 views

Import only Point features with osm2pgsql | Import only certain Tags of point features with osm2pgsql

I am very new osm2pqsgl. I have downloaded a osm.pbf file for all of Europe and I want to add this data to my Postgres database. However, I am only interested in points, no linestrings nor polygon, ...
0
votes
0answers
11 views

Using Osmosis library to query data from a PBF file

I know that it's possible to read (crosby.binary.osmosis.OsmosisReader) and write (crosby.binary.osmosis.OsmosisSerializer) a PBF file using the Osmosis library. My question is if it's possible using ...
1
vote
1answer
27 views

Converting OpenStreetMap.org protocolbuffer files into GDF 3.0 files using FME Desktop

I'm, trying to convert .osm.pbf files into GDF 3.0 files. I really need the GDF files because my tooling cannot accept anything else. I've contacted Safe because I wasn't getting an GDF file output, ...
1
vote
1answer
23 views

Removing a certain region from a pbf file

I have a PBF file from the complete planet and I want to insert that data into a PostGIS database. However, I would like to exclude a certain region, e.g. all data that belongs to the islands of Japan....
0
votes
1answer
44 views

Overpass API: retrieve all buildings that contain indoor data

As the title says, I want to get all build features (nwr[building]) where there is indoor data (nwr[indoor]) available for them. My starting point for this search would be like this one: [out:json];(...
0
votes
0answers
23 views

renderd outputting logs to stdout

I'm running mod_tile/renderd and apache in a docker container with supervisord. I'm starting renderd with "/usr/bin/renderd -f" but I don't see any log output in stdout besides the initial ...
2
votes
1answer
22 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
16 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 ...
1
vote
1answer
16 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
52 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 ...
-1
votes
2answers
52 views

Seeking API for Rail-route distance [closed]

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
40 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
50 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
38 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
49 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, ...
2
votes
1answer
48 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
14 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
46 views

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

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 this one (but in kilometers), I ...
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
28 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 ...
0
votes
1answer
25 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 ...
0
votes
0answers
105 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
88 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 ...
0
votes
0answers
16 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
67 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
34 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
61 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
74 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
50 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
66 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
30 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
105 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
155 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
69 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
94 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
25 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
377 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 ...
0
votes
0answers
57 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
36 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
31 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
2 3 4 5
59