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)

0
votes
1answer
151 views

osm2po errors when converting pbf file

I am trying to prepare OpenStreetMap data for routing. I have downloaded version 4.8.8 of osm2po. I also downloaded north-america-latest.osm.pbf from Geofabrik. The command I am running is: $ java ...
1
vote
1answer
223 views

Automatic four-colour (political boundary) rendering with PostGIS

This is probably a long shot, but is there a way to automatically select colours for neighbouring regions using the four colour theorem, in PostGIS? The data I'm using is suburb boundaries in ...
3
votes
1answer
305 views

Local Copy of OpenStreetMap of my City in PostGIS Database

I would like to use OpenStreetMap vector data for land cover analysis in my city. Here is my goal: I set up a PostGIS database with the city area extent (around 20x20 km) on my server. I will ...
3
votes
2answers
3k views

How to remove layers of detail from an osm file?

I want to remove some layers from the osm map of an area. It has all the details like POI, offline routing and all. But I just want the map data. How can I remove this extra layer from the map?
10
votes
4answers
8k views

How to build tile server from Openstreetmap data for beginner?

I am a beginner at GIS and I am developing a Java Application which needs a map. (The map would specifically be of just one city in the Philippines.) I have researched on different ways to do this and ...
4
votes
1answer
773 views

Recommended specs for a single-country OSM tile server

What specs would you recommend for an OSM tile server dedicated to serving tiles for a single, small country (e.g., Portugal only)? Total server load is estimated to be no more than two/three users ...
0
votes
2answers
320 views

How to find when train nears station? [closed]

I am creating an app for tracking trains. When the train comes near to a railway station the system should identify it. To do that I want to gather GPS coordinates near the station and save them. ...
1
vote
1answer
712 views

Export XML Data to a MySQL DB

Hi I have a XML file which I created from the overpass api. I'd like to load this data from this file into a mysql database. I've been using this code to test, but none of the data loads. LOAD XML ...
2
votes
2answers
3k views

Update database via osmosis and osm2pgsql too slow

I got a box with the current hardware config: CPU: Intel Xeon E3-1220 V2 3.1 GHz RAM: 10gb Hard Disk: Western Digital WD10EZRX SATA Hard Drive OS: Centos 6.5 64 bit DB: PostgreSQL 9.3.2 and ...
0
votes
1answer
93 views

How can I combine addr:* tags in JOSM to create the addr:full tag?

I have about 400 addresses that I need to update in OSM. They have already been conflated using Josh Doe's Conflation plugin, http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Conflation, which my ...
5
votes
1answer
1k views

Different searching results in local Nominatim and openstreetmap.org

I've just installed Nominatim using this guide. I've successfully import fresh osm.bz2 file with data for Saint-Petersburg, Russia into my postgresql database. Nominatim search script works, but it ...
1
vote
0answers
148 views

Where to get UK city boundaries

Currently I am working on a project where I have to draw boundaries of specific region of UK. Exactly like this I want to know where to retrieve this kind of GIS data. I have tried openstreetmap data ...
1
vote
2answers
2k views

Looking for a MAP to SLD converter

Does anyone know where I can find the converter from .map to .sld? I have a big mapfile of styles for OSM and I have the styles mapnik.xml for OSM but I use Geoserver for my work. Or does anyone have ...
0
votes
1answer
69 views

Using OpenLayers and OpenStreetMaps to display statistical information with colors : possible?

I'm planning to build a statistical tool using OpenLayers and OpenStreetMaps. This tool will have to display statistical data for french departments with colors. What I would like to do is the same as ...
1
vote
2answers
75 views

Getting OSM data for a particular jurisdiction

I'm trying to make a street map of New York City (and only New York City). I've downloaded OSM data for the area (from here), but it contains lots of data from the suburbs. Currently, I've loaded ...
7
votes
4answers
4k views

How to extract german restaurants from planet.osm?

Want to get the data out of http://wiki.openstreetmap.org/wiki/Planet.osm UPDATE: i just come back from the site http://wiki.openstreetmap.org/wiki/Planet.osm which has got some files that belong to ...
2
votes
1answer
81 views

How do I know what direction a road is drawn in OSM?

