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
3 answers
78 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 ...
0 votes
0 answers
6 views

Get OSM node ids from linestring in geopandas

I have to following GeoDataframe (shortened to reduce complexity. In real life this contains data for whole contries) original_id highway node_ids ...
0 votes
2 answers
946 views

Simplifying Ways in OpenStreetMap Data

Is there a (current) best practice to simplify ways? I have found: https://github.com/podolsir/osmosis-simplifyways But besides not being alive, here (http://permalink.gmane.org/gmane.comp.gis....
1 vote
1 answer
911 views

How to display multiple markers at different positions on OSM5 using JavaScript

I fetched longitude and latitude from DB and saved it in a 2D array. I pass the array to the JS file. I'm using JavaScript to loop the array and display the markers with their icons. Each marker has a ...
0 votes
1 answer
442 views

How to rotate marker or feature with OpenLayers?

I managed to add markers as Feature objects in a Vector layer. I can simply move the markers to its new locations by using Feature.setGeometry() method. Next thing is to change the marker's direction ...
0 votes
0 answers
11 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 ...
4 votes
2 answers
2k views

How can I create an adapter between the ArcGIS REST interface and WMS or TMS?

I'm trying to use imagery available via the ArcGIS REST tile cache interface, however the tool I'm using, JOSM, only supports WMS or TMS. In addition the data from the ArcGIS server is in a "special" ...
0 votes
1 answer
108 views

Creating a map of only a specific region with OpenStreetMap

I am very new to QGIS and I am having trouble figuring out how to only show part of the map. I added an OpenStreetMap layer but I can't figure out how to only display a certain area. I only want to ...
1 vote
1 answer
548 views

Setting Dark Mode for WMS in QGIS

I want to implement a OSM into QGIS via an WMS service. We see that this is easy, right? I thought so too. In my case I want to implement a night mode map, like you would find in Google Maps when you ...
0 votes
0 answers
16 views

Assign landcover and altitude data to coordinates [closed]

I am trying to pair landcover and altitude data to specific latitudes and longitudes, and was wondering if there is some kind of API doing this job in Python. Ideally, I would like to obtain a set of ...
2 votes
1 answer
43 views

Create polygon around specific OSM tags

