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

Get postal codes of a city in OSM via postgis/postgresql

So, I'm trying to get the postal codes of a city (polygon). Unfortunately, I never get consistent results with my code: SELECT a.name, b.tags->'postal_code' FROM planet_osm_polygon a JOIN ...
0
votes
1answer
73 views

How to set zoom level for labels of highway in JOSM?

I'm new in using JOSM and open street map data . I import a shapefile of highways in JOSM and use it for styling the highways.Some highways are trunk ( in open street map standard ) and some of are ...
0
votes
2answers
395 views

Openlayers OSM Cross-Origin Issue [duplicate]

I'm developing a web map for my town. I made my own vector layers and, to avoid the too much "white", I decided to use as base layer OSM. The problem is that when I use the array of resolutions to set ...
0
votes
1answer
348 views

Remove unused nodes from OSM data files?

For some experiments on OSM data size, I am using osmfilter to remove ways and relations with certain tags from the planet dump. But AFAIK osmfilter does not remove the corresponding nodes. So I'm ...
0
votes
1answer
56 views

Change LineString type of Osm2Po edge and vertex file

Is it possible to change the linestring type from 2 to 3 dimensions in osm2po, and if so, how? Currently the generated table column looks like this: geom_way geometry(LineString,4326), but I would ...
0
votes
1answer
179 views

How to modify imposm data mapping in order to include the user name?

I want to import OSM data into postgresql with imposm. How do I have to modify the import process in order to have the user name as an attribute in my tables? Do I have to change that in the data ...
0
votes
1answer
513 views

OSM layer does not print in GeoServer printing module

I am new with the GeoServer printing module, in GeoServer version 2.6.0, freshly installed a few days ago. I can now print WMS layers and I think I configured the OSM data correctly. But it still ...
0
votes
1answer
157 views

Export Overpass-turbo Query Result to OSM File

I have a tool which has input is an osm file, I ussually get the osm file by exporting map data from http://openstreetmap.org. But now I have to get only data of roads so I use this query ...
0
votes
1answer
3k views

How can I add google map layer as additional layer (OpenLayer, OSM)?

I am total newbie when it comes to Geoserver, JavaScript etc. I have managed to get my map working and the layers from my localhost are showing on the map. Base layer is OSM but I would like to add ...
0
votes
1answer
346 views

osmosis library in java application

I want to do a navigation application OSM PBF files. I'm using the pbf files from the osm website. I was looking for a way to access the pbf files, I found that it can be accessed using the osmosis ...
0
votes
1answer
140 views

How to use a Geojson layer as a background mask?

I have some Geojson neighborhood shapes that I am using to create a small multiples chart. They are like this: I want to give them backgrounds for the area they represent. I want the streets and ...
0
votes
2answers
66 views

Edit OSM Map Graph

