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
1answer
83 views

Column “osm_meta” in osm2po 4.6.9

What's the utility of *osm_meta* column in osm2po (Version: 4.6.9) generated data? Thanks in advance!
1
vote
1answer
86 views

Add bunch of numbered locations?

To avoid carrying books and optimize things while traveling, I like to build a Google Map with sights and cafés/restaurants. I usually print it on paper or keep a PDF in my phone so that I don't pay ...
1
vote
1answer
72 views

Styling map elements based on their properties

I am currently generating tiles based on OSM data using Mapnik and Python and am quite happy using the XML styling but I am at a loss as to how to vary the styling on an element by element basis. I ...
8
votes
4answers
512 views

Openstreetmap of a specific city of USA

I want to get the osm of a specific city of USA. I can only get the whole state now. But how can I get the osm data for a specific city.
2
votes
1answer
725 views

How to Determine to world map size in pixel given this data?

How to Determine the world map size in pixels given this data? Map size of a particular area say, for example: Makati city, Philippines with bounds: Top-Right: 121.0281, 14.56497 Bottom-Left: ...
3
votes
1answer
1k views

Creating a fully custom map using OSM infrastructure

I would like to make a fully custom map (fictional, have to start from scratch basically) and use the OSM tools to make following things possible: crowd editing - the source data which is used to ...
2
votes
1answer
569 views

Apply QGIS Style to osm-File like in Open Cycle Map, Landscape Base-Layer

I try to mimick a rendering style like in Open Cycle Map (landscape base layer) in QGIS. However, I'm not able to find certain elements (i.e., wood and rivers) that are used in Open Cycle Map but seem ...
4
votes
1answer
188 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 ...
1
vote
0answers
157 views

Keep Getting Black OSM Tiles in Openlayers

When trying to view OSM tiles using the external storage example of OpenLayers, I keep getting black tiles when I zoom in and out. I don't know what the issue is but every time I zoom in/out there ...
3
votes
1answer
472 views

How to put a roads layer (OpenStreetMap) on top of KML polygons?

I need to develop a map where KMLs are overlayed with road layers. So, KMLs are polygons, and I would need to use a map tiles like OpenStreetMaps. But the problem is how to put roads on top of KML ...
5
votes
1answer
219 views

What is the bare minimum data I would need to import from an OSM data file in order to geocode an address?

I'm using osm2pgsql to import an extract of OpenStreetMap's data so I can geocode an address to a lat/lng. But I'm new to OSM and mapping so I'm having trouble figuring out what data is relevant and ...
3
votes
0answers
473 views

OpenStreetMap Tiles Not Loading in Firefox 17.0.1 - Pink Background [closed]

I recently ran into an issue where only a pink background is displayed in the openstreetmap on my webpage (tiles are not displaying). I found this topic OpenStreetMap tiles not loaded despite being ...
3
votes
2answers
695 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 ...
5
votes
2answers
167 views

Why the modifications I do in QGIS doesn't appear when I save an OSM file I created?

Through QGIS I loaded an OSM file I created and I'm trying to visualize what happens with the file in terms of codes after some modifications like adding points, lines or polygons. But the problem is ...
2
votes
1answer
86 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 ...
5
votes
1answer
813 views

Vector Building Footprint Resources - Tokyo

I typically know where to look for this data in the United States, but I'm at a loss when looking for building footprint shapefiles abroad. I thought I could find what I was looking for with Open ...
1
vote
1answer
677 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
3k 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
568 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 ...
1
vote
2answers
807 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
342 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 ...
1
vote
2answers
330 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 ...
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: ...
0
votes
1answer
531 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 ...
1
vote
1answer
167 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 ...
2
votes
3answers
3k views

Change zIndex of Vectors in openlayers

I have a bunch of linestring features on a vector layer. Some of them overlap. If I trigger the hover event on those features, I want them be in front. I did find some functions to set the z-index of ...
1
vote
1answer
332 views

A strange OSM tiles in Mapproxy

Could someone please help me with my issue? I try to use Mapproxy with OpenStreetMap server of tiles in order to get output WMS for my qgis client. Something like this: ... sources: arcgis_tms: ...
3
votes
1answer
142 views

Where can I find map icons for famous Paris landmarks?

Title says it all: looking for icons for famous landmarks in Paris, such as the Eiffel Tower, Arc de Triomphe, Louvre, Notre Dame. These should do. For other poi's I have general category-icons, but ...
1
vote
0answers
280 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 ...
1
vote
1answer
157 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 ...
6
votes
1answer
2k views

How to Optimize Openstreetmap Tile Rendering?

I am currently trying to render Water (3,198,333 records) and detailed world borders (processed_p) for the world. I am successful in rendering both layers, but I am not happy with performance. My ...
2
votes
2answers
886 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 ...
3
votes
2answers
229 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
1answer
492 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
1
vote
2answers
770 views

looking for open source Java SE map viewer library that work with osm files or osm pre-downloaded tiles

I am new here and I hope I can find answers to my question here! I am developing a mapping platform for desktop, web, mobile (Android). I finally finished embedding mapping into my android software ...
1
vote
2answers
82 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 ...
6
votes
2answers
260 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
2answers
164 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 ...
2
votes
0answers
295 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 ...
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
1answer
290 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 ...
5
votes
2answers
244 views

OSM Country import - missing border-near lakes, rivers

I'm importing a country (e.g Switzerland) from the cloudmade OSM branch and I'm failing to get the bordercrossing lakes on display. The same issue came up, when I tried to import the geofabrik .dpf ...
2
votes
1answer
252 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
409 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 ...
3
votes
2answers
168 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 ...
2
votes
0answers
54 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 ...
2
votes
1answer
431 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 ...
5
votes
3answers
3k 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: ...
1
vote
1answer
77 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>) ...
4
votes
1answer
375 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 ...