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)

1
vote
2answers
122 views

Offline data and less space with Ruby

I have a very specific problem. I am trying to build an offline map on leaflet, rhomobile(based on ruby) and OSM data. The problem is that I am making now a offline layer images folder with the city ...
3
votes
2answers
613 views

Printing Map as Tiles in QGIS?

i need to print a detailed map, on a street level zoom of Metro Manila. i figured to do this i need to download map tiles, but that will be a breach on map usage in OSM. then i found this website, ...
8
votes
2answers
1k views

How to find the nearest city for a POI in a OpenStreetMap/PostGIS database?

I'm interested in finding additional data for the POIs in OSM database. Currently I can use the following SQL for getting the name+long+lat for all the POIs SELECT name, x(transform(way, ...
1
vote
1answer
980 views

How to set up an OSM routing server

I would like to set up an OSM routing server on my LAMP stack. I am interested in doing a lot of of routing queries. I have a search function that is closely related to getting the driving distance ...
0
votes
2answers
4k views

slow import via osm2pgsql to postgresql database

I try to import berlin.osm (33Mb) into the postgres database 9.1 via osm2pgsql. My desktop is mem 2Gb,proc 2Ghz,hdd 60Gb, RHEL6u2x64. This process is so slowly in particular when I'm going over ...
2
votes
1answer
742 views

Openstreetmap - retrieve nearby big cities for a given location

I was wondering how I can retrieve places near a given location? For example, if I pass the osm API the location "Paris" is it possible to retrieve all the main biggest cities around Paris within a ...
4
votes
2answers
860 views

OSM Python Utils: Modifying generate_tiles.py to create 512 x 512 tiles?

[Edited to include example image outputs] SE folks, I'm wanting to modify generate_tiles.py to create 512 x 512 tiles. At om_henners' recommendation, I tried replacing 12 of the 13 instances of 256 ...
1
vote
2answers
1k views

OSM data imported. Next?

The data was imported using the following command: osmosis --read-pbf file="/usr/local/lib/geoserver-2.1.3/data_dir/argentina.osm.pbf" --write-pgsql database="argosm" password="1234.5" user="argosm" ...
3
votes
1answer
2k views

Use OpenStreetMap in Basemapgallery - Manually

I dont know how to add the OpenStreetMap to the basemapgallery. I want to do this manually because when i use ShowARCGIS basemaps:true i get too many basemaps i dont use. Here's my code: ...
1
vote
2answers
394 views

Using OpenLayers with OSM as map

Got this code from a teacher and I don't know what I am doing wrong! I have searched around but I can't find the error. Visual Basic shows no error. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
0
votes
1answer
637 views

How can I relate between street and city in OSM imported data into SQL?

I've used OSM2MSSQL to fill db with 2 cities streets. Now I have the following tables in my DB : tNode tNodeTag tRelation tRelationMember tRelationTag tTagText tWay tWayCreation tWayTag How ...
7
votes
3answers
1k views

Downloading metro stations of Paris from OpenStreetMap?

I'm just getting acquainted with OSM (OpenStreetMap), so this might be a total newbie question, but I'm looking for OSM Point of Interest data for all metro stations in Paris. I'm sure this info ...
1
vote
1answer
178 views

Issues with OSM Plugin in QGIS on Ubuntu 12.04

(not sure how to wrap the subject into a question! But...) Here are some issues I've been having with the OSM plugin: 1) When I bring in the .OSM file, close QGIS, then reopen, I get a "Handle Bad ...
3
votes
1answer
157 views

Finding map icons for famous Paris landmarks?

Where can I find map icons for famous Paris landmarks? I am looking for icons for famous landmarks in Paris, such as the Eiffel Tower, Arc de Triomphe, Louvre, Notre Dame. These should do. For other ...
1
vote
0answers
368 views

error in data read in OSMembrane osmosis

I am just learning to use OSMembrane, and i created a simple pipeline to read an .osm file and write the same in another file. But it says error in reading the file. The report is like this and I can'...
1
vote
1answer
176 views

