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
1answer
555 views

Renderd outputs “failed to initialize projection 4326”

I'm setting up a tile server using the guide provided here. I have everything set up. proj4 is installed in version 4.8.0. The espg file is existant, I ran an xmllint over my xml style file without ...
0
votes
1answer
19 views

How do you calculate latitude and longitude of a point in a static map?

Background: I have generated a static map (map.png) of a particular city using mapnik and osm data of the highest zoom level. I am able to zoom in and zoom out successfully using my Java program. It ...
0
votes
0answers
6 views

OpenSteetMaps: Rendering Problem

The Problem I've installed an OpenStreetMap Server on CentOS 7. When I go to render the tiles I get the following: renderd[25207]: Rendering daemon started renderd[25207]: Initiating reqyest_queue ...
1
vote
2answers
37 views

Google Maps Openlayer plugin not aligned with the OpenStreetMap building layer in QGIS

I am working on an OpenStreeetMap (OSM) building layer (I download the imposm geojson in city Dar Es Salaam, Tanzania from https://mapzen.com/data/metro-extracts and used the building layer) and the ...
0
votes
0answers
23 views

OpenStreetMap building layer

I wonder how the building layer in OSM is generated? Are they generated using aerial imagery with automatic image segmentation/classification techniques or they are from crowd sourced tagging.
3
votes
1answer
396 views

Legal standpoint of using open source map data in proprietary software?

I am planning to use an API call to something like http://overpass-api.de/api/interpreter?data=... to gather raw GIS data for an application I am working on. Can anyone tell me if that affects my ...
0
votes
0answers
9 views

Rendering Problem: OpenStreetMap Server CentOS 7

The Problem I'm trying to install an OpenStreetMap server on CentOS 7. I'm using mapnik 2.2.0 and PostGis 2.0. When I try to render the tiles for the server I get the following error: ...
1
vote
1answer
37 views

URL for querying OSM server, getting xml response, for roads only in large areas

I've already Googled extensively around this subject, and can't quite get it right. Can anyone give me example URLs which return XML data consisting of just roads, for example, over areas larger than ...
0
votes
0answers
29 views

Problem visualizing OSM's ways twice in leaflet

I have retrieving all types of data from a small B-box using the Overpass Api and i have populated Postgres(postGis) using "osm2pgsql" with the default style. I can extract the ways into geoJson ...
1
vote
1answer
41 views

Importing OpenStreetMap (OSM) data into *.gdb using ArcGIS for Desktop?

Does anyone know what the fastest way to import OpenStreetMap data into an ArcGIS File Geodatabase (*.gdb) is? I'm using ArcGis 10.2.x and I see two options: OpenStreetMap Loader, which handles a ...
0
votes
1answer
34 views

pg_dump Database that was populated with osm2pgsql

Is it possible to dump a postgres database that was created with osm2pgsql and a .osm.pbf file with pg_dump and import this into a remote postgres database? After running osm2pgsql the database is ...
0
votes
1answer
49 views

Building Large Network Datasets from OpenStreetMap in ArcGIS?

I'm trying to build a "large" network dataset from OSM data in ArcGIS. Doing it all at once is taking a "long time" and seems like there is a big opportunity for it to fail at some point which would ...
0
votes
0answers
18 views

Is there a way to get undistorted maps in R (when using the openstreetmap package)?

When I download a large map within R (using the openstreetmap package) and I reproject the map (ideally to +proj=longlat), the map will always turn out distorted, making country labels etc. near the ...
0
votes
1answer
350 views

missing tables vertices_tmp and vertices_tmp_id_seq pgrouting workshop

I'm using OSgeo 6.5 dvd and studing pgrouting workshop for get shortest path. I created database call "routing" and used "template_routing" for create tables but only 3 tables created. So then I ...
2
votes
2answers
33 views

QuickOSM returns no result

I am trying to download the polygons for the Umweltzone Heidelberg from OpenStreetMap using QuickOSM in QGIS. I queried by name as shown in the screenshot: The corresponding OSM script looks like ...
3
votes
0answers
305 views

Create a path following a road, interpolating from a set of points

I have several hundred vehicular routes within a city from which I wish to create shapefiles. These take the form of directions such as "From Green Street, turn left into Brown Street, Right into ...
0
votes
1answer
16 views

How to use locally served tiles for interactive maps instead of just a png image of tiles

Hi I followed this link and it worked for me.. https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ I can serve tiles locally but running it and by just typing the link like ...
1
vote
2answers
33 views

How can I visualize a series of points on a world map?

I'd like to run a big list of IP addresses through geolocation and then display them on a map, most preferably an OpenStreetMap one. While geolocation will probably be easy using GeoIP, I'm looking ...
2
votes
1answer
144 views

GTFS import and pgRouting

I know there are some questions out there already. I'm looking at a fresh approach. I found the gtfs2pgrouting project from pgRoutings' GitHub page. But it's three years old and doesn't work with ...
1
vote
1answer
41 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 ...
1
vote
1answer
18 views

How to Convert Just a Sulawesi Map to Leaflet

I'm still develop a Web GIS that show population distribution in form of heat map. I'm use Quantum GIS with Open Street Map & Q2Leaflet Plugin as a tool to accomplish it. The problem is, I just ...
0
votes
0answers
13 views

Tilemill/PostgreSQL Connection refused Error

I have been trying to set up a MBTiles Export using PostgreSQL 9.2 and the Latest version of Tilemill. According to the postgreSQL Logs, I am receiving an error, and I cannot figure out why. I have ...
1
vote
2answers
20 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
15 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
27 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
315 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
39 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
840 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
86 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
62 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 ...
0
votes
1answer
20 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
22 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
17 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
146 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
68 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
31 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
20 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
122 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
809 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
31 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
101 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
52 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
177 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
215 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
63 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 ...