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
385 views

How to get boundaries of city?

is there any api to get bounds of city. What i want is i give city name and in return i get that city boundaries. I have searched google maps, arcgis and OpenStreetMap but didnt found any ...
2
votes
1answer
152 views

GTFS import and pgRouting

I know there are some questions out there already. I'm looking at a fresh approach. I found the gtfs2pgrouting project from pgRoutings' GitHub page. But it's three years old and doesn't work with ...
0
votes
1answer
18 views

Open layer 3 (3.8.2) How to set a blank Basemap?

I want to add a blank (empty) base map option to the set of radio button . here is how a part of my code looks. // MapQuest streets new ol.layer.Tile({ title: 'Street Map', group: ...
0
votes
0answers
21 views

Incomplete data - lines missing from osm2pgrouting

I am importing OSM data into PostGIS using osm2pgrouting but some data is missing/did not import. I am using the default mapconfig.xml and this appears to work for most roads. For example in below ...
0
votes
1answer
877 views

How to narrow the result from Nominatim with only cities and countries, no additional areas with the same name?

I'm trying to get WKT or GeoJson polygons of cities and countries from Nominatim (for example, Paris and France). I send a GET request but it returns me several results named "Paris" or "France". How ...
0
votes
2answers
20 views

error downloading from OpenStreetMAp (“..server replied: Gateway Time-Out”)

I've been trying to download OpenStreetMap data (vectorial > OpenStreetMap > Download data), but I get the error shown in the image below. Anyone know how to fix it? I have tried in different ...
0
votes
0answers
20 views

Missing Leaflet icon with Html2canvas

I am using Html2canvas to capture images from a map viewer and Leaflet to add custom icon marker. The origin of the marker is at the top-left corner so when it is added to the map, the geographic ...
1
vote
2answers
32 views

library to create static maps (an image) with custom map features

Do you know if there is a small library (preferably in python or java) around that allows the creation of static map. Something where you can specific the URL of your TMS server, width and height in ...
2
votes
2answers
166 views

Using custom styles with Mapnik

I'm setting up a custom tile server using OpenstreetMaps and Mapnik. I've been able to successfully setup the server and serve tiles using it. I'm using the OSM-Bright style right now. I would like ...
1
vote
2answers
236 views

Getting OSM maps in Equirectangular Projection via osm2pgsql

I'm trying to import some OSM data into psql as equirectangular projection using osm2pgsql with the following command: osm2pgsql -c -d osm -S /usr/local/share/osm2pgsql/default.style -l ...
0
votes
2answers
38 views

Simplifying Ways in OpenStreetMap Data

Is there a (current) best practice to simplify ways? I have found: https://github.com/podolsir/osmosis-simplifyways But besides not being alive, here ...
0
votes
0answers
16 views

Nominatim Query Locally

The Problem: I have a local open street maps server set up and rendering tiles perfectly. I wanted to add search capabilities so I installed Nominatim and did the following: ./utils/setup.php ...
3
votes
0answers
60 views

Using Waze map tiles with Leaflet

I came across this Map Comparisons where they have used Waze map tiles. I searched around and couldn't find any official documentation for using Waze tiles in leaflet. I couldn't even find their ...
0
votes
0answers
21 views

Road Junctions from OpenstreetMaps

I have two points(as a pair of latlongs) on the map(close to a road) with me. I am trying to predict the amount of common traffic between these two points. I will like to use openstreetmaps to find ...
1
vote
1answer
23 views

osmar returning objects with no features- mapping with R

> src <- osmsource_api() > bb <- center_bbox(51.3528, -0.4468, 7000, 7000) > wb <- get_osm(bb, source = src) > wb osmar object 0 nodes, 0 ways, 0 relations Trying to pull data ...
2
votes
2answers
43 views

QuickOSM returns no result

