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)

2
votes
1answer
21 views

How do I get the closest point on a road to a point when I have imported OSM data using osm2pgsql?

I have been trying to use OSM data to find the closest point to a road for a given point. I imported the OSM data into postgis using osm2pgsql, and I am getting results back, but they are at the ...
3
votes
1answer
298 views

Symbology for Open Street Map [OSM] Data in MapInfo [tab] format

I have shapefiles for the different SOM layers which I have translated into TABs but I am now trying to symbolise them in a similar style to OSM online. Is there a way to easily apply the OSM ...
3
votes
2answers
32 views

Querying PostGIS and OSM to get only major stations and subway of UK?

I am working with Great Britain OSM data. I have read the classification of UK railway stations. There are a lot of classes in there such as subway entrance, halt, station and many others. I want to ...
0
votes
0answers
9 views

CartoCSS: labels along inside of polygon boundary

I'm using CartoCSS to render maps that include large polygons (like national parks). At higher zoom levels I want labels along the inside of the polygon boundaries, like in OpenStreetMap: I ...
1
vote
0answers
11 views

How to sync html list with markers layer in openlayers?

I have a osm map and with openlayers i can mark a place on it and also have popup for markers, the problem is if i show all markers in map and i have a list, how to show each marker popup by clicking ...
2
votes
1answer
43 views

osm: relation tags to nodes

I filter an osm planet extract using osmfilter. I am only interested in nodes belonging to route=subway relations. After performing this operation, I use osm2psql to load all the data into my postgres ...
1
vote
1answer
20 views

Unable to find either renderd.py or generate_tiles.py

We created a Ubuntu 14.04.1 LTS x64 OSM tile server from packages using the excellent instructions provided by http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ The tile ...
0
votes
1answer
891 views

How to set up an offline maps viewer application on linux?

I'm having an 8-years old notebook (pentium 4 3Ghz 1Gb Ram) with Debian (installed recently), I just want to be able to navigate through the map around 1-2 cities, with ability to seek adresses and ...
0
votes
2answers
108 views

Error with existing OSM QGIS style

I'm trying to use existing OSM style file like those of AsgerPetersen (https://github.com/3liz/osm-in-qgis/tree/master/styles/openstreetmap/geofabrik) or anitagraser's ...
1
vote
0answers
20 views

Can't find the proper settings to import Europe map using osm2pgsql?

I'm trying to deploy a map server, i used http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/. My server setup is: Xeon E3-1230v2 Quad-qore, 16GB RAM DDR3, 2x2TB HDD in Software ...
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 ...
1
vote
1answer
328 views

How to use OSM Bright with Mapnik Renderd

I have set up an OSM tile server using instructions at this blog - http://seshagiriprabhu.wordpress.com/2013/07/21/building-an-openstreetmap-tile-server-on-ubuntu-12-04-lts/ The slippymap renders ...
2
votes
2answers
905 views

Openlayers Vector Layer Polygons not displaying properly with OSM

I have an Openlayers map displaying Acetate tiles in OSM, and I'm drawing polygon regions on a vector layer to represent the countries of the world. This works fine for the most part, however, there ...
4
votes
2answers
27 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 ...
40
votes
9answers
12k views

Creating drive time polygons using open source tools

Is anyone using open source tools and/or data to generate drive time polygons that radiate out from a given location? For example, I have used ESRI products like Network Analyst and Business Analyst ...
1
vote
1answer
21 views

Error while importing osm to Postgres

I'm trying to import osm to Postgres using the osm2pgsql tool. osm2pgsql -cGs -d osm -U postgres -W postgres -H localhost -S /usr/local/share/osm2pgsql/default.style ...
0
votes
1answer
293 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 ...
3
votes
0answers
23 views

What is the openlayer.js alternative of unloadinvisibletiles of leaflet.js

I am using open layers with a tile server. I want to load maps while panning and destroy the loaded region when out of screen (Alternative to unloadinvisibletiles of leaflet.js) How am i suppose to ...
2
votes
0answers
28 views

${z}/${x}/${y}.png explanation needed for offline map

Im trying to build map with OMS under Linux (Ubuntu) to made an offline apps. Im working with Ionic and building just for Android for write now. I have the base code: var map; function ...
2
votes
1answer
51 views

geting geograpic locations from an address list

I have a table with 150 addresses. I would like to automaticly generate a point shapefile/PostGIS layer from all of them. Is that possible in any way or do I have to search for every single address to ...
-1
votes
0answers
32 views

What are alternatives for SLD editor?

I am working with Geoserver and Geoexplorer and try to create my own sld to style those maps. I was download osmdata and add layers to map. I was try to use Qgis and Udig for styling data,but the ...
3
votes
1answer
33 views

Finding all segments that makeup a road in OSM

I've spent 2 days trying to figure this out and I'm afraid that it's something that's not possible. If that's the case then I'm thinking the wrong with with respect to OSM data. Let's say I have a ...
0
votes
2answers
105 views

Enlisting all OpenStreetMap (OSM) street names for General Transit Feed Specification (GTFS) routes?

I have exported OpenStreetMap (OSM) data of a city to my local postgresql db using osm2pgsql. I would like to add the General Transit Feed Specification (GTFS) routes information (say bus routes) ...
0
votes
1answer
11 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 ...
3
votes
2answers
63 views

Why is the OSM map itself is not visible in my qgis window?