I'm trying to add a cycleway bike track to one side of a road, but I can't tell which side is left or right. The docs say "relative to the direction in which the way was drawn in the editor" , but ...
0
votes
2answers
400 views

Can I use Map Quest/ Open Street map to get the local names?

I am using the reverse geocoding service provided by Map Quest. For a sample coordinate of N 53.27, E 8.123333, I receive the state of "Lower Saxony". According to Wikipedia, and a user of my service, ...
0
votes
1answer
432 views

Filter geojson or shapefiles

I'm trying to create a geojson file with a few shapes of roads from OSM. Now, I've been able to get shapefiles of the greater region (province) these roads are in from http://download.geofabrik.de/ . ...
1
vote
1answer
1k views

Most optimized way of extracting data from planet.osm

I want to cut extracts from planet.osm.bz2 . I have found this command bzcat downloaded.osm.bz2 | osmosis --read-xml enableDateParsing=no file=- --bounding-box top=49.5138 left=10.9351 bottom=49....
0
votes
0answers
28 views

how to apply adress-geotags

hello dear linux experts what i am trying to do now is .....a little task i wanted to run a osmconvert & filter with the following goal - to get the following tags out of the datas: addr:...
1
vote
2answers
340 views

finding administrative boundaries in Guinea using OSM

I am trying to map the quartiers (neighborhoods) in the city of Conakry, Guinea. As far as I can find, OMS contains information on the location of each quartier, and displays this with a point in ...
1
vote
0answers
85 views

joining polylines on geometry and attribute

I have dowloaded an Open street Map shapefile containing streets and their attributes, for my whole country. I have qgis and spatialite_gui and a very basic understanding of SQL The problem I have is ...
0
votes
0answers
154 views

Extract single points of interest from OSM when described both as nodes and ways

I extracted both nodes and ways from OpenStreetMap in PostgreSQL with Osmosis. I'm looking for all restaurants in a given area. The issue is that some of them are coded in OSM as nodes and others as ...
2
votes
1answer
531 views

bounding box in osm files

I have a osm file,i convert it to pbf file by osmosis.but it not convert to .map file.i use this in cmd: osmosis --rb file=city.osm.pbf -mw file=map.map bbox=34.3635451292,30.0247495993,57.513131979 ...
2
votes
4answers
3k views

How to make a private OSM (Save personal information to) a map using OpenLayer or Tilemill or mapbox

OSM (OpenStreetMap) is great for making a real time public map for general purposes but what if I want to add private info to a map such as the location and date of my first kiss or a note about every ...
0
votes
1answer
103 views

Identifying streets of same name where split by osm

I have a large map of every street in the country. This is a vector layer in QGIS many streets are split by OSM , IE have a different OSM ID yet the street has the same name. Often these streets are ...
1
vote
2answers
585 views

Osmconvert command-line window closes when I press Return

I am dealing with Open street map Data. I want to convert some of these .o5m files to .osm format so that I can process them in QGIS. So, I have downloaded Osmconvert to run on my Windows XP ...
2
votes
2answers
617 views

Extract a PostGIS dump from OSM with a particular tag

I'm new to OpenStreetMap. I want to extract all restaurants from Switzerland with their capacity if available. I am using osmosis. I tried: osmosis --read-pbf file=switzerland.pbf --tf accept-nodes ...
3
votes
3answers
838 views

Why is sum of st_length() of segments 20% too big?

I'm running a query to return the total length of some bike paths, from OpenStreetMap. Compared to the known actual length of these paths, they're all a bit too big - something like 10-30%. I know it ...
1
vote
2answers
252 views

osm2pgsql: modifing the default.style - newly added columns are empty

I would like to import a osm-db (from planet) with the "name_de" and "source" column. So I added/changed those lines in the default.style: node,way source text linear node,way ...
2
votes
2answers
467 views

Convert OSM File to get addresses using Osm2pgsql

I am working to covert OSM File to get all building's informations in the city. I am using osm2pgsql package to transform the data. Now I am confused as I have 5 tables : - planet_osm_point -...
3
votes
3answers
740 views

osm2pgsql --hstore

I'm working with postgreSQL 8.$ and PostGIS and I need to import osm file to database. I tried it with utility osm2pgsql, but I have problem with hstore extension. Does anyone know how to solve this ...
0
votes
4answers
986 views

