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
2answers
2k views

How to create a simple drop down box in openlayers?

I am trying to place a simple drop down box above the open street maps. Can some one guide me how to achieve this... I know we need to make use of open layers.... i tried to create a button with below ...
3
votes
1answer
409 views

Limit Zooming Geometry Features in OpenLayers

I draw flag feature on my map as follows: myVectorLayer = new OpenLayers.Layer.Vector("Flag Geometry", { renderers: renderer, isBaseLayer: true, projection: new OpenLayers.Projection("EPSG:900913"), ...
0
votes
1answer
657 views

How to export objects from wikimapia to openstreetmap?

How to export objects (buildings, houses) from wikimapia to openstreetmap? What is the way?
3
votes
1answer
171 views

How to draw parallel or curved labels for OSM data in QGIS?

I'm trying to recreate a Google style map using OpenStreetMap data and QGIS. I've been following underdarks many wonderful guides but am getting stuck at the labels. The OSM data was taken from ...
1
vote
1answer
508 views

PgRouting: Driving_distance() or shootingstar_sp()?

I use OSM data imported into PgRouting database. I developped a web application with a map to use OSM data. I trace routes using shooting_star_sp() function. For example, to have time cost between ...
1
vote
1answer
318 views

How to get map to parse input bounds as degrees?

I just started to learn Open Map and I am having some difficulty working with the API. This may look trivial, but please bear with me. I am trying to get Open Map to display a region of the map ...
1
vote
1answer
68 views

Making an access plan with openstreetmap

What tool would be best to create an access plan (with directions written on roads, local zooms, etc.) from OpenStreetMap (preferably using the MapQuest Open map)?
1
vote
1answer
744 views

OSM Map projection doesn't seem to change

I have the following OpenLayers map: Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel ...
3
votes
2answers
2k views

Can I use Google Maps API and substitute Openstreet map as base layer?

This Question is based on below requirements. 1 - our application will need to use functionalities of Google Maps API like custom marker/Info pop up/Routing etc. 2 - our application wants to use ...
5
votes
2answers
384 views

Can I load a country-size OSM file in QGIS?

I've tried several ways to display OSM data in QGIS, but none of them really worked well for me. For example, I've tried WMS layer, but when I try to print high resolution, it won't give me enough ...
9
votes
3answers
994 views

How is raw OSM data processed for openstreetmap.org

Can anyone provide insight into how OSM data is processed or rendered for www.openstreetmap.org? A specific example... I extracted data from a recent planet.osm PostGIS dataset for an area in ...
4
votes
2answers
398 views

Why is osm2pgrouting not importing?

I installed pgrouting successfully and did a little import with a 20Mb file. Works good! Now I'm trying to import a file with the size of a country and it doesn't even start to import. The last 2 ...
3
votes
0answers
500 views

Openlayers 2.12 + Firefox 15 = OSM Layer not showing

I know it's due to the new Access-Control-Allow-Origin in OL 2.12, but it is still not functional to me. I've followed instructions on here on stackoverflow. Firefox version 15.0.1 Apache2 config ...
1
vote
0answers
530 views

Leaflet markers do not open popup on click (with markerclusterer)

I just started using Leaflet and Marker Clusterer to organize the markers. Problem #1: When an unclustered marker is clicked, no popup appears. Problem #2: When a cluster is clicked several times, ...
2
votes
1answer
125 views

Is there a way to show the direction of a route?

I use pgrouting and openstreetmaps .I would like to know if there is a way to show the direction of the route on the map (eg something like this ---->---- or any other way,idea) Thanks in advance.
2
votes
1answer
127 views

Relevant data for cost attribute to calculate route time

I have imported OSM data into PgRouting database. I would like to use driving_distance() function to calculate route time. How to add relevant time cost into database ? Thanks
4
votes
1answer
658 views

Is there an open source tool for both road network analysis and geocoding?

Is there any one open source software package that can perform both road network analysis and geocoding?
2
votes
3answers
1k views

Optimizing OSM tiles download

Disclaimer: I don't know anything about maps, please excuse me. In our mobile app, we use Cloudmade as our map tiles provider. For certain places, we download multiple tiles for each zoom level ...
7
votes
3answers
509 views

Is there a paid service for accessing a PostGIS/OSM DB

I want to render a world map with mapnik and postgis, but do not want to set up my own DB, because the needed hardware and processing time for the OSM import make it nearly impossible for me. I just ...
4
votes
1answer
418 views

estimate travelling time for the route using pgRouting and OSM data

Could someone share with me some ideas or your experience how to estimate travelling time based on the provided route within pgRouting? The problem is that roads inside and outside cities have the ...
4
votes
2answers
5k views

How can I extract data from OSM which includes the street names?

I am exporting OSM data (in .osm) files to use in qGIS. I am interested in having the street names displayed. I know they are in the OSM data set because they are displayed when I browse the data ...
1
vote
1answer
401 views

osm2pgsql import crashed!

I am currently importing a bz2 country file into PostgreSQL 9.1 database for Nominatim 2 using its setup.php that runs osm2pgsql. After processing the nodes. it seems to be stuck at a certain spot ...
4
votes
2answers
1k views

Differences between OSM data and MapQuest OSM data?

I currently have an OSM "stack" server (Postgres/PostGIS, Mapnik, OpensLayers) working in a development environment, with almost all the South America countries loaded on the database. Since the ...
3
votes
0answers
526 views

Get tile URL with projection different than 900913

I have the following code, which should display a slippy map showing tiles producted by me with mapnik: Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 ...
1
vote
0answers
665 views

Zipcode overlay on OSM

I have to display an overlay with different colors depending on the zipcode in Europe. Can I get this information from OSM shapefile ? If yes, how exaclty ? Is there a tutorial somewhere ? Thanks
2
votes
2answers
5k views

openlayers change marker icon, size and offset after drawn

I'm having much trouble changing my (feature)marker icons 'on the fly'. The problem is that I use much different images and also need to change the offset. So I iterate over every marker and make a ...
4
votes
1answer
509 views

Problem processing OSM file with osm2pgsql

I have an OSM file and when I want to import it in my PostGIS base using osm2pgsql, I get the following error: Processing: Node(130k 8.7k/s) Way(0k 0.00k/s) Relation(0 0.00/s)Assertion failed: ...
1
vote
2answers
433 views

How to restart an osm2po service from a previous run?

I have followed underdark's clear and concise "how to" to get osm2po running. The web service is a great little tool for inspecting the data. Is there a way to restart the service using an existing ...
0
votes
1answer
996 views

socket connect failed for: /tmp/osm-renderd

I have installed Mapnik and have a functioning PostGIS database (I can access data through QGIS with no problems). When I try to run render_list to generate tiles it fails with socket connect failed ...
1
vote
0answers
125 views

How to geocode US addresses using gisgraphy (400k)

Would someone please direct me in geocoding around 400k addresses using gisgraphy or openstreetmap? Thanks in advance, Aji.
2
votes
1answer
664 views

Problems using 2 maps with multiple layers and loadend event

I have 2 or more maps with one ore n layers on each map. Now I want zoom to extent for each map, but the getDataExtent returns only for the last layer in the last map a bounds. Can you help me? Here ...
9
votes
3answers
621 views

What's the best way to implement routing through areas such as parking lots?

I'm using OSM2PO to route for walking directions and I've noticed a lot of the OSM walking paths are not ideally setup. For example there are many paths which get divided up by parking lots, which ...
2
votes
1answer
174 views

How do you ignore one-ways osm2po?

I've been using OSM2PO and it's a great system so far. However, in version 4.5.2, I can't seem to ignore the one-way restrictions for calculating walk distances. In the browser version, I check on ...
0
votes
1answer
359 views

How to get City, State, Numeration, etc from OSM roads by Geofabrik?

I'm really new in this GIS world. I downloaded a shp file from Geofabrik (http://download.geofabrik.de/osm/south-america/chile.shp.zip) and imported it to Postgresql using Postgis. If I see the road ...
9
votes
2answers
4k views

Cutting up a shape file into smaller parts

I've downloaded the 350MB coastline shape file from Openstreetmap, but I really would like to work with a small part of them, is there a way to generate a shapefile of a small area. I'm using MacOSX ...
0
votes
2answers
384 views

Can I use Google maps tiles in OSM for Iran?

I use Google maps in my application but because this service has limitation (2500 request per day for Geocoding) I want to use OSM instead of Google maps. But OSM doesn't cover Iran as well as Google ...
2
votes
2answers
2k views

Openlayers: How to highlight a point on mouse over a line

Any suggestions on how to highlight a point on mouse over a line, I've read points from a javascript array, lines are drawn by using them and I want to highlight some points in that array by moving ...
2
votes
2answers
926 views

How to render a multi-layered (raster + vector) map to a file (PDF, SVG or JPEG, PNG)?

When using OpenLayers I can compose a map with several layers which is displayed nicely by my browser, but I need to do the same server side (no browser composing the layers), and I'm waiting a image ...
21
votes
6answers
4k views

Creating a small web-mapping/map-tiling service

I am looking for a small-scale and easy way to present one or more polygon shapefiles online (on a municipal website without any existing map-server infrastructure, to be precise). Right now, I'm ...
0
votes
3answers
2k views

OpenLayers: Error message 404 (Not Found)

I've created a map using openlayers contains osm, google layers and some vector features, On loading it shows two errors like: GET http://tile.openstreetmap.org/0/0/1.png 404 (Not Found). How to ...
1
vote
2answers
326 views

How to join polygons and lines vector maps from openstreetmap?

I am struggling with the data format OSM gives me: I want to use OSM data for routing, but all round-abouts and parking lots are not in the lines layer. They are situated in the poly(lines) layer. ...
2
votes
1answer
47 views

How much time is required to get my osm data updated

I updated some roads in osm map. I updated using JOSM. But the updates are not visible in the map after 2 days. I am new to osm maps. Can anyone please tell me the possible reasons.
1
vote
1answer
1k views

OpenLayers : How to make a marker fixed [duplicate]

Possible Duplicate: How to skip drag event to stop a feature being dragged I've created a map and added markers to baselayer on click by using this code : vectorLayer = new ...
1
vote
1answer
797 views

Creating a openstreetmap renderer in android

I am trying to learn how the openstreetmap is rendered in android. There are already some tools out there that are rendering the maps. Specially I am focusing on offline maps renderer. There is one ...
3
votes
2answers
597 views

How much information does QGIS's OpenStreetmap Plugin download?

I am using the OpenStreetmap Plugin for QGIS to download the information for my university extent. The information as I see is downloaded in vector format divided into Points, polygons and lines... ...
1
vote
2answers
2k views

OpenLayers WMS disappears when including OpenStreetMap

Setup: ArcSDE 9.3.2 Oracle 11g GeoServer 2.1.4 OpenLayers (latest build) OpenStreetMap InternetExplorer 7.0/ Google Chrome EDIT: I have updated information just below the screen shots ...
2
votes
1answer
268 views

How to import datasets into OpenStreetMap?

A coworker of mine was recently given permission to import our local county government's GIS data into OpenStreetMap. I've made single edits on the OpenStreetMap site before, but I have never imported ...
2
votes
1answer
611 views

OSM data, line and polygon confusion

Taking some OSM (*.osm) data downloaded from Geofabrik I have created a Spatialite database using spatialite_osm_map. Now I have problems, because some of the data that is supposed to be in the form ...
0
votes
1answer
128 views

QGIS - Unable to get OSM data on re-opening project

I have now successfully got OSM maps to import as I would like, but if I save the project then later re-open, I always get a bad layer message and I have to reload the OSM once the project is open. ...
1
vote
1answer
540 views

Loading features incrementally in a vector layer

I am new to OpenLayers. In one experiment I am doing I want to load, incrementally, features in a vector layer. In my setting, these features should be loaded from distinct OSM files (generated ...