I am trying to download the polygons for the Umweltzone Heidelberg from OpenStreetMap using QuickOSM in QGIS. I queried by name as shown in the screenshot: The corresponding OSM script looks like ...
4
votes
2answers
924 views

In osm2pgsql how is the planet_osm_roads table populated?

I'm using osm2pgsql to populate a North America OSM database from planet.osm. I like how simple the resulting PostGIS schema is, but I'm a bit confused by its contents. I have the two tables ...
0
votes
0answers
19 views

How do I get started with Open Source Routing Machine (OSRM) on Amazon EC2?

Are there any articles or tutorials on how to deploy Open Source Routing Machine (OSRM) on Amazon AWS (EC2 or EC2 Container service)? Thanks in advance.
0
votes
1answer
26 views

What is the unit in which value returned by OL3's geom.getArea() method?

If It is Going to return in some standard unit What is it ? so that i can convert to my desired unit. Is it possible to set the Measuring Unit type like ESRI's API support?, That i'm able to set ...
0
votes
1answer
195 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
0answers
11 views

OSM Server on Windows via MobaXterm?

Has anyone tried setting up an OSM server using Apache2, mod_tile, renderd, PostGIS, and Mapnik using MobaXterm on Windows? Many packages appear to be available for MobaXterm including Postgres and ...
0
votes
0answers
12 views

Polygons of traffic separation schemes for sea map

where can i get polygons of traffic separation schemes for sea? i have already gone through some website but didn't found anywhere. OpenSeaMap is providing lineString of traffic lanes, but i want to ...
0
votes
0answers
16 views

using changeset for larger region to update OSM data in PostGIS

I'm using the OSM import and update workflow described here to maintain OSM data in a PostGIS database. Import (osm2pgsql): osm2pgsql -c -d gps -U gps --cache 8000 --number-processes 4 --slim ...
1
vote
1answer
39 views

A few PgRouting database design questions

Does someone know how the cost field in PgRouting is calculated? What are 'source' and 'target' good for? 'osm_source_id' and 'osm_target_id' contain the same information using different numbers. Is ...
0
votes
1answer
19 views

Create a rough “world overview” map with mkgmap

I'm trying to generate a "World overview map" for my Garmin device. The idea is to have this map on the device all the time, for a very rough idea of the position and then feed in higher resolution ...
1
vote
4answers
57 views

Does Google Maps API or OSM provide location/place boundaries

