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
0answers
12 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 ...
0
votes
1answer
9 views

Merging different tag filtering with Osmosis

I want to extract the different points of interest from OpenStreetMap. Some of them are represented as ways (e.g., a large sport center might be represented as the building, i.e., as a way), others ...
0
votes
0answers
13 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 ...
1
vote
1answer
15 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 ...
0
votes
1answer
36 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
14 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
8 views

QGIS - OSM Place Search

I am new to QGIS and trying to follow http://www.qgistutorials.com/en/docs/downloading_osm_data.html But I am stuck as I do not have (1) Plugins/OSM Place Search (first picture) (2) OSM Place Search ...
0
votes
0answers
19 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
1answer
39 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
17 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
37 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
40 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
25 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
17 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
72 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
44 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
24 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
25 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
54 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
19 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 ...
0
votes
0answers
19 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
63 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
29 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
30 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
28 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 ...
5
votes
0answers
103 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
69 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
45 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 ...
0
votes
1answer
59 views

Qgis can not set googlemap basemap from openstreetplugin to Geographical coordinate system

For the love of god I can not get the google street layers from the open layers plugin to set to WGS84(4326) correctly. I am aware that the google base map is default set to WGS Psuedo Mercator(3857) ...
3
votes
4answers
84 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
2answers
50 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
19 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
49 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
26 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 ...
1
vote
2answers
43 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
44 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
38 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
173 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
34 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
37 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
34 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
39 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
38 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
58 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
78 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
101 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
64 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
41 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
16 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
32 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 ...