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
67 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 ...
0
votes
0answers
30 views

openlayers setCenter issue (other posts on this do not solve it)

I can't get map.setCenter to display an OSM layer (via openlayers) centered at my specified coordinates. Instead it defaults to the West Coast of Africa. The zoom level does however work. Both of ...
0
votes
0answers
50 views

OpenStreetMap Road and Polygon Data as 1x1 Degree Shapefiles

I am working on a global project for which I want to use OSM data as a model input. I am looking for advice on the best way to produce 1x1 degree WGS84 shapefiles from either regional extracts or the ...
1
vote
2answers
128 views

Fast Offline OSM Routing Library to Replace MoNav (.NET)

I'm looking for a .NET replacement to MoNav. I'm currently calling a C++ MoNav DLL via COM and it works great--it's fast and memory efficient, and can both load itself and route across the country ...
1
vote
0answers
57 views

Building a road path using openlayers and shapefiles? [closed]

I'm looking to learn OSM and Openlayers. From what I can tell, I need OpenLayers to display the map on a website and I need shapefiles to do any manipulation on the map regarding its topographical ...
2
votes
2answers
108 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 ...
1
vote
2answers
65 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 ...
0
votes
4answers
104 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 ...
0
votes
0answers
25 views

Does a road connect one grid cell to an adjacent grid cell?

So here is the problem I am working on. I have an OpenStreetMap roadmap which I overlaid with a 2-D cartesian grid. So for a given grid square, I want to find out if a road segment continues from the ...
2
votes
4answers
248 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 ...
1
vote
1answer
70 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
35 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 ...
0
votes
0answers
36 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. ...
0
votes
2answers
99 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 ...
1
vote
2answers
61 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 ...
1
vote
1answer
141 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 ...
4
votes
1answer
129 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 ...
1
vote
1answer
48 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, ...
1
vote
2answers
85 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 ...
0
votes
0answers
44 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 ...
6
votes
0answers
399 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
363 views

why my tile rendered and Httpd(mod_tile) server not communicating?

it's been weeks since i have been trying to build my own openstreet maps tile server after following dozens tutorials i have been able to install renderd and mod_tile and i have successfully uploaded ...
0
votes
2answers
63 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
114 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" } ); ...
2
votes
3answers
197 views

How do I query highways with overpass turbo?

I want to use overpass to show major highways for a US city. How can I query that from overpass turbo? I tried the following code here and it returns tons of dots. I really want only lines showing ...
1
vote
1answer
25 views

What format comes out when you export from OSM

I am trying to export this osm output (and then convert it into geojson). I click export and get a file called "map." What format is this file in?
1
vote
1answer
93 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 ...
1
vote
1answer
34 views

How can I see the layers in an .OSM file?

I have an osm file. I am trying to convert it to geojson with ogr2ogr. I get an error that ogr2ogr can't handle multiple layers. How can I tell what layers are in the file and remove them? I see from ...
2
votes
2answers
118 views

How do I convert open street map export to geojson?

I am trying to render this output from open street map into geojson to add into a map. I only need to export the data one time. How do I do that? OSM lists it as a use case. I see a js library to do ...
1
vote
3answers
71 views

Map-based online questionnair/survey

thank you for your advice and I made changes to my question; I am planning to create map-based online questionnair/survey for my master dissertation on bicyle safety. What I want to do is, asking my ...
2
votes
2answers
74 views

How to obtain timestamp and user id from .osm file in PostGIS enabled Postgres database

At present, osm2pgsql seems to ignore the timestamp and user id of the elements, a serious drawback for some applications. According to a bug report this is not solved by the addition of the ...
2
votes
1answer
244 views

Does OpenStreetMap have property boundaries?

I want to move from Google Maps to OpenStreetMap. I was planning on using MapBox to create the tiles if that makes a difference. OpenStreetMap seems to lack property outlines, which Google Maps has. I ...
0
votes
0answers
74 views

Nearest road in the vicinity of a point without queries (openstreetmap)

I know that many similar questions about map fitting have been asked. Everywhere there were answers about sql queries like this: SELECT ST_AsText (ST_ClosestPoint (pt, line)) AS cp_pt_line, ...
1
vote
2answers
68 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 ...
1
vote
1answer
49 views

