0
votes
0answers
17 views

openlayers setCenter issue (other posts on this do not solve it)

I can't get map.setCenter to display an OSM layer (via openlayers) centered at my specified coordinates. Instead it defaults to the West Coast of Africa. The zoom level does however work. Both of ...
1
vote
0answers
19 views

Building a road path using openlayers and shapefiles? [closed]

I'm looking to learn OSM and Openlayers. From what I can tell, I need OpenLayers to display the map on a website and I need shapefiles to do any manipulation on the map regarding its topographical ...
2
votes
4answers
78 views

How to make a private OSM (Save personal information to) a map using OpenLayer or Tilemill or mapbox

OSM (OpenStreetMap) is great for making a real time public map for general purposes but what if I want to add private info to a map such as the location and date of my first kiss or a note about every ...
0
votes
0answers
29 views

how to easily serve vector layer with extra attributes for openlayers

On a website I'd like to show an openstreetmap with buildings colored by a certain feature (tag). So far I was able to extract the buildings for a bounding box, save them as an osm file and load it ...
3
votes
4answers
84 views

How to select features in OpenStreetMap

I'm using OSM (online) with OpenLayers to show my map (I don't have a mapserver) but when I do this: map = new OpenLayers.Map( 'map', {numZoomLevels: 7, units:"km", minZoomLevel: "10" } ); ...
2
votes
0answers
84 views

It is possible put highcharts chart in openlayers popup?

As title. I build a openlayers map on my website. and there are many feature vector on the map. now I want to put a highcharts charts in popup. to show the temperature in every city something Like ...
1
vote
1answer
55 views

Geoserver WMS layer does not show in OpenLayers

I'd like to overlay a Geoserver WMS layer in OpenLayers & OpenStreetMaps. I'm having problems because the wms is not showing on top of the OSM layers (mapnik, cyclemap). This is the code: ...
3
votes
2answers
110 views

Displaying OSM file with markers

I'm trying to show OSM file which I exported from openstreetmap api. However, layer I add with OSM file is displaying like just polygons, I cannot show markers (street names, names of buildings etc.) ...
1
vote
0answers
32 views

How to initialize OpenLayers with no maps? [closed]

I need to reload my map oftentimes to test my layers and don't want to wait for OSM to load every time. How to avoid the main layer (the OSM map) to load and work only on my feature layers?
2
votes
2answers
416 views

Offline map(google/openlayers) for HTML5(Angular) based hybrid application

I have a requirement where the customer has explicitly asked for offline support for the map. The rest of the application works well offline, but i am not sure how to get this done using Google or ...
0
votes
2answers
67 views

Clear markers from OSM map with openlayers

I have a bunch of Point data that refreshes every few minutes. To render these points, I have created the markers as OpenLayers.Feature.Vector Objects and added them to my Vector layer. The layer gets ...
0
votes
2answers
247 views

Openlayer maps issue with ssl

I am using openlayers map by using the hosted js : <script src="http://openlayers.org/api/2.13.1/OpenLayers.js"></script> But my client has ssl installed and when i try to run my map ...
0
votes
0answers
74 views

Accuracy problems with Openlayers\Openstreetmap\AnimatedCluster

