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 shorted to OSM.

learn more… | top users | synonyms (1)

1
vote
2answers
16 views

Calculating Mercator coordinates from lat/lon

I am new to GIS but I am working on a project mapping a building using floor plans and JOSM. Using the PicLayer plugin I added the .png floor plan as a layer. I wrote a .cal file to set the scale, ...
0
votes
1answer
10 views

Openlayers 3 and map captions i18n

All captions are displayed in native language when using Openstreetmap as source and that makes map too hard to read when looking at Asian countries. Is it possible to use user selected language or ...
0
votes
1answer
22 views

Openlayers 3 bad coordinates

I am using Openlayers 3. In order to open the map i use OpenStreetMap generated tiles. When i try to get coordinates using polyFeature.getGeometry().getCoordinates() it provides me bad coordinates , ...
1
vote
1answer
302 views

How to get boundaries of city?

is there any api to get bounds of city. What i want is i give city name and in return i get that city boundaries. I have searched google maps, arcgis and OpenStreetMap but didnt found any ...
1
vote
1answer
38 views

How can I customize GLMap offline vector map?

I am using GLMap from https://getyourmap.com/ and I have two questions: In my vector map the street name is shown in two languages I want to show in one language. How can I change that? Where can I ...
0
votes
1answer
833 views

How to narrow the result from Nominatim with only cities and countries, no additional areas with the same name?

I'm trying to get WKT or GeoJson polygons of cities and countries from Nominatim (for example, Paris and France). I send a GET request but it returns me several results named "Paris" or "France". How ...
0
votes
2answers
1k views

How to get a list of OSM relations (id numbers) of cities and countries only?

I want to get OSM polygon shapes (GEOJson or WKT) of countries and cities only. I know that it is called a "relation" in OSM and each relation has its own id (New York is 175905, for example). How may ...
0
votes
1answer
81 views

OSM set up OpenLayer to connect to local TileServer

I just set up local tile server following these instructions https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ and I want to deploy OpenLayer on local too, such that it ...
0
votes
0answers
38 views

Installing OSM on Centos: Protobuf Problems

The Problem: I'm trying to install OSM on CentOS 7. One of the dependencies is protobuf and protobuf-devel. I've installed the library through the package manager, through source, with different ...
1
vote
0answers
32 views

Orphan road segments

I am working with OSM road data for a developing nation. Included in the dataset are various small networks of roads that are orphans or islands i.e. not connected to the main road network. For ...
0
votes
1answer
14 views

local osm/nominatim install

I am newbie to osm/nominatim. I set up everything correctly and loaded Florida pbf data and geocode /searches were working fine. Today I added data for Mississipi using the setup.php script with ...
0
votes
1answer
18 views

looking for documentation about exploiiting OSM file with c++ API

My application is written in QT4.6, i use the C++ API of QGIS 2.8.2 i had to read and display OpenStreetMap in my canvas in my application so, i am looking for some documentation or tutorial for ...
0
votes
1answer
13 views

OpenStreetMaps Local Server: Mapnik not Rendering Tiles

Introduction: I've built a local OSM server following this guide https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/. I've gotten through the guide just fine, and the server ...
1
vote
1answer
144 views

Updating OSM map from within PhoneGap/Cordova App

I am trying to build a sat-nav application that allows the users to dynamically update the map that their application is using. So if the user updates the map with a new road then that road is ...
1
vote
1answer
66 views

Using OpenStreetMaps (*.pbf) data with Mapnik?

I am using mapnik to directly render a map using xml sheet. I downloaded world boundaries, created the mapnik stylesheet from wiki page, and ran the python code which created a world image : Now ...
1
vote
1answer
87 views

Routing Service that Avoids Areas?

I'm just starting with GIS, and I'm looking for a routing service that will allow me to avoid given regions on a map, or to build my own router that has this functionality. The site ...
1
vote
1answer
25 views

Overlay a raster image using Equirectangular projection (lat/lon) onto OSM/Google map with openlayers?

I have a forecast map of 6x6 lat/lon extend from 104E-110E, 10N-16N as an static PNG image and want to make it an overlay on the basemap of OSM/Google map using openlayers 3. The problem is OSM uses ...
1
vote
0answers
19 views