I have a OSM file (http://download.geofabrik.de/europe/malta-latest.osm.pbf). I am only interested in data that are around ramps (motorway_link,trunk_link,primary_link,secondary_link,tertiary_link) as ...
1 vote
1 answer
155 views

Troubles translating own OSM server tile to English (ubuntu 18.04)

I have created a OSM tile server using the https://switch2osm.github.io/ tutorial for ubuntu 18.04 with great success but no matter what I cannot display the map labels in English only, I have tried ...
0 votes
1 answer
173 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 ...
0 votes
0 answers
273 views

Getting Details of POI

I am pretty new with this so please bear with me. I am able to extract GeoJSON data from OSM and Load it into MongoDB. I am able to run queries to get the data based on Radius. The data looks ...
0 votes
1 answer
32 views

Filtering OpenInfraMap vector tiles by layer name in QGIS

When I load the OpenInfraMap vector tile service in QGIS 3.28.1 (https://openinframap.org/tiles/{z}/{x}/{y}.pbf), how can I filter the data by layer name? OpenInfraMap uses different layers as we can ...
2 votes
1 answer
350 views

Overpass Turbo: how to get public transport routes and stops with stop names?

I am searching metro and tram routes and stops, example Bilbao. With overpass turbo wizard on https://overpass-turbo.eu , I use type=route and route=tram or type=route and route=subway to create /* ...
4 votes
2 answers
16k views

Replace Navteq maps by a free one in a car built-in GPS

My car (Opel Zafira) have a built-in GPS with Navteq maps (SD 900 NAVI). I wonder if it would be possible to update or upgrade the maps to an open source / free maps (like OSM). Or is it possible ...
3 votes
1 answer
1k views

How to add labels parallel to lines, polylines or multilines using Leaflet?

I want to add road name parellel to its line or if the line is curved, then the label should also be curved. How to add these name labels using leaflet? example image
1 vote
1 answer
111 views

QGIS 3.10 how to remove colour from a background layer

I am using QGIS 3.10 and would like to produce a layout map with a white background. I tried the proprieties option by right clicking on the base map layer. In the symbology tab I was able to turn the ...
2 votes
1 answer
519 views

nominatim api for long streets

I'm using the Nominatim API in geojson method to retrieve streets poly line. For short streets I have no issue and the results are good. However for long streets the data I'm getting back in the ...
1 vote
0 answers
14 views

Find intersection between highways and GeoJSON polygon

I have a GeoJSON which shows an area like so: There are some highways, crossing this GeoJSON. I need to output the coordinates of each highway entering and exiting this polygon with Python. First, I ...
0 votes
0 answers
22 views

Export all food supply points in 500m around gpx track as waypoints

I'm planning a bikepacking trip for next year and as preperation I would like to get a list of all places where I can resupply food. I figured I could use Overpass API (https://overpass-turbo.eu/) ...
1 vote
1 answer
233 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','...
0 votes
1 answer
102 views

QGIS OSM baselayer zoom level on print layout size A1 [duplicate]

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 ...
1 vote
0 answers
33 views

How to display locally stored raster tiles with zoom levels in MapServer

I am completely new to GIS. I am having trouble showing raster tiles from QGIS on MapServer. My goal is to have zoom level tiles shown as basemap on MapServer, on which then I can display features ...
0 votes
0 answers
33 views

Layers with same coordinates not lining up - EPSG:4326 - WGS 84 - for Trentino in Italy

It's been a while that I've been noticing that the layers don't line up with open street maps, although I've always been setting the same coordinate system. The coordinate system is EPSG:4326 - WGS 84....
0 votes
0 answers
14 views

pgr_nodeNetwork doesnt put nodes on every intersection

I used the osmnx python package to get OSM roads network. I intended to use pgr_createTopology to have a correct network in order to use other pgrounting functions. However my data from osm is not ...
1 vote
0 answers
24 views

Use Basemap in Alternate CRS Webmap

I am attempting to utilize an OSM basemap for an Arctic-projection web map that views the Earth with the North Pole as the center of the map. Specifically, a North Pole Azimuthal Equidistant is the ...
0 votes
0 answers
13 views

What's the proper way to get the Floor information of buildings from overpass API?

I have been using overpass API to get building information. Not all the buildings in the OSM database have levels and height tags. What could be the proper way to get the floor information of ...
0 votes
0 answers
18 views

Export QGIS project a PBF

I'm trying to export a QGIS project as a osm.pbf file to serve it later with this repo. I've read this question but it has no answers. Any clue?
2 votes
0 answers
74 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
0 answers
37 views

Understand OSRM trip source and destination parameters

I'm having difficulties to understand OSRM api trip outputs with the parameters source and destinations. I find the output reasonable when i set: The source to first and the destination to any, where ...
1 vote
0 answers
24 views

OSM: get residentials blogs, i.e. polygons enclosed by roads

I'm trying to get a list of blocks / residential neighbourhoods via OSM. For many cities the whole town is tagged with a single landuse=residential. What I want is, for a given bounding box: get all ...
1 vote
1 answer
41 views

Label size in OSM tiles

I'm just curious if someone can display OSM with larger labels in QGIS. I know tiles are built on the server, and this is likely a showstopper. The layer source is https://tile.openstreetmap.org/{z}/{...
2 votes
1 answer
146 views

Using if statement with evaluators in Overpass

I am trying to query all the nodes which are in Potsdam city and with postcode 14480. I know that it can be coded as follows: area["ISO3166-1"="DE"][admin_level=2]->.germany;...
0 votes
1 answer
168 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
1 answer
199 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 ...
1 vote
1 answer
459 views

Extract nodes and edges as road network from osm.pbf file with python

I have downloaded the israël's osm.pbf file from geofabrik. I want to extract the road network's country, which means a list of edges between two nodes ids. For a such tiny country, this list should ...
1 vote
1 answer
119 views

OpenStreetMap pbf files- extracts all street/roads intersections in a bounding box

I wrote a query which extracts all street/roads intersections in a bounding box from OpenStreetMaps, as can be seen here: <osm-script> <query type="way" into="hw"> ...
9 votes
2 answers
800 views

Missing roads from OpenStreetMap data with osmosis

I am currently trying to extract road networks from OpenStreetMap dumps downloaded on Geofabrik. I am using the following osmosis (version 0.45) command to extract roads: osmosis \ --rbf input.osm....
1 vote
1 answer
45 views

How to find parks using PostGIS

I have OSM data imported with osm2psql that contain 4 tables planet_osm_line planet_osm_point planet_osm_polygon planet_osm_roads I want to pass a set of lat long to check if there is any park on the ...
0 votes
0 answers
15 views

Is it possible to correct TIGER data responsible for geocoding?

Lots of backstory for this one, I promise I'll get to the title question eventually, scroll to the bottom if you don't want to read the leadup. Also, I'd post pictures and addresses for clarity but ...
29 votes
5 answers
17k views

Is there an opensource way of making 'streetview' panoramas?

I'm interested in making streetview panoramas and am curious if there are any opensource approaches that I should consider for both making and publishing these panoramas. I've been playing with the ...
1 vote
0 answers
967 views

using openlayers 3 and three.js to use openlayers 3 map as texture

I am trying to use Openlayers 3 along with three.js to use openlayers output map as texture. I found that openlayers 3 is webgl based and so is three.js. So they must be compatible. What I have done ...
0 votes
1 answer
445 views

Extract Certain Elements from Global OSM Database

The goal is to find all waterways in Open Street Maps globally. This is the equivalent for a random area in China in overpass turbo. Instead of doing it for this bounded area, I want to query ...
1 vote
1 answer
127 views

What does independently decodable mean in the context of the OSM PBF Format?

The primitive blocks of the OSM PBF Format are stated to be independently decodable. What should be the extent of this property? For example, should all the nodes referenced by a way be stored in ...
3 votes
3 answers
2k views

Print City Map in High Resolution with TileMill (OSM Data)

I'm rather beginner in Print Map and GIS. I'd like to print the map of my little city using the data in OpenStreetMap. I've got an environment(local) with OSM DataBase and I'm using TileMill to ...
0 votes
1 answer
26 views

OpenStreetMap - Overpass API; geometry disappears from node when using center

Here's my query [out:json][timeout:25]; // gather results ( // query part for: “building” way["building"]({{bbox}}); relation["building"]({{bbox}}); ); // print results out ...
3 votes
1 answer
40 views

How to import a very big geometry with ogr2ogr

I am downloading and importing all countries geometries from OpenStreetMap, processing the files with osmtogeojson and importing into PostgreSQL with ogr2ogr. However, Taiwan is retrieved with a very ...
2 votes
1 answer
788 views

OpenLayers Scale Line not showing on the map

I am trying to generate a scale line on my map using ScaleLine but it is not showing on the map. //Scale import {defaults as defaultControls, ScaleLine} from 'ol/control'; map = new Map({ ...

1
2 3 4 5
62