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

Osm2pgsql data dump in specific schema not working

While using osm2pgsql 1.6 i am trying to dump PBF into specific schema of postgres DB using following commands using docker. (i am setting database properties in docker env) docker run -v /mnt/ne-...
user avatar
0 votes
0 answers
15 views

How to resolve conflicts to replace deleted elements

Initial Goal: My initial goal was to download an area from OSM using JOSM, run the JOSM validator on the area, and fix all errors and warnings that it reported. Background: I downloaded an area from ...
user avatar
  • 1
0 votes
0 answers
21 views

Overlay callout to empty space on map

Is it possible to make a callout on the Overlay / box to place on map it outside the coordinates, so that we use an empty space to place the overlay. This is because if we have several overlay ...
user avatar
  • 1
0 votes
0 answers
18 views

OSM missing water in Atlantic City

Is there a better data source for water polygons for Atlantic City than Geofabrik? I'm using QGIS and there are some large amounts of water areas missing in Atlantic City when compared to Google Maps ...
user avatar
0 votes
0 answers
12 views

Getting a list of buildings in a city using OSM data [closed]

I would like to get all the buildings with their coordinates (latitude and longitude) and address (street, house number). I already uploaded data from OSM to PostgreSQL database, but couldn't get my ...
user avatar
0 votes
0 answers
16 views

Conversion of map from one format to another [closed]