Not all features available in OSM exports in TileMill

I'm using TileMill and OSM Bright to style an OpenStreetMap for hiking. The problem is that OSM Bright does not import all the OSM features for styling. I believe it's possible to add features in the ...
0
votes
1answer
62 views

Softwar to draw graph from a OSM map

This is my first time asking here so forgive me if something isn't appropriate, and sorry if my English isn't very good. Im new in OSM, I have downloaded the data of my map from OSM using the JOSM ...
0
votes
1answer
77 views

Styling/Selecting based on a hstore column in TileMill?

I have added an OpenStreetMap dump file to PostGIS using osm2pgsql --hstore (and the default osm2pgsql style file). I have added and opened up this to TileMill. Is there anyway to style the map based ...
0
votes
0answers
180 views

Leaflet - Tiles stopped loading. Can't figure out why

Suddenly my map stopped loading tiles and I went on the leaflet site and downloaded the latest version of everything. ...still I could only make London visible with its latitude and longitude. I have ...
2
votes
0answers
182 views

It is possible put highcharts chart in openlayers popup?

As title. I build a openlayers map on my website. and there are many feature vector on the map. now I want to put a highcharts charts in popup. to show the temperature in every city something Like ...
5
votes
1answer
119 views

How to change OpenStreetMap Layer Properties in QGIS 2.0

I have loaded the OpenStreetMap layer in QGIS 2.0, but would like to edit the properties in order to better complement the map I'm producing. I can't seem to find the OSM toolbar or OSM Feature widget ...
1
vote
1answer
179 views

Can't run node-mapnik-sample-code

I'm using ubuntu 12.04. I installed mapnik from packages as described here: https://github.com/mapnik/mapnik/wiki/UbuntuInstallation now I want to run node-mapnik-sample-code from here: ...
1
vote
1answer
101 views

How to build, store and index a road network from a digital city map

I'm totally new to this domain so my question may sound like a little bit silly…… I'm eager to know how to extract, store and index the coordinates of the road segments(edges) and intersections or ...
0
votes
0answers
29 views

Transforming multiple LineStrings to shape for ST_Contains

I want to find cities, villages etc inside each region of Poland. For most of them querying something like this is enough: ... AND ST_Contains((SELECT way FROM planet_osm_polygon WHERE osm_id = ...
1
vote
1answer
56 views

How to make osm2pgsql import a tag?

I loaded OSM data into PostgeSQL with Osmosis&Osm2PgSQL, and see many tags are missing. I need to make it import lanes tag. How can I make it save this tag too? edit: my solution was to copy ...
1
vote
1answer
45 views

ST_AsLatLonText returns wrong data

I want to list all cities in lubelskie vovoidenship, which is relation 130919. I also want to get latLong data for each city. To perform this I do: SELECT name, ST_AsLatLonText(way), place ...
0
votes
0answers
221 views

Qgis ver.2.2 can not load osm file

I have download shapefile osm with vector >> osm >> downdload data in qgis ver. 2.2. When i I open osm data,qgis not responding. I hope someone could help me. Thanks
0
votes
0answers
139 views

Tilemill OSM Bright Installation problems

I followed the OSM Bright installation guide and patiently imported germany as osm data into tilemill (→ see here: ...
1
vote
1answer
134 views

Geoserver WMS layer does not show in OpenLayers

I'd like to overlay a Geoserver WMS layer in OpenLayers & OpenStreetMaps. I'm having problems because the wms is not showing on top of the OSM layers (mapnik, cyclemap). This is the code: ...
1
vote
2answers
56 views

Routing engine that supports right sided pickups

I am using open street maps and I need to incorporate routing in to my application. I know there are various routing engines that I can use, but I have a very specific requirement for the direction ...
0
votes
0answers
25 views

Postgis and osm2pgsql: find all cities that belong to selected state [duplicate]

I'm pretty new to postgis, so I don't quite understand it's mechanisms yet. My task is to build database with relations: +---------+ +------------+ +----------+ | country | | adm_unit ...