Do vertex IDs stay the same every time I run osm2po?

Does anybody knows if vertex (source, target columns) in osm2po tables are always the same? I have my dr_2po_4pgr table with routing data and dr_matrix with routes already made. In this table I have ...
1
vote
2answers
113 views

data type conversion extracting user defined tags as columns using Openstreetmap data

we have an ,osm data in which we have used some tags that we defined ourselves like, age, roof_type, roof_slope . we want to convert this file to shapefile, in which the roof_type tag appears as a ...
4
votes
1answer
3k 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 ...
3
votes
2answers
323 views

Where can I get public transportation route information for USA?

I'm trying to find a list of public transit route information, mainly location of bus and train stops for the US. I've looked around at some of the Google products and openstreetmap but can't find ...
2
votes
2answers
1k views

What can go wrong in UTM to WGS1984 conversion (shifted data)

I try to convert .shp files to OSM data with shp2osm and ogr2osm but the output data is shifted. Semi-Cross-Posting Warning: I have already asked a questions on the OSM help site, but this questions ...
2
votes
1answer
756 views

How to integrate Openstreetmap in Rails3.2 using Mongodb?

I'm planning to use Open street map in my Rails app to track locations, Can any one guide how to integrate Open street map with Rails 3.2, using MongoDB. Thanks
3
votes
1answer
592 views

Detect city from coordinates

I need to know how to detect which city belong certain coordinates. Wich is the best way to do this? Thanks in advance. Pd: excuse my english
3
votes
1answer
382 views

OpenLayers OSM tile boundary

I have a local tile source of OSM tiles. I'd like to show the tile zoom, x, y on the tile so that I can optimize and create small offline groups of tile for specific areas(polygons). I can get the ...
2
votes
1answer
404 views

How to extract a single road from OSM GIS Database?

Is there a way to extract a single row out of the OSM-GIS-Database (by a Query)? It would be so much easier if I could find an EER Model of the Database. I was searching a long term and found very ...
11
votes
3answers
3k views

Is there service for exporting georeferenced OpenStreetMap (OSM) maps in GeoTiff format?

Is there a service available for exporting georeferenced OpenStreetMap (OSM) maps in the GeoTiff format?
5
votes
2answers
1k views

OpenLayers XYZ Unable to Load Local Tiles

I have some local tiles that were generated from OpenStreetMaps using Maperitive. I've tried going through the docs and tests but the map is not loading. I'm not getting any errors in chrome's js ...
2
votes
0answers
340 views

From pgRouting shortest_path back to osm node id

I'm successfully performing path finding queries like shortest_path on data imported with osm2pgrouting. The tables I have inside my pgrouting DB are the following: List of relations ...
6
votes
2answers
331 views

Join multiple spatial tables by distance

I'm trying to join two tables, one which contains road names and the other just a point. After exhausting research I'm now stuck. The idea is to join up the two tables using only distance, ie, select ...
3
votes
1answer
2k views

Creating osm2pgsql tables in PostGIS database

I managed to partially setup osm2psql to work with my PostGIS DB. My DB contains now the following tables: Schema | Name | Type | Owner --------+-------------------+-------+------- ...
1
vote
2answers
95 views

Not rendered pois on OpenStreetMap

There are a few poi that I can see on Josm that are not rendered to the final map. OSM database contains them at least for some month. I can' figure out why the doesn't appear on the map. Example poi ...
3
votes
2answers
168 views

Multiple queries in a row

I have osm data imported into PostgreSQL with osm2po tool (wich makes the data routable). Also I have imported data relationed with nodes and node_tags with osmosis tool. I need to obtain a set of ...
1
vote
1answer
320 views

Howto setup osm2psql

I'm following these instructions to setup osm2psql . I need it to import osm data file inside a PostGIS DB. The following steps worked fine: createdb -E UTF8 -O user mydb createlang plpgsql mydb I ...
2
votes
1answer
91 views

qgis osx : Openstreetmap Plugin and tags