I have been developing maps having .osm format for a long time. But due to some reason i wanted to convert the .osm format which i have been working on to .mvm format map. (.mvm(maps with me) is a ...
user avatar
0 votes
0 answers
21 views

Using OpenStreetMap with routing in android app instead of Google Maps API [closed]

For a cause, we are developing an Android Application where users from their current location need to visit the target locations (Point A to Point B) using direction API from OSM in the android app, ...
user avatar
0 votes
1 answer
19 views

Get coordinates of .pbf/.osm of ways and relations directly?

Is there a tool for pbf or osm files so that I can see the coordinates of ways and relations directly? Currently ways have only references to nodes. So if I want to have the coordinates of a way, I ...
user avatar
0 votes
0 answers
29 views

Convert gpkg to OSM using ogr2ogr

I tried converting .osm file to .gpkg file and it works just fine, like this: $ ogr2ogr output2.gpkg somefile.osm 0...10...20...30...40...50...60...70...80...90...100 - done. but when I reverse it ...
user avatar
  • 680
0 votes
0 answers
9 views

Osmium how to extract building heights

The documentation mentions, there should be building height present in the building data. However when I extract building data from global north american osm.pbf dataset, there is no such information. ...
user avatar
  • 159
0 votes
1 answer
34 views

Generating a bounding box for leaflet is inaccurate

I am trying to generate a bounding box for an image with Leaflet, based upon 3 criteria: Starting Latitude and Longitude (the center of the bounding box) My value for this is 38.9761, -77.4875 ...
user avatar
0 votes
0 answers
14 views

How to calculate distance to the nearest river(s) given an elevation(s) in R [closed]

I have elevation points for my study sites and would like to calculate the distance to the nearest river for each site. I tried to download reduced river raster masks via this link (https://osmdata....
user avatar
0 votes
0 answers
15 views

How can I smoothly move a marker (Feature) from one location to another with OpenLayers?

I want to move a marker (a Feature object) from one location to another with animation. So I don't want the location pops up from one place to another, because it's not userfriendly. What I hope to ...
user avatar
0 votes
1 answer
22 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 ...
user avatar
1 vote
1 answer
41 views

Extract (electrified) railways for Germany from OSM

I need to get all railways in Germany, specifically the electrified ones, for an university project. I found two ways of getting the data. Download the all the OSM data for a the desired region via. ...
user avatar
  • 43
0 votes
0 answers
21 views

How do I drop pins/markers for hundreds of points and display them on a map (OpenStreetMap)

How can I import a list of 100 locations (addresses stored in a line-delimited file) and display them all on a map? I have the names of 100 towns/cities across a country. I have no idea where they are....
user avatar
0 votes
0 answers
12 views

Merging OSC files into one using osmium

I am trying to create PBF out of thousands of OSC files using osmium. I have written a bash script for doing this task using jenkins. I am merging all OSC files into one master OSC files Then ...
user avatar
3 votes
1 answer
54 views

What's the correct mapconfig.xml to import railways with osm2pgrouting

I am trying to create a railway router using pgRouting with OSM data. My aim is to do it on the planet scale but I've been having some issues so I am trying to solve these issues on a smaller data set ...
user avatar
  • 83
3 votes
1 answer
59 views

OSM - Why source tag not exported?

I noticed that downloaded osm data do not have the source tag displayed in openstreetmap query: For example: https://www.openstreetmap.org/way/95462202 Once extracted as .pbf or .bz2 from Geofabrik ...
user avatar
0 votes
0 answers
21 views

Overpass turbo query - OSM Cities in CSV with tags

I'm trying to run an Overpass turbo query of OpenStreetMaps Cities that will return the cities as CSV data with several fields (columns). I'm currently able to get these fields: Latitude, Longitude, ...
user avatar
  • 1
0 votes
1 answer
28 views

How to extract complete information from QuickOSM

I am trying to extract information from Quick OSM about the electricity grid in my country. As a key in QuickOSM I enter power, but the information I receive is not complete. On the map I see that ...
user avatar
-1 votes
0 answers
90 views

Vector tiles for commercial project [closed]

I need vector tiles for a commercial project. There is an option here https://data.maptiler.com/downloads/planet/ - but 4k is too much for me. Are there any cheaper(or free) vector tiles that I could ...
user avatar
  • 131
0 votes
1 answer
21 views

Trying to make vector line data into a polygon in QGIS

I am using Open Street Maps in QGIS to make a map. I have generated "highways" or streets to find all the streets are vector lines. I am trying to add a width to each line/street and have an ...
user avatar
0 votes
0 answers
25 views

OSM - Associate every node to the city it belongs to

I am trying to retreive all cities, boroughs, suburbs, quarters,neighbourhoods,towns and villages in "Ile de France" region. I downloaded ile-de-france-latest.osm.pbf from geofabrik. I am ...
user avatar
  • 1
4 votes
1 answer
109 views

Convert bytea to geometry column with PostGIS

I am trying to create a geometry column from bytea. I imported OSM data using ogr2ogr using the command ogr2ogr -f PostgreSQL -nln bahamas_multipolygon PG:"dbname=openstreetmap user=postgres ...
user avatar
0 votes
0 answers
32 views

Update OSM database failing

I'm trying to udapte a OSM database that I just imported. After following the steps https://ircama.github.io/osm-carto-tutorials/updating-data I don't manage to pass the first udpate. I always get the ...
user avatar
0 votes
0 answers
37 views

Display features OSM buildings

Using Leaflet, I've installed OSMBuildings, yet I'm unable to display buildings features although it's allowed on https://osmbuildings.org/ It seems like there is a latitude and longitude once we ...
user avatar
  • 1
0 votes
1 answer
28 views

OSMConvert - where to obtain package

I am trying to download the OSMConvert Linux package but it seems to have vanished. Does anyone have a reliable download link for either the Linux or MacOS versions.
user avatar
  • 19
1 vote
1 answer
63 views

Toggle dark mode on and off using on and un in OpenLayers

I made this codepen where I am setting a style to a layer on an event listener. My question is simply how can I programmatically toggle the styling on and off since my attempts to unlisten to the ...
user avatar
  • 11
0 votes
0 answers
19 views

OpenStreetMap nominatim - administrative

I am trying to search for the following only "city, suburbs, states, country" I don't want to query train stations, or in this case My query is the following https://nominatim.openstreetmap....
user avatar
2 votes
1 answer
81 views

Applying filter on local OSM PBF file

Because I sometimes need to work without an internet connection, I use OpenStreetMap data by downloading regional data from https://download.geofabrik.de/ as "Australia_latest.osm.pbf", then ...
user avatar
0 votes
1 answer
31 views

Overpass API return different results between Overpass Turbo export and wget

I need to get from OSM all all nodes in the bounding box, all ways referring to any of these nodes, all member nodes of these ways whether these are inside the bounding box or not, all relations that ...
user avatar
  • 503
0 votes
1 answer
52 views

Infinite run after adding osm service in a map content and using the paint method of the StreamingRenderer class

When I add osm service in a mapContent mapContent.addLayer(new AsyncTileLayer(new OSMService("Mapnik", "http://tile.openstreetmap.org/"))); Then when I use the paint method of ...
user avatar
1 vote
0 answers
27 views

How to get relations filtering by way member attributes with Overpass API?

I need to use Overpass API to get route relations with abandoned railways, that's to say relations with tag route=railway whose way members have tag railway=abandoned. I tried the following request: [...
user avatar
0 votes
0 answers
28 views

Overlaying GeoJSON linestring file Over a GeoJSON polygon and an OSM standard

I am trying to Overlay a LineString layer over a polygon layer on QGIS and an OSM standard layer, such that the LineString called speeds... would be seen on the polygon layer and on the map. At the ...
user avatar
2 votes
2 answers
219 views

OSM Overpass query along track from QGIS

Is there a way to do an Overpass query along a track (from GPX generated vector layer)? I want to get some features on and around a river.
user avatar
  • 21
1 vote
0 answers
81 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 /* ...
user avatar
0 votes
1 answer
32 views

Download OpenStreetMap relation data as shapefiles

I've identified this OpenStreetMap link which contains OSM's relationship id. I understand that there is download the data as xml with this link, and it returns the ref attributes. How do I proceed to ...
user avatar
  • 680
0 votes
0 answers
7 views

Finding the shortest path length between two coordinates using pgRouting [duplicate]

Given two pairs of latitude and longitude, how can I find the length of the shortest path, traveled by car? Following the instructions and tutorials from OpenStreetMap, pgRouting, osm2pgsql, ...
user avatar
  • 111
0 votes
0 answers
28 views

Fast osm.pbf to graph in data.frame format

I'm trying to build a graph from a osm file (large ones, continent sized). I can do this with R by using osmextract which gives me sf lines, and then doing some data wrangling. However, this is ...
user avatar
0 votes
1 answer
23 views

After pgr_createTopology, how should I use pgr_dijkstra?

Using the OpenStreetMap data and osm2pgsql, I created a topology by using the pgr_createTopology() function. These tables are what I have: List of relations Schema | ...
user avatar
  • 111
2 votes
1 answer
68 views

Modifying openstreetmap-carto style to preference English labels

I have a working local OSM tile renderer (courtesy the kind people at switch2osm for the instructions). I'd like it to render labels in English where available, falling back to the local name if there ...
user avatar
  • 12.5k
0 votes
2 answers
101 views

Distance between two points on OSM without routing information

I need to find the distance between multiple points following roads on OSM. I am aware of routing software like OSRM. However, this is not a useful solution for me (at least the alternatives I've ...
user avatar
1 vote
1 answer
136 views

Osm2pgsql error: authentication method 10 not supported

I'm getting the following error when trying to import osm data using osm2pgsql. I just installed pgAdmin4 today so it should all be up to date. osm2pgsql version 0.92.0 (64 bit id space) pgAdmin4 ...
user avatar
  • 710
2 votes
1 answer
53 views

Getting osm_id from random point with OpenStreetMap database

I've downloaded the OpenStreetMap data from GeoFabrik and imported it into PostgreSQL as described in the first procedures on this page. The import was successful. After that, I found a way of ...
user avatar
  • 1,031
2 votes
2 answers
35 views

Issue with extracting certain OSM features using Overpass Turbo and QGIS

When I extract certain features from OSM using either overpass turbo or QGIS - for example: pubs, the data is either point feature (pub) or polygon (building). Showing the polygons is slightly ...
user avatar
  • 21
0 votes
0 answers
26 views

Commercial data Enhanced with OpenStreetMap point locations Derivative or Collective Work?

I have looked over the following: What are OpenStreetMap license requirements? OpenStreetMap content in commercial applications https://wiki.openstreetmap.org/wiki/License/Use_Cases#Case_4:...
user avatar
  • 448
2 votes
1 answer
44 views

OSM pbf from Geofabrik call with bounding box

I want to use a limited area within a geofabrik dataset. I am wondering if I can use a wget call with a boundig box limitation. e.g. something like this. wget http://download.geofabrik.de/europe/...
user avatar
1 vote
1 answer
86 views

Read and head data from Geofabrik OSM

I am trying to read and head all the data from geofabrik specific country using this code: from pyrosm import OSM, get_data df = get_data("country_name") df.head() But I am getting this ...
user avatar
  • 11
1 vote
0 answers
124 views

Constructing query in Nominatim

I wonder how to construct the structured query URL for the OSM Nominatim? According to the documentation, one can use the free-form-query or the structured-query. This is the base url https://...
user avatar
  • 3,017

1
2 3 4 5
61