I've been digging around today in Google Maps and Leaflet API's to find if there is an easy way to get these boundaries instead of needing our users to manually outline these things (like drawing ...
1
vote
1answer
634 views

Can I add OpenCycleMap to ArcGIS Explorer Desktop?

I'm using the ArcGIS Explorer Desktop (free viewer) - build 1750 (latest). It comes with several built in base maps, including OpenStreetMap. Is it possible to add to it OpenCycleMap: ...
2
votes
3answers
273 views

Prevent Leaflet from requesting non-existing custom tiles

I have created custom tiles using TileMill. extracted tiles as png images and adding them on base layer. using following code var venu_map = new L.tileLayer('static/b18/{z}/{x}/{y}.png', { ...
0
votes
1answer
55 views

Nominatim installation error: Out of memory for node cache dense index

I am installing Nominatim on my Ubuntu server 14.04 through this link and trying to load OSM data into my postgreSQL database. For loading into my database I am using this command as given in the ...
0
votes
1answer
157 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 ...
1
vote
1answer
20 views

How to use the Tile Server to fetch latitude/longitude data

I have installed a tile server using the following link and my main purpose was to geocode as many times as possible. Initially I was using openstreet API to geocode but they have certain limits so ...
1
vote
4answers
2k views

What format is lat/long stored in OSM PostGIS?

Question: How do I to get the lat, long for all the toll booths stored in OSM for Virginia? Current Query: > gis=# select * from planet_osm_nodes where ('toll_booth' = ANY(tags)); id ...
0
votes
1answer
22 views

Osm2pgsql failed due to error when I try to import data into PostgreSQL

I am using the following link to install openstreetmap server on my ubuntu 14.04 server. I have followed their tutorial line by line and installed most of the dependencies and everything. When I try ...
1
vote
3answers
40 views

Permission Denied when installing openstreetmap server

I am installing a tile server from this link on my Ubuntu Machine 14.04. The problem I am facing is in this line : ./make.py cd ../OSMBright/ carto project.mml > OSMBright.xml Whenever I enter ...
8
votes
2answers
955 views

Is it possible to geocode street intersections using Nominatim?

Is it possible to geocode the location of a street intersection using Nominatim? Example geocode query Commonwealth Ave at Washington Street, Boston, MA Successful Geocode by Google ...
1
vote
2answers
165 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 ...
1
vote
1answer
92 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 ...
2
votes
2answers
57 views

Is there a way to get undistorted maps in R (when using the OpenStreetMap package)?

When I download a large map within R (using the OpenStreetMap package) and I reproject the map (ideally to +proj=longlat), the map will always turn out distorted, making country labels etc. near the ...
2
votes
2answers
85 views

Geocoding on OSM-shape files via elasticsearch

I want to get a geocoding system based on osm data and elasticsearch engine. I've tried some projects like komoot\photon, but, as I'm a really newbie in this, I stuck on preparing of the data for my ...
4
votes
1answer
843 views

USGS Topographic Map Online API?

I am creating a website for a non-profit organization and would like to plot points on a map similar to this: http://www.arcgis.com/home/item.html?id=931d892ac7a843d7ba29d085e0433465 I am currently ...
1
vote
1answer
237 views

qgis 2.8 openlayers plugin : google & OSM

I'm working currently for a big project with QGIS 2.8 (windows). I would like load satellite images (google or OSM for instance) as baselayer. I know the usefull plugin called openlayers plugin. I ...
0
votes
0answers
24 views

Proportional (graduated) symbols map using uMap

Good day. How can I make a web-map with proportional (graduated) symbols or the correct heatmap on the base of numeric data from attribute table using uMap? I have some points with data in columns ...
0
votes
2answers
247 views

using mod_tile in windows

I am trying to generate tiles on the fly in windows using mod_tile. I have followed the tutorial http://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ on ubuntu and successfully ...
1
vote
2answers
273 views

Tiled raster image to be placed in an OSM/ Leaflet.js map

I have a mapoverlay in a custom projection which I need to add as a layer to an Openstreet map within a website. Since I was not able to change the projection earlier, I decided to manipulate the ...
3
votes
1answer
948 views

How to manage the osmosis filters?

I am a complete beginner in OSM and osmosis, and I am trying to build a stripped down version of a local map, in order to add nodes of public lights that would be used for maintenance. I have used the ...
3
votes
1answer
116 views

How to create a pedestrian routing graph from OSM?

I am interested in obtaining the foot paths from OSM data. Specifically I consider the area within the city limits of Berlin. I downloaded the corresponding OSM file from Geofabrik and I intend to use ...
0
votes
0answers
19 views

To find a substring of a linestring in postgis to be used in playback in map

I have gps coordinates as point outside the linestring/road. I have interpolated to the closest point in the line using ST_Line_Interpolate_Point(). Now I need to draw line through these points and it ...
0
votes
2answers
191 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) ...
1
vote
1answer
56 views

Determine Angle of Street by Parsing an Overpass-Turbo output xml

I am currently downloading all the street intersections from a bounding box using the query below (see it on overpass). <query type="way" into="hw"> <has-kv k="highway"/> <has-kv ...
3
votes
2answers
65 views

How to get changeset tag from .osm file into PostGIS enabled Postgres db

End goal: visualize geographic data from .osm file with QGIS by adding PostGIS layers which include changeset information. I have used osm2pgsql successfully to populate PostGIS and visualize the ...