How to show the labels of aeroways like Openstreetmap in Mapbox Studio

I'm using Mapbox Studio to create a Mapbox style. However, I don't know how to show the labels of aeroways like Openstreetmap. You can see the labels are showing on the right side.
2
votes
1answer
118 views

Can we use existing planet database for Nominatim

i have imported data from the OSM to PGSQL using osm2pgsql for generating tiles, and now i need to add Nominatim support also, this Nominatim requires the same OSM data. can we use the existing ...
5
votes
1answer
800 views

How to extract bounding boxes of cities from OSM?

For simple geocoding purposes I want to extract all cities from a single country of openstreetmap. They only queries I want to do are: ZipCode -> (List of) BoundingBox of City/Village ...
0
votes
0answers
17 views

How to generate interactive map tile server

Following the instructions here: https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ I created a tile server which is rendered in the browser as a PNG file but I wanted to ...
0
votes
1answer
30 views

Spatial query ST_CONTAINS returns empty result

I want to create a database view in Postgres/PostGIS which returns a subset of the points stored in another table called locations. The subset is defined by an area stored in yet another table called ...
2
votes
1answer
100 views

Tag for calculating way length in osm2pgsql?

There is a special tag 'way_area' in osm2pgsql creating a database column that stores the area of polygon features. So is there something like this for calculation of length of line objects?
5
votes
0answers
48 views

Best way to cut linestrings with points

i was checking the best way to cut linestrings by points. The scenario is: lots of streets, need the segments cut by intersect points, kind of this: I got linestrings (full uncuted by points) ...
0
votes
1answer
174 views

osmosis library in java application

I want to do a navigation application OSM PBF files. I'm using the pbf files from the osm website. I was looking for a way to access the pbf files, I found that it can be accessed using the osmosis ...
1
vote
2answers
210 views

Getting OSM maps in Equirectangular Projection via osm2pgsql

I'm trying to import some OSM data into psql as equirectangular projection using osm2pgsql with the following command: osm2pgsql -c -d osm -S /usr/local/share/osm2pgsql/default.style -l ...
1
vote
1answer
60 views

How to update the OSM data in a PGRouting Database built with osm2pgrouting?

I'm using a PGRouting database originally built with osm2pgrouting from a *.osm file downloaded from Mapzen. If I want to update the OSM data in that database, ie. re-build my PGRouting Database, ...
0
votes
1answer
28 views

Are traffic_signals always part of a way?

I have a question concerning the data. Are nodes that are tagged as traffic_signals expected to be part of a way that is a k="highway" itself? <node id="12345678" lat="60" lon="10"> <tag ...
0
votes
3answers
2k views

How to get WKT or GEOJson by country or city name with Overpass API?

I'm trying to understand Overpass API, I'm experimenting with it, but cannot get what I expect. Overpass API doesn't return me neither polygon shapes, nor WKT, nor GEOJson, nor even a highlight of the ...
5
votes
2answers
10k views

How to view or import *.pbf file (OSM data, binary format) in ArcGIS for Desktop or QGIS?

How to view or import a pbf file (OSM data,binary format) in ArcGIS for Desktop or QGIS? Are any 3rd party applications needed? I would like to edit this file on any GIS Software.
0
votes
0answers
41 views

Can't upload files to database by Nominatim

I was trying upload geofabric's netherlands-latest file into Nominatim's database. I used bellow command and all was fine: ./utils/setup.php --osm-file maps/netherlands-latest.osm.pbf --all 2>&1 | ...
0
votes
1answer
31 views

Where can I find geodata for the Russian терсон-мо or терсон-ате census units? Or: can osm_admin polygons be linked to those?

I'm looking to combine Russian census data with georeferenced polygons. This is for a research project looking into different aspects of mobility within the Republic of Саха (Sakha/Yakutsk), the ...
1
vote
1answer
20 views

OSM import fails due to non-matching PostgreSQL version

I am trying to follow the installation of Nominatim, based on http://wiki.openstreetmap.org/wiki/Nominatim/Installation#Ubuntu.2FDebian. The command ./utils/setup.php —osm-file <pbf-file> —all ...
0
votes
1answer
52 views