Trouble converting .osm to .pbf with Osmosis

I would like to convert a shp file to map file. I know should use these steps: shp -> osm -> pbf -> map For step 1 I use a python script : ogr2osm.py For step 2 I use osmosis, but I get ...
1
vote
1answer
238 views

Can I download large areas of OSM data with QGIS OSM plugin?

I have OpenStreetMap data loading failure problem. I want to use the Download OpenStreetMap data tool in QGIS. I want to select the extent from map canvas like shown below: . For me, the osm-data ...
0
votes
1answer
45 views

(Pgrouting) Finding the best path within some maximal length

Is it possible to find the best path (where cost is not length) with the length limit? For example, find the best path that is shorter than 10km? I currently use pgr_astar from Pgrouting to find the ...
5
votes
2answers
2k views

Unencoding JSON output from OSRM

I set up Open Source Routing Machine (OSRM). The documentation does a pretty good job of laying everything out and I was able to get a server set up and running on my machine. My question is about ...
0
votes
2answers
600 views

Tools to calculate routing distance

I'm working to a web application, and I need to calculate the routing distance (not the distance "as the crow flies") between a starting address and several final addresses. I don't need to render the ...
0
votes
0answers
79 views

Get tag/feature/landuse meta information for latitude longitude in openstreetmap

I need the possibility to find the underlying ground information of a given location (set by latLng) - not an area! I already tried the nominatim reverse search, but it lacks the landuse information. ...
5
votes
1answer
1k views

Download only country and city data from OSM

I want to download a list of all countries on this planet from OSM. Also, for selected countries, I would like to have states and cities. How can this easily be achieved? There must be an easier way ...
4
votes
2answers
2k views

osm2pgsql Error: operator class “gist_geometry_ops” does not exist for access method “gist”

When using osm2pgsql to import massachusetts-latest.osm.bz2 into PostGIS 2.0.1 database osm (running on PostgreSQL 9.1 on an Ubuntu 12.04), I get the error failed: ERROR: operator class "...
1
vote
1answer
8k views

location of a dragged and dropped marker using leaflet

I am using the leaflet API with OSM. I need to implement a functionality where on dragging the marker and dropping it on user preferred location, I need to get its latitude and longitude and save its ...
11
votes
3answers
13k views

Simple way to have an offline web based map?

My goal is to have a world map embedded in a web page, but without access to the internet. Preferrably only a set of tiles in combination with some slippy map js-lib. Storage space is not really an ...
2
votes
2answers
7k views

Offline map(google/openlayers) for HTML5(Angular) based hybrid application

I have a requirement where the customer has explicitly asked for offline support for the map. The rest of the application works well offline, but i am not sure how to get this done using Google or ...
1
vote
1answer
123 views

Osm2pgsql crashed on import. Can I continue with what has been imported so far?

I recently imported the osm planet file using osm2pgsql. The process crashed (hung my whole box) when creating the geometry indices and other indices on the tables. Scouring through the source code, ...
0
votes
0answers
95 views

how to easily serve vector layer with extra attributes for openlayers

On a website I'd like to show an openstreetmap with buildings colored by a certain feature (tag). So far I was able to extract the buildings for a bounding box, save them as an osm file and load it ...
2
votes
2answers
5k views

Openlayer maps issue with ssl

I am using openlayers map by using the hosted js : <script src="http://openlayers.org/api/2.13.1/OpenLayers.js"></script> But my client has ssl installed and when i try to run my map ...
0
votes
2answers
437 views

Download Airports from OSM

Is there any way to download all airports in Europe from OSM? What I'm looking for is the Airport perimeter, (lines or polygons, dosn't matter) I know that I could download all Europe, and then ...
3
votes
4answers
429 views

How to select features in OpenStreetMap

I'm using OSM (online) with OpenLayers to show my map (I don't have a mapserver) but when I do this: map = new OpenLayers.Map( 'map', {numZoomLevels: 7, units:"km", minZoomLevel: "10" } ); map....
1
vote
1answer
420 views

Collaborative map editing using local openstreetmap server

I tried to make a collaborative web-map solution. that is allowing multiple users to edit map features and enter data collaboratively. I read that OpenStreetMap give this solution. I've installed a ...