All Questions
Tagged with osm or openstreetmap
3,285 questions
6
votes
1
answer
4k
views
Help importing osm data into spatialite
I am trying to import OSM data into Spatialite.
The data is a query from overpass called features.osm
I'm using spatialite 3.0, and following examples, I have created a new database with:
$ ...
1
vote
1
answer
1k
views
OpenStreetMap default style for roads
I'm using the OpenStreetMap plugin for QGIS and I've successfully rendered a .osm file (lines). I've tried a few styles from github but so far none of them label all of the streets like the osm ...
2
votes
1
answer
1k
views
Creating a openstreetmap renderer in android
I am trying to learn how the openstreetmap is rendered in android. There are already some tools out there that are rendering the maps. Specially I am focusing on offline maps renderer. There is one ...
2
votes
1
answer
275
views
Simple GIS to Provide Urban Boundaries
I have an app built on top of Google Maps right now and everything works great.
I want to add one feature that seems exceedingly difficult. On my site, I want users to be able to type "Boston, MA" or ...
0
votes
1
answer
1k
views
How to change projection for layer?
i use two seperate datasource for my layers:
sql database for main map data, this is using EPSG:900913
osm file for some extra features, this data use EPSG:4326 projection
tiles for both layers are ...
1
vote
0
answers
1k
views
How to display indoor map using OpenLayers?
I created my osm file in JOSM, and i imported it to my database by osm2pgsql tool.
I created new layer in my osm.xml file, which selecting data with query:
select way from planet_osm_line,
(select ...
1
vote
1
answer
155
views
How to select data inside a tile?
I have an OpenStreetMap PostGIS database and would like to select specific data (for example all shops) of each tile (on a defined zoomlevel) on the planet. Is this possible to achieve and if yes, how?...
1
vote
1
answer
3k
views
creating vector layer from OSM file using OpenLayers
Using OpenLayers, I am creating a vector layer over a map.
This vector layer is created from an OSM xml file.
My purpose is to do some experiments in Prolog with this data, for example, querying the ...
3
votes
1
answer
245
views
Method to compute and visualize the closest set of facilities from OSM data
I want to use OSM to extract a set of facilities e.g. school, park, hospital inside a given region.
from that, transform the area in grid and for each cell in a grid compute its score mixing the ...
41
votes
4
answers
39k
views
Select bounding box using postGIS?
I want to create a query to select all ways and their nodes that exist within a bounding box using postGIS. The bounding box shall includes all details as osmosis "--bounding-box" command will ...
3
votes
3
answers
218
views
Do any maps exist that allow me to get lat/lng from a point with no derivative-licensing issues?
I need a map I can display that lets the user click on a point then returns the Lat and Lng.
EDIT TO CLARIFY @Igor: Yes, the user is clicking a specific feature on the map so I guess it would ...
3
votes
1
answer
139
views
When using OpenLayers plugins maps, can I have Longitude/Lattitude labelled on my grid when using the Map composer in QGIS?
Using OpenLayers plugins maps, can I have Longitude/Latitude labelled on my grid when using the Map composer in QGIS?
31
votes
4
answers
2k
views
Donating and volunteering geographical knowledge? [closed]
I know a lot about the places I visit, and I want to share it with everyone.
I have been donating and volunteering at OpenStreetMap, and I am also aware of Google Maps.
Where else can I help with ...
1
vote
2
answers
2k
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 ...
8
votes
4
answers
12k
views
Looking for geodata of Europe's major roads
As stated in the title, I'm currently looking for a shapefile/other geodata source of Europe's major roads (highways). If anybody knows a free datasource (or a possibility to extract that data from ...
2
votes
1
answer
856
views
How to add more than one xml file per layer
I'm using this code to add xml (osm relations) files to my map.
osm_layer = new OpenLayers.Layer.GML("Polygon", relation.xml, {
format: OpenLayers.Format.OSM,
style: {strokeColor: "blue"},
projection:...
5
votes
4
answers
3k
views
OSM To Postgis & WGS84 problems
I’m trying to import OpenStreetMap (OSM) data into postGIS it doesn’t appear to be working in that features do not appear to be in the correct place..
Using the QGIS OSM add in and a coastal shape ...
3
votes
2
answers
2k
views
Display two layers with OpenLayers at once
How can i display two layers with diferent projections at once? For example i have layer with EPSG:70076 and OSM layer.
2
votes
2
answers
9k
views
How to remove layers of detail from an osm file? [closed]
I want to remove some layers from the osm map of an area. It has all the details like POI, offline routing and all. But I just want the map data. How can I remove this extra layer from the map?
1
vote
1
answer
370
views
Returning gps points in form of gpx files in pgrouting?
I am trying to create a service that returns the shortest path for a given start and end destination. What I did was used shortest path query provided by pgrouting to calculate the vertex and edges ...
9
votes
3
answers
3k
views
Large Open Street Map OSM file to Shapefile. Is there any hope for 32-bit FME?
I have a large OSM XML file (around 8 GB) that I was hoping to process in FME. I have a workbench that I previously used to process smaller files (500 MB) into feature type-specific Shapefiles (e.g. ...
1
vote
0
answers
120
views
SLD for OSM data in GeoServer [duplicate]
Possible Duplicate:
Standard SLDs for OpenStreetMaps?
I can't find a good SLD for OSM.
I downloaded the OSM data and imported it to PostGIS. With GeoServer I use it as a data source to create my ...
1
vote
1
answer
212
views
Generate source_id and target_ id for every segment in a multilinestring geometry (PostGIS|PgRouting)
I am working on a project that requires finding the shortest path and to achieve this, I've used the PgRouting dijkstra function and it's all worked out perfectly.
Initially, the road network was ...
3
votes
2
answers
1k
views
OSM To Postgis & WGS84 Newbie confusion
I wonder if someone can clarify as I'm confused.
I need to load planet OSM data into PostGIS so I downloaded a small data set of a UK County and followed the instructions here loading the Google ...
1
vote
1
answer
927
views
what format distanceTo function returns in OpenLayers?
i am using distanceTo function in OpenLayers Geometry.
http://dev.openlayers.org/docs/files/OpenLayers/Geometry/Point-js.html#OpenLayers.Geometry.Point.distanceTo
here am confused in which format it ...
8
votes
1
answer
8k
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 ...
15
votes
4
answers
37k
views
Simple way to have an offline web based map? [closed]
My goal is to have a world map embedded in a web page, but without access to the internet. Preferrably only a set of tiles in combination with some slippy map js-lib. Storage space is not really an ...
2
votes
1
answer
532
views
how to avoid the bbox limitations on a Mapquest XAPI request
I am doing the following: I send a request to the API-Server - over http as a response I get the following result - in XML
example: the following link gives back all the Nodes of the Type amenity=...
1
vote
1
answer
2k
views
sending a XAPI-Request to the API-Server - over http
pretty new to Geo-Informatics so do not bear with me if my questions sound like newbie-questions: can i do some requests on POIs of Openstreetmap with XAPI.
doing like so: i send a request to the ...
6
votes
4
answers
14k
views
How to serve OSM Tiles on Windows?
Was hoping I could just extract tiles into a local file system, point IIS at it and be done but I guess that is not the reality of Open Street Map. I'm getting buried in all the possible ways of self-...
6
votes
2
answers
2k
views
How are housenumbers and streets linked in a OSM based PostGIS DB?
I'm trying to understand how OSM is linking housenumbers and streets with each other. I downloaded an osm file for germany and imported it into a PostGIS DB.
To understand how the linking is working I ...
2
votes
1
answer
266
views
How to tag schools in OpenStreetMap?
How can we tag schools? One problem is that they are based on large areas, and there are entrances and barriers.
How can we handle footways or all the parts of a footway or service road from the main ...
4
votes
2
answers
1k
views
How to display OSM relations in Openlayers with tags as legend?
I would like to show this type of relations in a simple map with Openlayers.
http://www.openstreetmap.org/api/0.6/relation/1637735/full
I'm specially interested in being able to show tags as legend. ...
5
votes
4
answers
6k
views
Extracting German restaurants from planet.osm? [closed]
I want to get the data out of http://wiki.openstreetmap.org/wiki/Planet.osm
I have just come back from the site http://wiki.openstreetmap.org/wiki/Planet.osm
which has got some files that belong to ...
2
votes
1
answer
2k
views
Openlayers Polygon not visible
I have just recently started playing with mapping but have had limited success. I have been able to create/display markers, but in my current project I am trying to display zipcode areas by creating ...
1
vote
1
answer
671
views
Openlayers Css problem?
I have succeeded to show Openlayers map in my application, when i show css popup(not Openlayers Popup) map has to blank as the rest of the application. But Openlayers map is not getting blank.
What ...
16
votes
5
answers
34k
views
Getting polygons of all countries and ISO-3166-2 subdivisons
In order to do reverse geocoding lookups to find a country (as ISO-3166-1) and the subdivision (as ISO-3166-2) for given coordinates I am looking for a way to get all polygons of all countries and ...
3
votes
2
answers
7k
views
Markers on openlayers openstreetmap
I am trying to show some markers from a database in openlayers. I tried it in google maps in past using GDownloadURL fuction to read a json php generated file from my database.
Now I tried the same ...
2
votes
1
answer
6k
views
How to set polygon opacity on OpenLayers?
I have some problems showing polygons in OpenLayers. I want to divide one city in areas. For the moment I have zona1 and zona2. I took lat and long from Google Maps so I think they are correct.
My ...
8
votes
1
answer
28k
views
How to display places names when using Quantum GIS and shapefiles?
I am new to the world of geo systems. What I would like to do is displaying some information on a map for given regions.
I downloaded shape files from cloud made web site and load layers using ...
4
votes
1
answer
6k
views
How to reverse geocode without Google?
I have a basic tracking system i've written with OpenLayers using google and openstreetmap and I want to use geocoding to get street names etc
However, I'm a bit confused.
I was hoping there was a ...
22
votes
7
answers
25k
views
How do you convert OSM XML to geojson?
I want to take the XML output of a Xapi query and display it using leaflet or polymaps. How can I do that? Is there an easy way to convert XML to geojson
2
votes
1
answer
4k
views
How to overlay WMS layer on OSM maps?
I am using OSM/Google maps and WMS Layers. Now I want to know how my WMS will overlay on this map. I am using the following code for that:
function init()
{
map = new ...
4
votes
1
answer
1k
views
How do i get country boundary and names to show up in postgis backed mapnik rendered map?
I followed this to setup postgis server with planet-latest.osm. I used generate_xml.py to generate stylesheets. Using this style sheet with mapnik produces a world map with no country boundaries or ...
2
votes
1
answer
133
views
Sensor Observation Service Filter Request
I am a student and currently developing a web application using Sensor Observation Service. In my Web-Client, I am sending request to SOS Server per sensor and getting back the observations.
The main ...
4
votes
3
answers
2k
views
Cleaning up OpenStreetMap data, building polygons and trying to improve appearance
I'm currently going through my first project with OpenStreetMap data and I'm struggling to see how certain features can be made to look anywhere near as good as in OpenStreetMap.org.
I downloaded a ...
1
vote
2
answers
2k
views
Projecting OpenStreetMap data in PostGIS
I've loaded an extract of Openstreetmap data into a Postgresql database with PostGIS 1.5 using the following command withosm2pgsql.exe:
C:\Program Files (x86)\HOTOSM\bin>osm2pgsql.exe -c -s -H ...
3
votes
1
answer
890
views
How to get spatialite_osm_net from spatialite
I am using windows 7. I downloaded spatialite-tools (precompiled) from the following site. But there is no "spatialite_osm_net" tool available. For one of my project I was trying to convert the OSM ...
3
votes
3
answers
2k
views
GPS device taking pictures and saving heading + HDOP?
I'm looking for a device that can do all of the following:
Take picture
Save lat-long GPS position + heading (angle to North) of picture [so need tilt-compensated 3D compass], in exif or other format ...
7
votes
1
answer
2k
views
Different searching results in local Nominatim and openstreetmap.org
I've just installed Nominatim using this guide. I've successfully import fresh osm.bz2 file with data for Saint-Petersburg, Russia into my postgresql database.
Nominatim search script works, but it ...