Starting Tile Sever Rendering Error: OSMBright.xml

I was following the entire process found here: https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ I have an error though on Testing your tileserver part where i run the ...
-1
votes
1answer
50 views

What is difference between openstreetmap and openlayers?

What is difference between openlayers & openstreetmaps ? is openlayers made on openstreetmap or vice versa ?
3
votes
1answer
39 views

OpenLayers Plugin - Opencyclemap does not display correctly

It happened on version 2.6 and I was told it was my version that was the trouble, so I reverted to 2.2. The odd thing is, that it will usually work fine the first time I open the map, but it seems ...
0
votes
1answer
149 views

Where to find information about LinkedGeoData ontology?

LinkedGeoData is an ontology with information derived from openstreetmap. I want to query linkedgeodata to get administrative areas and points inside those areas, but I would like to know a bit more ...
1
vote
2answers
154 views

Is there a way to keep toll_booth nodes in osm2po's output?

I am writing a code that performs a custom routing on the sql relation generated by osm2po. Amongst several other things, I need to detect if the selected route (list of ids) passes through one or ...
1
vote
1answer
150 views

qgis 2.8 openlayers plugin : google & OSM

I'm working currently for a big project with QGIS 2.8 (windows). I would like load satellite images (google or OSM for instance) as baselayer. I know the usefull plugin called openlayers plugin. I ...
2
votes
1answer
31 views

Osm2pgsql: Error Loading in north-america-latest.osm.pbf

I've had my OSM Tile server working great for several days now, but just with Indiana. I decided to fill the gis database with all of North America. I run the following command: sudo -u user ...
2
votes
3answers
182 views

How to download hospitals and restaurants from OSM in shp format?

I need information on hospitals and restaurants in Guatemala. How can I download this information from OpenStreetMap? I want to use the data in Arcgis 10.1
11
votes
2answers
3k views

Is there a good qml or sld file available for QGIS + Openstreetmap data?

I'm looking for a qml file (or equivalent e.g. sld) to allow me to use QGIS to take Openstreetmap data and produce paper maps. I'm re-asking this question (it was asked once or twice over a couple of ...
0
votes
0answers
25 views

Updating OSM TileServer

I built an OSM TileServer using the entire planet OSM data about a year. I wold like to update the database of my TileServer by using the new planet OSM data. Given that the original planet OSM data ...
1
vote
2answers
249 views

Tiled raster image to be placed in an OSM/ Leaflet.js map

I have a mapoverlay in a custom projection which I need to add as a layer to an Openstreet map within a website. Since I was not able to change the projection earlier, I decided to manipulate the ...
2
votes
0answers
51 views

What is the most suitable way to get the boundary of a state or a country or the whole world dynamically?

I am working on a project where I have to create filled map charts based on the data client has provided. The data has latitude and longitude information. Based on the selected level (city or state or ...
3
votes
1answer
890 views

How to manage the osmosis filters?

I am a complete beginner in OSM and osmosis, and I am trying to build a stripped down version of a local map, in order to add nodes of public lights that would be used for maintenance. I have used the ...
1
vote
2answers
199 views

How to style ways with CartoCSS depending on a relation property (OSM)

I'm using CartoCSS together with an OSM Postgres DB (hstore on). I want to set the line color depending on the operator tag of relations (routes). How can I do that? Update Thanks to Paul Norman for ...
0
votes
1answer
43 views

Get street addresses from Open Street Map

I want to get the street addresses for all the buildings in London from Open Street Map, but I'm not sure how to request for it? Can someone tell me what request precidate I should use?
0
votes
2answers
178 views

Enlisting all OpenStreetMap (OSM) street names for General Transit Feed Specification (GTFS) routes?

I have exported OpenStreetMap (OSM) data of a city to my local postgresql db using osm2pgsql. I would like to add the General Transit Feed Specification (GTFS) routes information (say bus routes) ...
6
votes
3answers
1k views

Render the PostGIS OSM data in 3d?

I wonder is there any open-source application that can query a PostGIS-enabled database and render the resulting OSM map in 3d. The only thing I have found so far is Navit, but it renders only from ...