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)

5
votes
0answers
51 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) ...
5
votes
0answers
162 views

Find and destroy duplicate OSM multipolygon/polygons in TileMill/PostGIS

In OpenStreetMap there are sometimes multipolygons where attributes are present on both the polygon and the multipolygon relation, such as the Grampians National Park: ...
5
votes
1answer
804 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 ...
4
votes
3answers
16k views

How to get the Lat, Long of a clicked location using Leaflet API?

I am using OSM with leaflet API. Now i want to get the lat and long of a clicked location. I meant something similar to this. ex: http://openlayers.org/dev/examples/click.html ...
4
votes
2answers
326 views

Are OSM ids unique over all Object types?

Are OSM ids unique over all Object types? Means can a way-id occur as an relation-id or an node-id as way-id?
4
votes
3answers
4k views

How do I determine the center point of several features in OpenLayers?

I have several polygons being drawn on a map, usually representing a country or province or state. Depending on some chosen data, different regions may be selected, so what I was hoping is that ...
4
votes
4answers
405 views

The shapes of the USA map

I'm newbie in GIS. I want use the shapefiles of USA map for my Geoserver. Where can I download shapes for USA? I know about the TIGER\Line shapes but it is separate shapes of counties and thematic ...
4
votes
4answers
1k views

How to get vector data from OSM to use in QGIS?

How do I get data from OpenStreetMap which I can then edit in QGIS layer by layer? What is the best OSM output and what / how do I get to a suitable input for QGIS? OR...is there another appraach to ...
4
votes
3answers
3k views

How to make routable OSM map

I have some routable data for testing my pgRouting functions, and everything is fine. Now I have to download some more countries from OSM. I downloaded Germany shape files, but OSM maps are not ...
4
votes
1answer
95 views

Why do these points send me to the middle of the ocean or middle of nowhere? [duplicate]

I've been beating my head against the wall trying to map some points using Leaflet + OSM. I put in some sample points (near Bellingham, WA, USA). I've checked the JSON with JSfiddle and ...
4
votes
2answers
993 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 ...
4
votes
3answers
613 views

How to find out what features /tags are included in an .osm or .pbf file?