I'm new in working with QGIS. I have tried to download an OSM map of Rome and its surroundings into my QGIS. As far as I am concerned, I have followed each step which I could find on various ...
1
vote
2answers
40 views

QGIS: OSM Landscape layer not printed

I am new in GIS and I am trying to print a new map. If I use Google Street and web layer, it got printed without problem in the composer, but OSM Landscape does not appear on the printed document (it ...
0
votes
0answers
15 views

How can I detect what changes osmosis do on my osm planet database?

I have already imported a planet osm file in my postgresql database and have now configured a daily update with osmosis. Is there any way to find out what changes osmosis did in the database? I use a ...
0
votes
1answer
44 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 ...
2
votes
2answers
67 views

How to change from EPSG:900913 to EPSG:3857 in Postgresql

I didn't use the '-E 3857' switch when importing the OSM data into postgresql using osm2psql. I'm trying to set up a map server for the first time and I'm following the instructions from here: ...
3
votes
1answer
26 views

mod_tile: how to avoid cache expiry during DB rebuild

I'm running an OSM tile server with the default stack (mapnik, tirex, mod_tile, apache). Since I need only specific areas, I usually pre-render all tiles. Now I want to rebuild the Postgres DB bcs of ...
1
vote
1answer
15 views

OSM basemap WMS for 2 different years

Is it possible to get OSM basemap WMS for two different years ( 2000 and 2010 )
2
votes
1answer
35 views

Export TileMill project as SVG image with CartoCSS applied to it

I am able to export TileMill project as mbtiles and rendering tiles on map using leaflet which is working fine. But if I export the project as SVG or PNG image the CartoCSS which I have written is not ...
0
votes
2answers
56 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 ...
3
votes
1answer
541 views

Driving directions and multi-modal route planning service for a city with OpenStreetMap data

First off I'd like to mention that I've never come close to anything-GIS until a few weeks ago when I thought of this. So please expect some layman's questions. I'm looking to create driving ...
2
votes
1answer
31 views

Get complete coordinates of a road in OSM Overpass API

I am trying to get a road entire coordinates using this code <osm-script output="json"> <id-query ref="32809713" type="way"/> <!-- added by auto repair --> <union> ...
0
votes
1answer
17 views

How to get countries through OpenLayers.Protocol.WFS?

Am able to get states information of United States by using OpenLayers Protocol. new OpenLayers.Protocol.WFS({ version: "1.1.0", srsName: "EPSG:900913", ...
3
votes
1answer
13 views

Trying to get major roads using Name of the road

I am trying to use OverPassApi to get a road Geopoints of Major/Minor roads in USA. Here is the query <osm-script output="json"> <id-query {{nominatimArea:USA}} into="area"/> ...
2
votes
1answer
18 views

Can we use existing plant database for Nominatim

i have imported data from the OSM to PGSQL using osm2pgsql for generating tiles, and now i need to add Nominatim support also, this Nominatim requires the same OSM data. can we use the existing ...
1
vote
1answer
21 views

Android library to show wkb

I would like to use open street map to show data from wkb file(wkb + some extended attributes). I have found out that wkb file is possible to read/query using spatialite. But i dont know how to ...
4
votes
1answer
79 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 ...
1
vote
2answers
95 views

How to style ways with CartoCSS depending on a relation property (OSM)

I'm using CartoCSS together with an OSM Postgres DB (hstore on). I want to set the line color depending on the operator tag of relations (routes). How can I do that? Update Thanks to Paul Norman for ...
2
votes
3answers
50 views

Need to extract OSM data for my area from 2 neighbor countries

I need to prepare offline background data for my area of interest which is located around border between Czech Republic and Germany. I need to convert the OSM data to spatialite and then to use in ...
-2
votes
0answers
36 views

Osm Map Rendering Error

I'am creating my own Tile server with mapnik,osm2pgsql,renderd etc.. for that i followed the instructions give on switch2osm.org,the link is below ...
0
votes
2answers
763 views

How to get a list of OSM relations (id numbers) of cities and countries only?

I want to get OSM polygon shapes (GEOJson or WKT) of countries and cities only. I know that it is called a "relation" in OSM and each relation has its own id (New York is 175905, for example). How may ...
0
votes
2answers
30 views

Tilt of OpenStreetMap with LeafletJs

I am using LeafletJs as mapping library for OpenStreetMaps. Is there any method map.Tilt() in Leaflet api like google provides map = new google.maps.Map(document.getElementById('map-canvas'), { ...
0
votes
0answers
28 views

mapp css from open street map to geo server shows error message

I am using Geoserver version2.6.0 and try to create my own map with styles.. I copy style from https://github.com/gravitystorm/openstreetmap-carto/blob/master/roads.mss and try to save it in ...
2
votes
2answers
330 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
0
votes
1answer
151 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 ...
1
vote
0answers
52 views

Query layer in ArcGIS 10.2.2 with PostgreSQL not querying data

After some days I was finally able to import OSM data to a PostgreSQL database and connect it with ArcGIS 10.2.2 I can load every piece I want by simple clicking "Add data ..." however a SQL query ...
1
vote
2answers
110 views

Is there a way to keep toll_booth nodes in osm2po's output?

I am writing a code that performs a custom routing on the sql relation generated by osm2po. Amongst several other things, I need to detect if the selected route (list of ids) passes through one or ...