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
0answers
73 views

How to select main cities in a country from planet OSM data

I am trying to create a map with my own style with the help of geoserver and planet OSM data,but trying to give style to the polygon at different zoom level ,need to highlight main in cities in ...
1
vote
0answers
175 views

PostGIS: snap latitude/longitude input to nearest OSM road point

I need a function to return the nearest OSM road point for any latitude/longitude. i.e. users input a latitude/longitude and postgis finds and uses the point on a road that is the nearest to it. ...
0
votes
0answers
29 views

ST_Touches Function in Iterative Process

Im a complete newbie to postgis. I have the following problem: Got two tables: "mp_power_lines_new" -> contains lines of an electricity grid "uw.new"-> contains polygons of all substations in this ...
0
votes
0answers
33 views

Getting the middle of a way over Overpass API

I´m trying to import several Ways and Nodes from the OSM. But i dont want to get the Ways as a way with different nodes, only the middle of the way. In my case, all ways are an area (Parks, Parking ...
-1
votes
1answer
98 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 ...
0
votes
0answers
70 views

problem with show highway labels in certaint zoom level with mapsforge map

I'm using a mapsforge map ( .map format) in my projet .I converted the OSM file to mapsforge file and i use it. I want to show highway labels from zoom 13 to zoom 20 .I'm using vetorial map viewer. ...
2
votes
2answers
218 views

How to reproject this vector layer?

I have a dxf file and use this tool to convert it to shapefile. Then I apply some affine transformations and get a shapefile that does not fit the shapefiles downloaded from osm (EPSG:4326). I know ...
2
votes
1answer
121 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
2answers
54 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 ...
1
vote
0answers
43 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
1answer
80 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
42 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 ...
1
vote
0answers
34 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 ...
4
votes
2answers
146 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 ...
1
vote
1answer
117 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 ...
3
votes
0answers
77 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
97 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
64 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 ...
4
votes
1answer
60 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
1answer
30 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
76 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 ...
0
votes
0answers
20 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
47 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
144 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: ...
1
vote
1answer
25 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
74 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
150 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 ...
2
votes
1answer
140 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
22 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
61 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
66 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
48 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
93 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 ...
2
votes
3answers
64 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 ...
0
votes
2answers
83 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
52 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 ...
1
vote
0answers
105 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 ...
0
votes
0answers
61 views

OpenLayers Map does not load entirely in Firefox

My OpenLayers map does not load entirely in Firefox. It seems that it only loads the OSM tiles where there are no other DIV elements (please see the images). When I perform a zoom, it loads ...
1
vote
1answer
59 views

Mexican “Área Geoestadistica Básica” OSM admin level

I found shapefiles that split urban areas in Mexico into distinctions called Área Geoestadistica Básica (AGEB) from Mexico's geographic information site, INEGI This is what the divisions of Mexico ...
0
votes
1answer
80 views

Split OSM highways at vertice

I am looking for a tool or query to split the OSM highways into multiple segments. Each segment should only consist of two nodes (start and end). I should do the same as described in this GIS ...
7
votes
3answers
7k views

Load .osm.pbf file in Qgis

How can i do that ? On Linux or Windows ? The more simplest variant, if it exists. .osm.pbf it`s the extension for Openstreetmap extract that i get from a site that takes dayly extracts from osm: ...
1
vote
1answer
118 views

How does QGIS Topology Checker check the topology of SHP and OSM files? [closed]

Can anybody make me clear if .shp & .osm (OpenStreetMap Data) are holding topological data/relations or not. if .shp files are not holding then how qgis plugin topology checker checks for the ...
0
votes
1answer
84 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 ...
4
votes
3answers
535 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 ...
0
votes
1answer
28 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 ...
1
vote
1answer
42 views

what is the Maximum Number of replica download possible from download.geofabrik.de?

I am trying to update more than 5 months of Nominatim europe data from download.geofabrik.de. For 8 to 10 days its works fine but after that it showing error failed to open stream: HTTP request ...
0
votes
1answer
94 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
0answers
48 views

Generate random points in geometry near heatspots

I have an algorithm, that generates random points with in a given polygon (Generate random points in polygon. Algorithm question). The Polygons the points are generated in are communities or districts ...
0
votes
0answers
52 views

How to stylize/design maps without tools like m*p b*x (paid tools) using OSM data

I would like to know, how i'm able to stylize/design maps without using paid tools. I would love to work with Openstreetmap data. I know i could stylize these data in free GIS softwares like QGIS but ...