I would like to load osm data into a postgis (postgresql) database. In How to load OSM data into PostGIS preserving all Tags? there has been a solution posted: Download the OSM files (in .osm ...
4
votes
4answers
6k views

How to serve OSM Tiles on Windows?

Was hoping I could just extract tiles into a local file system, point IIS at it and be done but I guess that is not the reality of Open Street Map. I'm getting buried in all the possible ways of ...
4
votes
2answers
271 views

Filtering Overpass-API by country

Does anyone know how to perform a overpass-api request like this? "Show me all banks in Germany"? I could just show all 'amenity = bank' in a specific bounding-box. But Germany (or most of all ...
4
votes
2answers
3k views

How to find out whether a photo is geotagged or not?

I use a android app called OSMTracker. This app records the GPS track and can take pictures and notes. Using JOSM software, the photos are shown exactly at their coordinates (location) but i cannot ...
4
votes
3answers
921 views

Is there an opensource software to route openstreetMap data based on database?

I have a project that consists in aggregate traffic information on OpenStreetMap for routing proposes. My first idea is to use the OSM data from the region on a database, so I can aggregate the ...
4
votes
2answers
6k views

How to add a google/OSM/bing etc style map layer to Quantum GIS

I am just getting started using QGIS. I am aiming to create a heat map of Census tracts in Georgia based on population. I have all of the data - the population for each census tract in Georgia. I've ...
4
votes
3answers
131 views

USA County level, detailed OpenStreetMap basemap in tiff?

Is there any way to get detailed (close zoom) OSM tiffs at the county level in the USA? I would like to use them as basemaps for a class I am teaching in GIS, using QGIS. I know about (and love) the ...
4
votes
2answers
369 views

Where does Open-Streetmap forest data come from?

If you open this url http://www.openstreetmap.org/?mlat=50.6524658203125&mlon=9.4482421875&zoom=13 you are in a forest in germany. I downloaded the complete Open-Streetmap Data for Germany. ...
4
votes
1answer
372 views

Improve database performance for geospatial

I have a database with osm data imported with osmosis tool. I want to search for the nearest POIs from a given point. For this purpose, I perform this query: select id from nodes where ...
4
votes
3answers
2k views

How to extract primary and secondary roads from OSM data?

After importing my country roads from OSM data, I need to create a network ( roads connecting big cities ) for use with pgRouting. For this, I need the green, blue and red ones ...
4
votes
3answers
623 views

More zoom in base layer in openlayer.

I have some GIS project to do, in this project I need to place something like 20,000 trees on a map. So I did a web app with .net that includes map that based on OpenLayers with bing base map. My ...
4
votes
1answer
185 views

Getting lane data from OSM

I want to extract road network data from OSM for a small city. From where can I get the lane information of any road in OSM. I tried exporting the data in the OSM XML format and there was no lane ...
4
votes
1answer
675 views

Open street map accuracy problem

I want to locate shops with open street map. For that I send a query to nominatim, a webservice which geocodes coordinates from addresses. I draw a marker at the returned coordinates, and it´s ...
4
votes
2answers
2k views

How to “calculate” distance-to-ground of all 18 OSM zoom levels?

Assuming I'm building a 3D solution with the "world" being mapped to global geo-data supplied by OSM / Cloudmade... think http://www.webglearth.com but with completely different goals and use-cases. ...
4
votes
3answers
95 views

Is there a service to check whether a gps path belongs to a public road?

I have a bunch of GPS tracks. I want to exclude the ones which go via public roads. I'm interested in off-road segments only. Is there any public api to check if a given set of coordinates belongs to ...
4
votes
2answers
227 views

Difference between osm_id and place_id?

I'd like to know what the difference is between place_id and osm_id. I understand osm_id is some sort of reference number + more convenient for OSM to find location v. lat/lng. If this is the case, ...
4
votes
1answer
874 views

How to implement place auto-complete using nominatim?

hi i want auto complete like google place and I dont'want to use Google Place API. I Got nominatim auto-complete example but it's not working in my windows 8 because it's implemented in node.js please ...
4
votes
2answers
1k views

Download link to osm2pgsql

I need to download the osm2pgsql for Windows i tried from the path which is given in wiki http://customdebug.com/osm/osm2pgsql.zip and also from below link ...
4
votes
1answer
200 views

Day and night zone layer for Leaflet

I'm working with Leaflet and I'd like to show the day and night zones adding a dynamic layer to my map. I was thinking to add a static layer with some transparency and make it move every x minutes but ...
4
votes
3answers
323 views

Open Street Map: converting to country -> administrative unit -> city database

To moderators: If you think this question is too broad, please point me into right direction before closing, I'm desperately looking for help. I'm stuck on my task and I don't know what to do. The ...
4
votes
2answers
4k views

Create Fantasy Map

I'm currently looking to create a Fantasy map and share it with my friends. We have the map designed already in flash to certain degrees of detail and able to export as a vector. We'd like it to be ...
4
votes
3answers
440 views

OpenStreetMap data at different scales

Could anyone just clear up a question regarding openstreetmap data. Are there different OSM data sets for the various set scales, or do the data get generalized on-the-fly when the map is zoomed out ...
4
votes
1answer
1k views

OpenStreetMap tiles not loaded despite being received

While using OpenLayers to load OpenStreetMap, I observe that part of the map would sometimes be covered with blank pink tiles. I searched and found similar complaints with solutions suggesting the ...
4
votes
1answer
4k views

How to display places names when using Quantum GIS and shapefiles?

I am new to the world of geo systems. What I would like to do is displaying some information on a map for given regions. I downloaded shape files from cloud made web site and load layers using ...
4
votes
1answer
3k views

How to reverse geocode without Google?

I have a basic tracking system i've written with OpenLayers using google and openstreetmap and I want to use geocoding to get street names etc However, I'm a bit confused. I was hoping there was a ...
4
votes
2answers
53 views

Missing roads from highway tag OSM

Hi I am new to using QGIS and I am currently trying to put roads onto my canvas. I have tried adding only 'highway' and 'oneway' polyline tags from the OSM database, but there is still a few roads ...
4
votes
1answer
681 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
1answer
1k views

Does anyone display OpenStreetMap through MapServer, ArcGIS for Server or Geoserver?

I use Windows OS. The data (OpenStreetMap) are stored in a postgres/postgis database. How do I display this data correctly? Update: Now I use: geoserver-2.3.5.exe, ...
4
votes
1answer
336 views

Is there a best practices guide for adding bike infrastructure data to OSM?

Is there a best practices guide for adding bike infrastructure data to OSM? Not simply how to add a bike path, but a list of best practices for actually fleshing out sometimes disjointed bike ...
4
votes
1answer
2k views

How to get bounding box from coordinates (latitude, longitude), zoom level and size (screen)?

Is possible to get bounding box from coordinates (latitude, longitude), zoom level and size (screen)? I found only calculating bounding box from tile. I need it, because OpenStreetMap accept only bbox ...
4
votes
1answer
467 views

Sub-dividing a polygon into smaller polygons

In OpenStreetMap data, some large areas are tagged with a residential=yes tag. Actually within this large polygon there are multiple smaller (rectangular) houses (which are actually not drawn as yet). ...
4
votes
1answer
625 views

How do i get country boundary and names to show up in postgis backed mapnik rendered map?

I followed this to setup postgis server with planet-latest.osm. I used generate_xml.py to generate stylesheets. Using this style sheet with mapnik produces a world map with no country boundaries or ...
4
votes
2answers
1k views

Cleaning up OpenStreetMap data, building polygons and trying to improve appearance

I'm currently going through my first project with OpenStreetMap data and I'm struggling to see how certain features can be made to look anywhere near as good as in OpenStreetMap.org. I downloaded a ...
4
votes
2answers
867 views

Using planet.bz2 with ArcGIS Editor for OSM, sync'ing changes

Overview: We are attempting to clean up and revise the OSM data of our County by comparing it to a more accurate (public domain licensed) street layer within the ArcGIS Editor for OpenStreetMap. ...
4
votes
4answers
568 views

Assessing OpenStreetMap coverage for international routing

I posted the following question on the main StackOverflow website, but was informed that I might get a better response here. Hence I'm copying it below. Note however, that I have an active bounty on ...
4
votes
1answer
99 views

Routing ensuring all areas are touched

I'm making a web application with leaflet and OSM. It's all going well, but now I need a little help. I'm searching for a good routing engine, that's capable of creating the most probably taken route ...
4
votes
1answer
212 views

Is there a public API that can be accessed with Python and will geocode Points of Interests?

I recently downloaded tagged hospital data from OpenStreetMaps.org using the API. Some of the data have a 'node' tag which are attributed with a lat/long while other data are tagged as 'way' format ...
4
votes
2answers
149 views

Is it possible to decrease detail level (decrease file size) in Spatialite OSM export?

I currently use Spatialite exports from OSM data (together with Google maps like styles by Underdark) which are very useful for me as the files are easily portable with the project and I do not need ...
4
votes
1answer
200 views

OSM personal points of interest

I use OpenStreetMap along with OSMand on my mobile device. I have personal points of interest on my map that I do not want to upload to the community. Currently I use Favorites in OSMand to save ...