I'm using QGIS and The Openstreetmap Plugin to manage osm files. That plugin is very useful, but limited to a few tags that will be converted into dbf file. I'm looking for a method allowing to add ...
4
votes
3answers
1k 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 format)...
3
votes
1answer
534 views

What is the best API to use GeoTools or uDig (for the context of my application)?

I am trying to develop a java application that displays : Google maps, Openstreetmap and Bing Map Data. So which is the best SDK to use in this contet Geotools or uDig ?
2
votes
1answer
294 views

How to label a selection of an OSM layer depending on certain tags?

I just imported original OSM data to export a pdf-map by assigning graphic attributes to the features I need. The label tool in QGIS 1.8 allows to select certain features, like I can do with the ...
2
votes
3answers
501 views

How can I get a road network to run a simulation on?

I'm new to GIS and I'm asking this a bit out of desperation, but I'm trying my best not to get overwhelmed. :) I want to download a file that contains data of a road network (of what road network is ...
2
votes
0answers
58 views

Is it possible to have transition between switching base layers

I use OpenLayers to display several maps. While transitioning between Google Map layers, the new layer is superimposed onto the old one. But for OpenStreetMaps, there is this empty void in between ...
3
votes
2answers
187 views

Why are the results different for the same point using GEOS Point.transform and Postgis ST_Transform?

I'm trying to define a default point setting for OSM layers in my application and I want users to be able to define the default latitude and longitude in EPSG:4326. What I'm doing right now is to use ...
6
votes
3answers
4k views

How to import OSM data into Postgres DB using osm2pgsql in Linux?

I'm using the following command to import an osm file into a Postgres DB using Linux: osm2pgsql -v -a -U user -S default.style -d routing myfile.osm I got the following error: Setting up table: ...
3
votes
1answer
504 views

How to control what kind of tags / flags are imported with osm2po?

With the help of osm2po, I have successfully inserted the contents of the italian files (italy.osm.pbf) in a pgrouting-enabled database (postgresql 8.4) It displays fine in Qgis, using rule based ...
4
votes
1answer
465 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 geom='...
2
votes
1answer
160 views

Filter by specific amenity in OSM

I'm new to maps, and have been searching for the past couple of hours how to get started with OpenStreetMaps without much success. What I would like is a spreadsheet with the coordinates, names and ...
1
vote
1answer
93 views

Node rating like in Google Places?

Is there any tool or node/way tag in openstreetmap to obtain a POI rate as with the Google Places service ?(here nodes/places have a label/tag with the rating. e.g. <rating>3.2</rating>) ...
11
votes
4answers
822 views

How to add offsets to the route?

Edited: I want to ilustrate my question. Suppose that you're in "Point A" and want to go to "Point B". This points wouldn't be in "at_2po_4pgr" table cause aren't source/targets nodes. Then, I ...
2
votes
3answers
2k views

How to make zooming for OpenStreetMap in OpenLayers more sensitive to mouse wheel scrolling?

I have been testing OpenLayers for a while and I notice that the scrolling on OpenStreetMap layer does not make the map zoom in or out as much as I would like it to be. On most occasions, I am only ...
3
votes
3answers
505 views

How to get an older version of OpenStreetMap data?

For some reason in the map of the Dominican Republic's Capital there are a bunch of streets which doesn't have any names. I had an OSM file which I downloaded ealier this year which did have those ...
3
votes
0answers
158 views

Create a consistent topology using pgrouting

I'm developing an application that needs routing information for certain cities. First, I downloaded a openstreetmap datafile (*.osm) and then I imported it into a postgreSQL database using ...
-1
votes
1answer
96 views

How to add information to openstreetmap data?

I would like to add information to openstreetmap (routes,POI) but in a local version not to the version that is deployed on the web. So how can I do that ?
3
votes
1answer
350 views

osmosis merge: second input file being ignored, output is duplicate of first input file

I am trying to merge some .osm files. After looking at various examples online, I'm still having trouble. The command completes without error and there is an output file. However, the output file ...