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.
2
votes
1answer
89 views
Is there a way to show the direction of a route?
I use pgrouting and openstreetmaps .I would like to know if there is a way to show the direction of the route on the map (eg something like this ---->---- or any other way,idea)
Thanks in advance.
2
votes
1answer
225 views
Problem processing OSM file with osm2pgsql
I have an OSM file and when I want to import it in my PostGIS base using osm2pgsql, I get the following error:
Processing: Node(130k 8.7k/s) Way(0k 0.00k/s) Relation(0 0.00/s)Assertion failed: ...
2
votes
1answer
310 views
Problems using 2 maps with multiple layers and loadend event
I have 2 or more maps with one ore n layers on each map.
Now I want zoom to extent for each map, but the getDataExtent returns only for the last layer in the last map a bounds.
Can you help me?
Here ...
2
votes
1answer
108 views
How do you ignore one-ways osm2po?
I've been using OSM2PO and it's a great system so far.
However, in version 4.5.2, I can't seem to ignore the one-way restrictions for calculating walk distances.
In the browser version, I check on ...
2
votes
1answer
167 views
How to manipulate OpenStreetMap schema to be useful in ArcGIS applications?
I have a shapefile of OSM data. I plan to use the data for an ArcEngine application, and I was wondering if there are any existing solutions to getting the data's schema into your typical GIS format. ...
2
votes
1answer
585 views
Unable to see whole world map by decreasing panzoom bar?
I am seeing one weird thing in Openlayers today. I am unable to see whole map by using panzoombar, previously i used to.
<html>
<head>
<title>OpenLayers Example</title>
...
2
votes
3answers
745 views
Change zIndex of Vectors in openlayers
I have a bunch of linestring features on a vector layer. Some of them overlap. If I trigger the hover event on those features, I want them be in front.
I did find some functions to set the z-index of ...
2
votes
2answers
2k views
openlayers change marker icon, size and offset after drawn
I'm having much trouble changing my (feature)marker icons 'on the fly'. The problem is that I use much different images and also need to change the offset.
So I iterate over every marker and make a ...
2
votes
2answers
482 views
OSM To Postgis & WGS84 Newbie confusion
Hi 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 ...
2
votes
1answer
2k 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 ...
2
votes
1answer
201 views
How to query OSM tags by polygon?
I do not know whether something like this is possible but nonetheless.
If I understand OSM correctly all objects essentially have associated tags based
on type of object (street, building etc) ...
...
2
votes
1answer
598 views
Setting up TileCache to make use of Mapnik and OpenStreetMaps
First of all, I'd say that I'm completely newb at maps related stuff... I am trying to install TileCache and configure it to use Mapnik to render tiles from OpenStreetMaps. I managed to setup the ...
2
votes
1answer
784 views
File IMG from OSM
Is it possible to convert or open an IMG file from OSM?
I don't find a solution for the visualization and conversion.
Thanks
2
votes
1answer
668 views
How can I create an adapter between the ArcGIS REST interface and WMS or TMS?
I'm trying to use imagery available via the ArcGIS REST tile cache interface, however the tool I'm using, JOSM, only supports WMS or TMS. In addition the data from the ArcGIS server is in a "special" ...
2
votes
2answers
372 views
How is Mapquest Nominatim Service's “routeWidth” search param implemented?
I was looking at MapQuest's Nominatim service, and it seems like they have a non-standard search parameter (doesn't seem to exist in standard Nominatim's list of params) that is the routeWidth. Any ...
2
votes
1answer
580 views
Routing Application in Windows
I am making an routing web application similar to Google Maps 'Get Direction' feature. But because of the limited control and data on GMaps, I decided to use OpenStreetMap instead. This also made me ...
2
votes
1answer
46 views
Convert OpenStreetMap schemas to ArcSDE in PostgreSQL database
I am trying to find a way to store OSM Extracts (or possibly the planetfile) in a PostgreSQL database, keep it up to date with diff files and then process the data further with ArcGIS (e.g. Geocoding, ...
2
votes
0answers
41 views
Problems printing OpenLayers Pluggin Maps To Scale
It the print composer I can print all maps to scale and satisfactory.
However, when I add the OpenLayer, usually Bing Aerial, to the project I cannot print it out to scale.
I click the scale box, ...
2
votes
1answer
183 views
How to convert OSM relation xml data to shape file [closed]
I would like to transform the xml data here : http://wiki.openstreetmap.org/wiki/Berlin/Transportation into shape files or load into postGIS.
I think the thing I am missing is how these xmls files, ...
2
votes
1answer
128 views
osm2pgsql Error: operator class “gist_geometry_ops” does not exist for access method “gist”
When using osm2pgsql to import massachusetts-latest.osm.bz2 into PostGIS 2.0.1 database osm (running on PostgreSQL 9.1 on an Ubuntu 12.04), I get the error failed: ERROR: operator class ...
2
votes
0answers
114 views
Geoserver, PostGIS and KML: Creating clickable nodes from OSM data
I have a PostGIS database that has OSM data imported into it using osm2pgsql and I'm using GeoServer to plot the points into a networked KML file for Google Earth.
What I'd like to do is make the ...
2
votes
1answer
185 views
select two markers & draw line between them in leaflet
I am very much new to leaflet.
I have multiple markers plotted on my map in leaflet.
now I have to draw line between two markers when I select them.
Can any one help in doing this.
2
votes
1answer
246 views
How to use a sld file with Openlayers using OSM data?
My app, made with openlayers, displays building data called from overpass api.
var data_url = "http://overpass-api.de/api/interpreter?data=(way[building](bbox);node(w););out body;"; //main working ...
2
votes
1answer
66 views
Steps to update OpenStreetMap back and forth?
I have both a PostGIS database with OSM data imported, and the same data in a SHP folder.
By adding missing information to the downloaded OSM data, both in SHP and PostGIS, I'd be able to contribute ...
2
votes
0answers
45 views
How to integrate Open street map in Rails3.2 using Mongodb?
I'm planning to use Open street map in my Rails app to track locations, Can any one guide how to integrate Open street map with Rails 3.2, using MongoDB.
Thanks
2
votes
0answers
110 views
From pgRouting shortest_path back to osm node id
I'm successfully performing path finding queries like shortest_path on data imported with osm2pgrouting.
The tables I have inside my pgrouting DB are the following:
List of relations
...
2
votes
1answer
117 views
What is the best API to use GeoTools or uDig (for the context of my application)?
I am trying to develop a java application that displays : Google maps, Openstreetmap and Bing Map Data.
So which is the best SDK to use in this contet Geotools or uDig ?
2
votes
2answers
76 views
Why are the results different for the same point using GEOS Point.transform and Postgis ST_Transform?
I'm trying to define a default point setting for OSM layers in my application and I want users to be able to define the default latitude and longitude in EPSG:4326. What I'm doing right now is to use ...
2
votes
0answers
91 views
Create a consistent topology using pgrouting
I'm developing an application that needs routing information for certain cities. First, I downloaded a openstreetmap datafile (*.osm) and then I imported it into a postgreSQL database using ...
2
votes
0answers
41 views
Open Street Map “no map for: default”
I'm hitting my head off a wall!
I Have installed renderd and mapnik on Debain squeeze v6.0.5. Renderd(version 0.7.1) is starting without error. But when I request the /osm_tiles2/0/0/0.png . The ...
2
votes
0answers
32 views
OpenStreetMap XAPI request for “Member Of”
I'm trying to find a way to request public transportation info from the OSM XAPI. Those nodes can be best described as:
highway = *
member of = ( route = bus )
Is that even possible to do over the ...
2
votes
0answers
219 views
Openlayers 2.12 + Firefox 15 = OSM Layer not showing
I know it's due to the new Access-Control-Allow-Origin in OL 2.12, but it is still not functional to me. I've followed instructions on here on stackoverflow.
Firefox version
15.0.1
Apache2 config
...
2
votes
0answers
80 views
Moving point on OpenStreetMap route
Basically I generate random numbers in R language which are indeed times between bus arrivals.
I need to simulate a moving point(a bus) in OpenStreetMap by using this generated numbers.
I have read ...
2
votes
0answers
176 views
How do I pass a LatLng Bounds from Leaflet to Mapfish Print?
I successfully fired up a MapFish print server on Elastic Beanstalk, and it prints out the sample spec files fine, but I'm trying to pass bounds from my Leaflet frontend now, and encountering a lot of ...
2
votes
0answers
88 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?
2
votes
0answers
341 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 ...
2
votes
0answers
162 views
Incorporating known GPS/INS data to automatically produce geo-registered 3D models
I am trying to reconstruct a 3D building model from 2D video frames using an open-source Structure-From-Motion(SFM) software (Bundler). The final reconstructed 3D model will be in Cartesian ...
2
votes
0answers
108 views
How to fix Graphserver warning “osmdb has no edges!”?
I'm really new to GIS.
I have some shapefiles data that I'm trying to import in graphserver. I'm doing:
gs_osmdb_compile output3.osm output3.osmdb
And the result is: WARNING: osmdb has no edges!.
...
1
vote
1answer
521 views
How do PostGIS layers in QGIS work?
I use QGIS 1.4.0 to import a layer which is basically a road network converted from an .osm file to a PostGIS database table by osm2pgrouting.
I have skimmed through the documentation, but I am still ...
1
vote
2answers
85 views
How to join polygons and lines vector maps from openstreetmap?
I am struggling with the data format OSM gives me: I want to use OSM data for routing, but all round-abouts and parking lots are not in the lines layer. They are situated in the poly(lines) layer.
...
1
vote
3answers
1k views
How to get the Lat, Long of a clicked location using Leaflet API?
I am using OSM with leaflet API. Now i want to get the lat and long of a clicked location. I meant something similar to this. ex: http://openlayers.org/dev/examples/click.html
...
1
vote
2answers
332 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 ...
1
vote
2answers
157 views
What Spatial Reference System do I store Google Map's Lat/Lng in
I am new to PostGIS, Spatial Reference Systems and projections and want to store lat/lng coordinates retrieved from Google Maps and Openstreetmap and its services like the Geocoder/Nominatim. I'm ...
1
vote
1answer
79 views
OpenLayers OSM layer
I need to define an layer in OpenLayers just showing world map. The most simpliest variant is to create OSM layer. When I do like this:
var layer = new OpenLayers.Layer.OSM("OSM");
...
1
vote
1answer
48 views
Add bunch of numbered locations?
To avoid carrying books and optimize things while traveling, I like to build a Google Map with sights and cafés/restaurants. I usually print it on paper or keep a PDF in my phone so that I don't pay ...
1
vote
1answer
94 views
Do vertex IDs stay the same every time I run osm2po?
Does anybody knows if vertex (source, target columns) in osm2po tables are always the same?
I have my dr_2po_4pgr table with routing data and dr_matrix with routes already made. In this table I have ...
1
vote
2answers
87 views
How to get an older version of OpenStreetMap data?
For some reason in the map of the Dominican Republic's Capital there are a bunch of streets which doesn't have any names. I had an OSM file which I downloaded ealier this year which did have those ...
1
vote
2answers
2k views
SelectFeature not working in OpenLayers
I'm still sort of new to openlayers, but I've been able to set up a map which reads in a KML, loops through the different regions contained therein, and draws those polygons on a vector layer overtop ...
1
vote
2answers
188 views
Turn-by-turn direction using PgRouting
How can I generate turn-by-turn directions using PgRouting?
At the moment, I have a web-page where a user can enter and start/end location and a route is generated on a map (using PgRouting and ...
1
vote
1answer
342 views
Creating osm2pgsql tables in PostGIS database
I managed to partially setup osm2psql to work with my PostGIS DB.
My DB contains now the following tables:
Schema | Name | Type | Owner
--------+-------------------+-------+-------
...