Can I use pgrouting (http://pgrouting.org/index.html) to change OSM data? My goal is to change the cost of some ways (increase and decrease) in order to change the routing calculation process. If ...
0
votes
1answer
133 views

Using Arcgis and OSM tiles in Openlayers application

I created a map object and specified options according to Arcgis tiled map tiles. var options = { scales: [120000, 60000, 30000, 15000, 5000, 2500, 500], resolutions: ...
0
votes
1answer
75 views

postgis loader osm shapefile

I downloaded the map of my city already in shapefile into postgis http://metro.teczno.com/ to load in order to consult routes using pgRouting. Iss happening the error: http://metro.teczno.com/ ...
0
votes
1answer
140 views

How to create GoogleMaps/OSM hyperlink for given bbox coordinates

I have extracted the bbox coordinates from a shapefile and want to create a hyperlink for google maps respectively OSM. When you click on the hyperlink the map should be zoomed to the bbox extend and ...
0
votes
1answer
94 views

Update OSM data already imported in qGIS

qGIS makes it really straightforward to import data from Open Street Map (there's a good tutorial here). However, despite this process is relatively straightforward, it takes some time to download the ...
0
votes
1answer
137 views

OSM-based military map

Is there an openstreetmap based system that makes it possible to draw something like military symbols? It should be possible to draw frontline, zones of control, battle events, troops, vehicles and so ...
0
votes
1answer
252 views

Changing labelling of OpenStreetMap Base Map for ArcGIS Online?

I am creating a Story Map and using Open Street Maps as the base map. One issue my superiors see is the labeling of the streets. It's way to frequent! See the attached screenshot: Is there a way ...
0
votes
1answer
80 views

polytiles error

when I run a polytiles.py script for mapnik rendering. It worked just fine until the error: Process Process-1: Traceback (most recent call last): File ...
0
votes
1answer
387 views

Mapping application basic for ruby on rails

I am new to build map application using ruby on rails, with rails 4.1.1. I want to create map using map tiles. i have to use PostgreSQL database with postgis. Can you please explain how this flow ...
0
votes
1answer
1k views

mapnik rendering with OSM Carto style

When I want to make png tiles that look like ones in osm tile server what I need to do? Do I need to import data to postGIS db somehow WITH osm Carto style or I can just import it "normally" w/o ...
0
votes
1answer
708 views

How to start creating a map and exporting it as a raster MBTiles file

I am new to this whole GIS thing (my background is software-development, but not GIS) but I am super interested in making maps. So I started playing around with TileMill and was making my first steps ...
0
votes
1answer
315 views

Difference between 2 projections?

I have osm.xml file where projection is defined as follows: Map background-color="grey" srs="&srs900913;" minimum-version="2.0.0"> n settings.xml file projection is also set there as: <!ENTITY ...
0
votes
1answer
249 views

PostGis geometry name lookup failed for table

I have a table name erpAssets which has column name Region of type polygon. it contains entries of points also like (-79.4609576808001,43.9726680183837)). I have written query which convert these ...
0
votes
1answer
742 views

overpass-api or osmconvert: which method is more appropiate to use for files from 10 to 400 mb? [closed]

new to openstreetmap and this technology. update: some mentioned postgis: well - The database schema of postgis allready contains the following tables: nodes, ways, relations, node_tags, way_tags, ...
0
votes
1answer
127 views

an efficient way to find the pgrouting edges contained within an isochrone

So I am working with some pgrouting road network data in postgis2.0/postgresql 9.1. I am interested in routing around certain types of disasters like tornados or such. If a disaster event happens at ...
0
votes
2answers
103 views

How to define the symbology used in QGIS print composer without using separate styles for screen and print

I use scale-dependent symbols for mapping (rendering Openstreetmap vectors as it happens). For instance paths show up when zoomed closer than 1:50000, but only roads show when zoomed out. The rules ...
0
votes
1answer
143 views

osm2po errors when converting pbf file

I am trying to prepare OpenStreetMap data for routing. I have downloaded version 4.8.8 of osm2po. I also downloaded north-america-latest.osm.pbf from Geofabrik. The command I am running is: $ java ...
0
votes
1answer
405 views

Filter geojson or shapefiles

I'm trying to create a geojson file with a few shapes of roads from OSM. Now, I've been able to get shapefiles of the greater region (province) these roads are in from http://download.geofabrik.de/ . ...
0
votes
4answers
931 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
1answer
93 views

How can I add vector tiles to my tileserver?

I created my own tileserver under ubuntu 12.04 as described here: http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ now I want to serve the tiles as vectors, I found this: ...
0
votes
2answers
2k views

Vector Tile Rendering on iOS

I'm developing an iOS app for displaying my own custom map data (on GeoServer). The SDK I'm using to display my map is route-me (Alpstein fork) as the map viewer for now. route-me supports raster ...
0
votes
1answer
205 views

No building and Point of interest available while setting up “Rendering Osm Data Ubuntu using MAPSERVER”

I have followed RenderingOsmDataUbuntu 10.10 and set up Google styled web map using mapserver. The osm-google.map seems to be not using table osm_new_buildings. Also no POI (Point of interest) data is ...
0
votes
2answers
2k views

How to capture contour lines from OSM cycle map as vector?

In QGIS, there is a plugin to insert a OSM cycle map layer, that brings as an image from http. But I can't convert this OSM Plugin layer to a raster image. I can't even imagine how to get the contour ...
0
votes
1answer
243 views

Where to find information about LinkedGeoData ontology?

LinkedGeoData is an ontology with information derived from openstreetmap. I want to query linkedgeodata to get administrative areas and points inside those areas, but I would like to know a bit more ...
0
votes
2answers
172 views

Osmosis, Save to different schema

Does anyone know how to use osmosis to save to a different schema? I used the pgsnapshot_schema_0.6.sql to create a blank data table, but it always creates it in the public schema. I need to create ...
0
votes
3answers
151 views

How to extract shape of each segment?

osm2po library does a great job in creating the data required by pgRouting to calculate theshortest paths. But I need the shape (Geometry - LineString 4326) to be extracted when osm2po generates the ...
0
votes
1answer
79 views

OGR FeatureCount returns '-1' with OSM data

I am trying to read in an OSM file with OGR. import ogr driverOSM = ogr.GetDriverByName('OSM') roadsDs = driverOSM.Open('data/map.osm', 0) roadsLayer = roadsDs.GetLayer() The feature count returns ...
0
votes
1answer
90 views

JOSM plugin not working

I have been trying to use a PicLayer plugin in the JOSM editor, however after installing the plugin it would never appear in the top menu next to Windows, Audio, Help dropdowns (at least that's where ...
0
votes
1answer
441 views

How to convert OSM polyline data to polygons?

I just now downloaded OSM data .I am having the data as polylines. I want that polylines as polygons is it possible in Qgis?below I also posted the screen shot of the polyline also.
0
votes
2answers
308 views

Openstreetmaps API

I want to get few results from Openstreetmaps data. Such as I will submit a city/postal code and in return I want to get all street name within the city/postal code. This can easily done by full OSM ...
0
votes
1answer
554 views

Formatting OSM Data For Use in ESRI Address Locator

I've been given the task of researching the possibility of setting up an ArcGIS Geocoding Service that can work with OSM data. I am aware of Nominatim, but since these service(s) will be running on ...
0
votes
2answers
441 views

How to use OpenLayers OSM-Layer with degrees instead of meters?

I have an OSM-Layer as a base layer. When I create a vector I have to define the coordinates in meter. Is there a way to use degrees right a way without reprojecting them beforehand to meters? var p0 ...
0
votes
2answers
2k views

PGROuting 2 : Getting nearest node to a given point (with lat - long given)

I have a point whose latitude and longitude (only) are known, and a table of nodes with their geom. I want to find the closest node in the table to the given point. I think I can achieve this with ...
0
votes
1answer
390 views

OpenLayers - changing layer type (wms to OSM) and WKT transformation problems

I've created the very simple tool which utilizes OpenLayers.Format.WKT with DrawFeature - polygon and ModifyFeature together, so I can create and modify, load and save polygons in/from WKT format. ...
0
votes
1answer
854 views

Reverse geocoding polygon co-ordinates?

I have a large dataset of polygons for property sections that I need to reverse geocode. It was recommended that I use a GIS like Quantam to do this however from my research I am not 100% sure if a ...
0
votes
3answers
100 views

How to separate and get geographic area info from planetosm

I have planetosm data file which is nearly 18GB now i need to seperate and get only my country details. Is there any way to seperate that data from osm file? I'm using OSGEO 6.05
0
votes
1answer
374 views

missing tables vertices_tmp and vertices_tmp_id_seq pgrouting workshop

I'm using OSgeo 6.5 dvd and studing pgrouting workshop for get shortest path. I created database call "routing" and used "template_routing" for create tables but only 3 tables created. So then I ...
0
votes
2answers
847 views

add a vector point on OSM map

I have managed to show Lat and Lon function init() { navigator.geolocation.getCurrentPosition(function(position) { document.getElementById('myloc').innerHTML="Latitude: " + ...
0
votes
1answer
462 views

openlayers python proxy.cgi script is not taking parameters

I have setup the python proxy.cgi in cgi-bin folder in my server. [myserver]/cgi-bin/proxy.cgi returns the openlayers website [myserver]/cgi-bin/proxy.cgi?url=www.openlayers.org returns list index ...