I am working on a OSM map that clusters several points with a modification of AnimatedCluster (https://github.com/acanimal/AnimatedCluster). However, somewhere the accuracy seems to lack. Can ...
1
vote
1answer
94 views

Serving multiple styles from tile server

I installed an OSM Mapnik tile server (according to the switch2osm documentation). Now, i'd like to serve tiles in different styles from the same server. Is this somehow possible?
2
votes
1answer
110 views

Qgis OSM and layer projection problem

I am using QGIS 2.1.0, and trying to import my vector layer(parcels) with OpenStreetMap layer. My vector layer (parcels) use EPSG 31277 coordinate system. This is the definition for EPSG 31277: ...
5
votes
2answers
94 views

Following path in OpenStreetMap

I want to visualize a road present in the OpenStreetMap. Using OpenLayers, I try to do in the following way: Take a set of co-ordinates which should represent the two sides of the road. Join both ...
4
votes
1answer
191 views

What does vector tiled map mean?

I'm working on an application that renders geoJSON into OpenLayers map. The idea is about not having PNG images downloaded from external services (OSM or Bing) but having geo information in geoJSON ...
0
votes
0answers
59 views

OpenStreetMap shp layer is shifting

I am dealing with this issue more than 2 month and i am hoping that some one have a lead for me. I am using Openlayers to show some vectors layers like buildings, points, gardens and more layers that ...
1
vote
2answers
463 views

OpenLayers plugin for QGis problem with maps loading

I am new in GIS. I use QGis 2.0.1 with OpenLayers plugin downloaded from official repository. When I click to Add OpenStreetMap layer the map is not showing and load process is neverending. What is ...
0
votes
0answers
45 views

OpenStreetMap layer in OSMGeoAdmin reverse coordinates

In my django application I have a map displayed when I'm in the admin thanks to the class OSMGeoAdmin (from django.contrib.gis.admin) the only problem is that this map kind of reverse the GPS ...
1
vote
0answers
34 views

Are there any js libraries for reading OSH data?

I want to do time based mapping on openstreetmap data in the Kathmandu, Nepal area. I think i have two options Using OpenStreetMap Change files (OSC) Using OpenStreetmap History files (OSH) I have ...
0
votes
0answers
70 views

How can OpenLayers WFS-T request be used to work with OSM editing API?

WFS-T sends a xml post request to server and OSM api also requires xml post request. But the syntax of the request are different. I am a heavy mapper, and develop app using OSM data. This is for ...
0
votes
2answers
132 views

How to use OpenLayers OSM-Layer with degrees instead of meters?

I have an OSM-Layer as a base layer. When I create a vector I have to define the coordinates in meter. Is there a way to use degrees right a way without reprojecting them beforehand to meters? var p0 ...
1
vote
0answers
36 views

Is there an OpenLayers event when reaching bounds?

I have an app using OpenLayers and OpenStreetMap tiles. There are more zoom levels for the capital and less zoom levels for the entire country. Let's say the user is in the capital, in his car, in ...
6
votes
5answers
313 views

Is it possible to redesign OpenStreetMaps tiles?

We have an application working with open layers and are using open street maps for the map tiles However they don't look great Is there anyway to style these maps? I read something about Mapbox but ...
0
votes
1answer
189 views

OpenLayers - changing layer type (wms to OSM) and WKT transformation problems

I've created the very simple tool which utilizes OpenLayers.Format.WKT with DrawFeature - polygon and ModifyFeature together, so I can create and modify, load and save polygons in/from WKT format. ...
1
vote
0answers
90 views

What are the pros and cons of each mashup baselayer? [closed]

I've been making some mashups recently in OpenLayers and find myself naturally favouring OpenStreetMap as a baselayer, I think this is mostly because I like the concept. I realised the other day that ...
2
votes
4answers
569 views

How to get street names from OpenStreetMap?

I have some SHP layers that contain some streets and buildings data, and i'm showing it with openLayers (by GeoServer). they are not contain the names of the streets or the numbers of the buildings. ...
4
votes
3answers
195 views

More zoom in base layer in openlayer.

I have some GIS project to do, in this project I need to place something like 20,000 trees on a map. So I did a web app with .net that includes map that based on OpenLayers with bing base map. My ...
1
vote
1answer
1k views

OpenLayers: Problems adding WMS layer to OSM

I need to create a map with 2 layers. The first layer (basemap) is the OSM layer, and the second layer is my custom geoserver WMS layer. This layer is in EPSG:4326 projection. Is this possible? I have ...
2
votes
2answers
747 views

Why does OpenLayers load OSM-like tiles, but does not show them?

I created a tile server with OSM-data in the German style. The data is quite similar to the official tile server for openstreetmap.de, provided by Fraunhofer IOSB. ...
3
votes
2answers
1k views

OpenLayers vs Leaflet for specific app

Could anybody give me some advice on which one should I use? OpenLayers or Leaflet I will implement OSM on a web-app for taxi management. The requirements for the map part are: Tracking of the ...
0
votes
2answers
218 views

add a vector point on OSM map

I have managed to show Lat and Lon function init() { navigator.geolocation.getCurrentPosition(function(position) { document.getElementById('myloc').innerHTML="Latitude: " + ...
0
votes
0answers
47 views

OpenLayers what is the last event when everything is rendered?

I have a Openlayers map with an OSM layer and a KML layer. The KML is added by parsing some text from using OpenLayers.Format.KML (so no "loadend" event seems to fire). What is the last event that ...
0
votes
1answer
418 views

How to create a map with OSM and webatlas.de's WMS layer?

I spent hours trying to figure out the following problem, I hope someone can help me. You can see here that this WMS has different Projections available: ...
0
votes
0answers
43 views

OpenLayers popup control doesn't work after selecting another control

I have created an application using OpenLayers which by default includes the navigation control and the draw feature control. These controls are selected using a control bar similar to the one shown ...
0
votes
1answer
282 views

openlayers python proxy.cgi script is not taking parameters

I have setup the python proxy.cgi in cgi-bin folder in my server. [myserver]/cgi-bin/proxy.cgi returns the openlayers website [myserver]/cgi-bin/proxy.cgi?url=www.openlayers.org returns list index ...
1
vote
2answers
192 views

How to convert osm way xml to openlayers feature?

I am displaying the osm data through a popup with openlayers. For now i am using the overpass api to get data. But my app needs to reflect the rapidly changing data i.e. one changes the data then ...
2
votes
0answers
174 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, ...
1
vote
0answers
79 views

Shows Netherlands region on map on every zoom level not other region in Open Street Maps

I want to show/display only Netherland region on Openstreet map, dont want to show other region on maps. Same thing apply for zoom in or zoom out also. I have tried with applying bounds but does not ...
2
votes
1answer
412 views

purpose of maxExtent?

I am starting with maps but im a beginner. The answer is probably easy, but i could not find it anywhere. I cannot figure out why to use maxExtent. If I delete it from my application, its behavior ...
1
vote
1answer
178 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"); ...
2
votes
2answers
188 views

How to make corners of openlayers with OSM map rounded?

I'm trying to apply style with border-radius:XXpx to my openlayers map: map = new OpenLayers.Map(name) map.addLayer(new OpenLayers.Layer.OSM()) But rounded corners are hidden by tiles of the map: ...
1
vote
1answer
32 views

How to access the timestamp value from Overpass meta requests with Openlayers.Format.OSM?

I am using Overpass-api to request data, then display it in an interactive webpage using Openlayers. When user clicks on some feature, the information is shown in popup. As of now, the page is ...
1
vote
1answer
171 views

How to request a limited no of features in Overpass api?

I am using Overpass api to query Building data from OpenStreetMap. the query string is like this (way[building](bbox);node(w););out body; This works really fine (the bounding box is specified by ...
1
vote
0answers
113 views

django + apache mod_tile

I'm not sure if I'm doing this right and I need your opinion on this current situation. I'm creating a Web Interface using django and postgres as the database. With regards to the slippy map, I went ...
0
votes
1answer
206 views

How to query osm data served by geoserver?

We have a specific point and would like to count all features in a circular area with center at that specific point. The data is: - Stored in a shapefile layer created in QGIS - Served by geoserver - ...
3
votes
1answer
808 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
424 views

Clustering not working on features in OpenLayers

I've built a mapping solution using OpenLayers that works well except I can't get the points to cluster. I've looked at the examples on the site, and I've even implemented those examples in my ...
1
vote
0answers
115 views

Keep Getting Black OSM Tiles in Openlayers

When trying to view OSM tiles using the external storage example of OpenLayers, I keep getting black tiles when I zoom in and out. I don't know what the issue is but every time I zoom in/out there ...