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

How to “compile” ways and relations from OSM Planet

I need to get political boundaries, house polygons and some other data from OSM. To do that I downloaded OSM Planet dump, converted it into .pbf format (cause its fast and doesn't take a lot of space)....
0
votes
0answers
8 views

Overpass Python module query for a way, returns valid response but empty LineString coordinates field

I use the following query with Overpass Python module, for getting the features of a road in overpass turbo: [out:json] [timeout:25] ; ( node["name"="John F Foran Freeway"]; way["name"="John F ...
1
vote
0answers
21 views

OSMIUM deleted column conflict with OSM

The following code used to extract the data from a history file. import osmium class CounterHandler(osmium.SimpleHandler): def __init__(self): osmium.SimpleHandler.__init__(self) ...
1
vote
0answers
47 views

OSM-File manipulation in QGIS

I´m having some trouble manipulating an osm-file I downloaded from geofabrik.de. For each street in the lines-layer I need to fill the missing "name" tags with the "ref" attribute listed under "other ...
1
vote
1answer
32 views

Evaluation and rectification of addesses after geocoding

I am working on the geocoding of patient addresses for a public health organization. We use the Normatim (OpenStreetMap) and Google APIs. With the Google service there is no problem so far, but it ...
2
votes
1answer
36 views

Download data from OpenStreetMap that is not in English gives wrongs characters

I have download data from OSM from Israel area but whenever I open the data in QGIS I am getting wrong characters and it doesn´t show Hebrew, even though on OSM it does show it in Hebrew. I know there ...
1
vote
1answer
36 views

How to get the bounding box (MultiPolygon) of a geographic region?

I need to execute a BigQuery database query whereby I'm trying to ascertain if a given lat, lon coordinate is within one of a few US counties. One of those counties is Collin County in Texas, shown ...
1
vote
1answer
22 views

GDAL failing to recognize OSM pbf file

I'm using the GDAL .Net library to open a PBF file I've downloaded from the GeoFabrik website. The file opens fine in QGIS. However when I call the Gdal.Open method on the file, it throws an ...
1
vote
1answer
57 views

How to reproject raster image from WGS84/Pseudo-Mercator to ECEF to ENU in python? [closed]

I am new to GIS and I am writing a program that should work with a cartesian coordinate system, ENU. Therefore my plan is convert all point coordinates from WGS84/Pseudo-Mercator to ECEF and then to ...
0
votes
0answers
25 views

Are OSM tiles Cartesian at small scale? [duplicate]

I am new to GIS and I want to know if OSM tiles can be taken as a Cartesian reference system at small scale and at which scale this approximation breaks down? For example if I have an OSM map tile of ...
0
votes
2answers
35 views

Area size in OpenStreetMap

Given an area id, is there a way to get size of this area from Overpass API? For instance, I would like to know how many square kilometers New York has.
1
vote
1answer
21 views

Importing road graph from OSM file

What I want to do: I want to get road graph (ways and their relations) from OSM file to write my own routing program. What I tried to do: I tried to use OSMtoRoadGraph, but it returns me a ...
0
votes
0answers
14 views

Extract ways and corresponding nodes from .json file of OSM and save to CSV

I fetched the highways data from turbo overpass API, and save the result in json file. OSM json has very nested document structure. I want to get the ways and their corresponding node IDs from json ...
0
votes
0answers
20 views

Extracting OSM file from overpass turbo query

I'm working on SUMO project and I am trying to use only motorways. So I used http://overpass-turbo.eu/ to select it. I need to export an OSM file from the overpass query contaning just the motorways. ...
1
vote
0answers
21 views

Receiving corresponding OSM raster tiles of .tfw files

I have a bunch of handdrawn map plans, referenced with .tfw files, and I need their corresponding geographical map of that exact part of the world as a raster image to compare to. With the solutions ...
2
votes
2answers
28 views

Overpass API query: Get streets in city limited to a particular country

I am working with a self-installed version of the Overpass API. I need to be able to query all street names in a particular city, Inverness in the United Kingdom (GB). There is also a city called ...
0
votes
1answer
32 views

Using name keys in OpenStreetMap

When contributing to OpenStreetMap one can set a general ("default") name as well as further language specific names (e.g. name:de). Example: name Joe's Guesthouse name:en Joe's Guesthouse name:de ...
1
vote
0answers
38 views

QGIS 3.10 open data source manager: How to load XYZ tiles

I have a thunderforest background map for my project for which I had not given an API key. I now want to publish some maps and need to add the key to remove the overlay. The problem is that I can't ...
1
vote
1answer
54 views

Failure connecting to API - Geocoding using MMQGIS

I'm very new to GIS and am trying to geocode a list of addresses of some OpenData in QGIS using MMQGIS....however when I go to run MMQGIS Geocode function with my .csv. I keep getting this error and ...
0
votes
0answers
12 views

Osmosis read history

osmosis --rbf D:\downloads\history-latest.osm.pbf --bounding-box top=35.835521 left=51.087711 bottom=35.553874 right=51.626053 --rdc readFullHistory=yes --wb D:\downloads\history-latestCl.osm.pbf I ...
0
votes
0answers
43 views

How can I see a more detailed map without enlarging it?

The map on the left shows Madrid on mapiful.com. You can see it with the lines and details. The map on the right is mine with QGIS and the OpenStreetMap TONER style. As you can see, the OSM map is ...
1
vote
0answers
15 views

Retrieving new data in the layer [closed]

I am solving the way of writing data to KML file using OpenLayers in map application. I want to ask if OpenLayers can insert new coordinates into a layer after 2 seconds, for example. So far I have ...
0
votes
0answers
47 views

Integrate Leaflet / OpenStreetMap autocomplete functionality to an existing search form on a WordPress template

I am trying to add the autocomplete functionality similar to what you have here https://community.algolia.com/places/examples.html#advanced to the search form in my website. Unfortunately there are no ...
0
votes
0answers
25 views

Download OSM tiles footprints as a layer

Is it possible to download a shape layer (or similar) with the OSM tile bounds from somewhere? Not the actual tiles, but only their polygon representations (for example-some area have about n tiles in ...
-1
votes
1answer
33 views

Seeking open source software or python packages to create orthomosaic and DEM image from UAV images [closed]

I would like to analyse UAV 2D images to create 3D point cloud, DES, and orthomosaic image. Can you suggest or mention some open source software or python packages?
1
vote
1answer
28 views

OpenStreetMap (OSM) Relation ID from Wikidata

I'm working on a map render application and I would need to have the relation ID of OpenStreetMap from the Wikidata ID in order to download the GeoJSON file. I have made some search and found a good ...
0
votes
0answers
26 views

Extremely slow Nominatim install with Docker

I am trying to install Nominatim based off of a dockerized version of the tool found here: https://github.com/mediagis/nominatim-docker. I was successful with installing dockerised Nominatim with a ...
1
vote
0answers
57 views

Extracting physical islands from a DEM

I am working on a project on islands in inland waters in Europe. In the first step I was sorting to large point layers which I got from a state office, trying to identify only points lying on such ...
0
votes
1answer
63 views

OpenStreetMap data extraction [closed]

How can I extract all buildings, blocks, polygon features from OpenStreetMap? I used OSMDownloader and QuickOSM QGIS plugin to download geospatial data for Saudi Arabia region. I was able to download ...
0
votes
1answer
25 views

Reading large PBF file with GDAL [closed]

I'm trying to use GDAL to read-in a large .pbf file containing OSM data for London. The problem is that ogrinfo returns an error message, Too many features have accumulated ... as shown in the ...
1
vote
0answers
21 views

OSMNX KeyError when trying to compute edge_centrality on a graph composition

Context: I am trying to merge several different graphs (some sharing nodes with others) downloaded from openstreetmap using omsmx. While storing these different graphs in a list, I use the nx....
2
votes
1answer
66 views

OSM + PostgreSQL Queries

I'm newbie to PostGIS and am looking for some SQL examples for better understanding. I didn't understand how do I manipulate the tables, how objects relate one to another. An example: There is this ...
0
votes
0answers
24 views

Problem with osm2pgsql

I'm having a problem importing a .pbf file in PostgreSQL using the osm2pgsql. I've downloaded the italy-latest.osm.pbf and as I do every year I'm going to upload it in PostgreSQL. I did it for other ...
2
votes
1answer
77 views

EPSG 3857 vs UTM coordinate

I am trying to understand the difference between the two coordinates system. By so far I grasp that EPSG:3857 is used for a web-based map like Google Maps, OpenStreetMap. I am getting a position (in ...
0
votes
2answers
43 views

Using multilingual names in OpenStreetMap

In OpenStreetMap one can set building names for each building. Available is for example: name as default name and name:de for its German translation. Example: name Italian Restaurant name:de ...
0
votes
0answers
18 views

OsmConvert cannot merge multiple maps

I use osmconvert tool to merge maps. This tool merges 3 maps correctly, however if I merge 16 maps, then I see the following error: osmconvert Error: could not get 183500800 bytes of memory This ...
1
vote
1answer
45 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
vote
0answers
50 views

Get Corresponding OSM Node IDS from list of Lat,Long (CSV): Map Matching

I have a list of (lat,lng) coordinates. I want to map match them and get their corresponding OSM node ids? How can i do that using OSRM or any other map matching algorithm?
0
votes
0answers
38 views

{'code': 'NoMatch'} OSRM API: What does it mean? And how can I avoid it?

I have RAW GPS trackers data, when I match those GPS coordinates to nearest NodeID, it gives me the No Match Error. I am using the following code snippet: import requests url = 'http://router....
0
votes
1answer
35 views

Exporting OpenStreetMap data to shapefile [duplicate]

I want to have river paths and Parks/natural/Landscape shapefiles in our region: https://www.openstreetmap.org/note/1070052#map=11/45.1259/38.4660&layers=CN How should I export this layer to a ...
0
votes
0answers
8 views

Retrieve changeset information in local OSM

I did setup sucessfully a Local OSM Website using Ruby on Rails and I need to create a rank of the users according to their quantity of contributions, like quantity of nodes and length of ways edited. ...
2
votes
0answers
32 views

MapProxy dosen't display certain uncached tiles

I face an unnormal behavior of MapProxy on client. The way of spatial data looks like: |PostgreSQL| --> |GeoServer|wms request| --> |seeding tiles|MapProxy|wmts request| -->|Fronend(OL6)| My seed....
0
votes
1answer
32 views

OpenStreetMap PBF file attributes

I have a large OpenStreetMap .pbf history file. How do I know if this file has a specific attribute such as a name or version number? Or, in general, the number of feature attributes in this file.
1
vote
1answer
55 views

Matching GPS trackers POINT data between Nodes of OSM (Open Street Map) [closed]

I have GPS point data of vehicles from XYZ Tracking Company. The data has following columns: UnitID RecordDateTime LATITUDE LONGITUDE Speed Direction Reason Altitude Data Dictionary is given below:...
0
votes
0answers
42 views

osmconvert - errors while merging maps in Windows 10 - unknown file format, could not open input file: .osm.pbf

I've donwloaded the following maps: andorra-latest.osm.pbf https://download.geofabrik.de/europe/andorra-latest.osm.pbf azores-latest.osm.pbf https://download.geofabrik.de/europe/azores-...
2
votes
1answer
21 views

Double labeling line problem using CSS for OSM data from Geoserver

I had created a CSS for postgres planet_osm_line source on geoserver, for roads displaing in client, using WMS. CSS seted like: /*.....*/ /* @title Residential */ [@scale < 20000] [highway = '...
0
votes
0answers
25 views

How to simulate way_pixels rules in GeoServer like in Mapnik?

Openstreetmap-carto project.mml have a queries like this: way_area/NULLIF(POW(!scale_denominator!*0.001*0.28,2),0) AS way_pixels Do I understand correctly that way_pixels just shows how many times ...
3
votes
3answers
79 views

Intersecting Polygons to Build Boundary Hierearchy using PostGIS

I have a set of polygons that are stored flat in a table (these are OSM admin boundaries extracted through Osmium and osm2pgsql). Each polygon has one record for it. However, these polygons form ...
3
votes
0answers
44 views

Street traffic flow (from Azure Map GeoJSON) to OpenStreetMap street network (graph)

The Ultimate Goal: I am trying to find the shortest and least traffic path between two points for a given pair of latitudes and longitudes on the map. This is rather standard in most of the maps, but ...
2
votes
2answers
65 views

Loading OpenStreetMap in PyQGIS

I've written a processing script using pyqgis 3.4 which works. The next step I would like to achieve is to load openstreetmaps as the base map from within the processing script. I can do so easily ...