OpenLayers is a JavaScript library for creating dynamic map widgets for web sites.

learn more… | top users | synonyms

1
vote
0answers
10 views

Retrieve list of all features and values from raster layer (Geoserver and Openlayers)

I'm trying to retrieve a list of all values from a raster layer (GeoTIFF) in geoserver (2.5.x). I tried to modify the code from http://trac.osgeo.org/openlayers/wiki/GetFeatureInfo but I can't seem ...
1
vote
0answers
16 views

Comparing two maps with two different libraries

I'm currently making a demonstration to compare the two OpenLayers libraries (2 and 3). For doing this, I have made two div elements and put the different maps on each other. The goal is to make a map ...
1
vote
0answers
33 views

What is wrong with my WFS-T protocol setup?

So I want to transfer some Vector Layer Features from javascript code to my geoserver and then to postGIS, my code looks like this: saveStrategy = new OpenLayers.Strategy.Save(); ...
1
vote
0answers
20 views

Add WMS from geoserver to openlayers with OSM baselayer

I am new to javascript/the openlayer. Maybe you can provide me with some help. I would like to add a wms layer (BLD_504) from dwasa (workspace) locally. The code is as follows: <title> ...
1
vote
0answers
15 views

How to emulate OpenLayers button click in C#

I'm trying to call a click of a user using C # with the following code ( " C # : GeckoWebBrowser.Navigate ( javascript : void ( Document.getElementById ( ' idOfElement ' ) .click ( ) ) " ) ; ...
1
vote
0answers
22 views

wrong layout when using Openlayer plugin

I'm drawing a simple map and I noticed a weird problem. Very briefly: I have a simple shapefile (a region) and the Google Satellite layer of the OpenLayer plugin activated on my map canvas. On the ...
1
vote
0answers
22 views

Saving Changed Features from OpenLayers does not work because GeoServer claims Layer to be read-only

Trying to save a few changed Features in OpenLayers back to my geoserver (2.4.4) with saveStrategy.save(). Features don’t change. What I get in the geoserver protocol is: ...
1
vote
0answers
19 views

OpenLayers - map.zoomToExtent() zoom to wrong bounds

I wonder what could be the cause of that weird behaviour. I create a bounds and do a zoomToExtent() on it but the map zoom to a wrong bounds a lot smaller than what I expected. Only the left (xmin) ...
1
vote
0answers
29 views

Openlayers 2.13 not calling correct XYZ tiles from couchdb?

End goal is to be able to access a pouchdb of map tiles on phone off-line that has been synced from remote couchdb of map tiles. Openlayers is not calling the correct document from the couchdb to ...
1
vote
0answers
17 views

Openlayers permalink not working

Basically I have a permalink which contains the co-ordinates of a temporary layer when I enter this permalink into the browser the layer shoes and then goes. I used use a vector layer the permalink ...
1
vote
0answers
31 views

Help embedding Openlayers map in Eclipse BIRT report

i have this code, it displays the zoom buttons only but it doesnt display my map. what could be the problem? <html> <head> <script ...
1
vote
0answers
43 views

How to disable Google map zooming animation effect?

I am using Openlayers mapping library in my application. I have integrated Google map V3 & added other several WMS overlays, Vector layers etc. Every thing working fine. But I am facing big ...
1
vote
0answers
42 views

OpenLayers, symbol every 100 pixel on line symbolizer

First: the above banner links this to How to use a sld file with Openlayers using OSM data? , but look update2. I would like to add rail-road hatching to my OpenLayers map with a Symbolizer. Example ...
1
vote
0answers
41 views

Triggering events when loading and finished loading from WMS

I'm currently creating a webgis application using OpenLayers 3.0.0, and I'm trying to display a loading gizmo when loading layers from a WMS. I've found examples for OL 2.1.0 that registers ...
1
vote
0answers
36 views

LayerSwitcher() not working with Group Layers in Geoserver

I created a layer group. then previewed the layer using the GeoServer Layer Previewer and it all worked nicely.But Layer switcher is not working properly.layer switcher doesn't show any layers Here is ...
1
vote
0answers
18 views

How does TimeSlider Control work in OpenLayers 2?

I would like to use the TimeSlider control of Openlayers in version 2 for WMS-Time, but there is no documentation or examples. Could someone help me understand how this control works, I would ...
1
vote
0answers
22 views

How to change color of points dynamically from a geoJson in openlayers

I am new in Openlayers and what I am trying to do is to dynamical give a color to some points read by a GeoJSON file. I am taking inspiration by this post How can I add an infowindow to an ...
1
vote
0answers
26 views

Adding GeoRSS feed as point layer using OpenLayers?

There may be a simple answer, but I have been looking on the internet for answers and trying different things. I want to display this RSS feed as a point layer in OpenLayers 2.11. Can anyone please ...
1
vote
0answers
26 views

Save Feature is not working for Line feature and Polygon Feature

I am using following code to save feature but that is not working for Line feature and Polygon feature to save new feature on the relevant layer type. But the same code is working on Point feature ( ...
1
vote
0answers
19 views

Zoom to a vector feature in a vector layer

I am using OpenLayers+GeoServer and I have a vector layer in a map with some features I would like to make a zoom and show the map centered in one of these features that I can get by ID. How can I do ...
1
vote
0answers
21 views

Openlayers - Maximum number of layers in LayerSwitcher

I am working on a thematic mapping platform showing data at local administrative levels. I have many layers, so I run into problems (see screenshot: http://gisintersect.com/many_layers.png). Is there ...
1
vote
0answers
62 views

Openlayers heat map not displaying properly in html

I was wondering if you could help me with something I am trying?? Created a heatmap from a sql point table using sld in GeoServer. Displays fine as a preview:- It looks tiled when I publish it to ...
1
vote
0answers
24 views

Add and Remove layers in openlayers on-the-fly

I am using OpenLayers 2.13.1 in my application and I have a couple of layers which need to be added/removed to the map on-the-fly. Here are the core codes: var layers=[layer1,layer2,layer3]; // ...
1
vote
0answers
40 views

Using Geoserver

I am new to GIS and interested in using Geoserver. I have had a look at tutorials and read some books on this but still feeling clueless. I intend to use C# to accomplish some tasks eg, plot points on ...
1
vote
0answers
21 views

WMTS not numbered from 0/0 with OL3js

I am requesting a WMTS which does not number tiles from 0/0, but from some arbitrary given number. Is it possible to deal with this with openlayers 3? I thought WMTS should have defined first tile of ...
1
vote
0answers
52 views

Openlayers proxy.php Curl settings for geoserver

We have to use a proxy to send a request to geoserver. I created a php file like this. OpenLayers.ProxyHost = "proxy.php?url="; is Openlayers settings. localhost/myapp/proxy.php is my proxy ...
1
vote
0answers
41 views

Trying to display GeoServer layer controls but nothing is coming?

I am a beginner with GeoServer trying to display layer controls but nothing is coming. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>GeoServer Layer</title> ...
1
vote
0answers
63 views

OpenLayers - Add points at vertices of line while drawing line

I would like to create points while I draw a line on my map in OpenLayers. That is, at each vertices of a line and at the end points there is a shape like a square, circle, or diamond. I have this ...
1
vote
0answers
15 views

Open Layers serverResolutions on WMS don't limit layers loaded

I'm building an animation that show an animation of +/- 40 WMS layers. This unfortunately gives some memory issues with OL 2.13 in all browsers but only in IE for OL 2.12. To circumvent this problem ...
1
vote
0answers
22 views

Openlayers text symbology is not being shown

I have a Vector Layer in a .json file: { "type" : "FeatureCollection", "features": [ { "type": "Feature", "properties": { "Station_Id":107, "NAME":"ARDEBIL(F)","ELEVATION":"1314.3"}, ...
1
vote
0answers
24 views

Error during visualization of many layers on Chrome (ExtJS, GeoExt, OpenLayers)

I've noticed that on the latest version of Chrome (36.0.01985) my application crashes when a lot of layers are displayed (and/or the browser is maximized and the map is zoomed out). In particular, the ...
1
vote
0answers
44 views

edit openlayers feature attribute and save in geoserver

I have a layer in geoserver and I want to get this layer with WMS in OpenLayers. population = new OpenLayers.Layer.WMS("population", "http://localhost:8080/geoserver/world/wms", {'layers': ...
1
vote
0answers
39 views

custom SVG label style - openlayers

My goal is to display rotated labels for roads on my openlayers based webmap. The problem is actually solved (with a custom SVG solution), but i have some problems with the styling of the labels. As ...
1
vote
0answers
38 views

Create vector layer from feature collection in OpenLayers

I have used a WPS process gs:UnionFeatureCollection to compute the geographical union of two collections of WFS vector features. The process returns a collection of features which I intend to display ...
1
vote
0answers
28 views

Openlayers pop-up FeatureSelected doesn't invoke even FeatureClicked works well

My code snippet is: //Vector Layer with listeners: var vectorLayer = new OpenLayers.Layer.Vector("Kuzzular"); vectorLayer.events.on({ 'featureselected': function(evt) { var ...
1
vote
0answers
27 views

Geolocation Ptojection Transform is not working for custom coordinate system

I am using Openlayers API and I have a custom projection and I defined it to my geoserver named "EPSG:51100". I have a custom tile map. var tms2013 = new OpenLayers.Layer.TMS("2013", ...
1
vote
0answers
49 views

UTFGrid and custom tiles in OpenLayers

This is my first post here so I apologize in advance if a convention is escaping me in the question format. I am trying to display information from utfgrid in OpenLayers. I am using custom tiles in a ...
1
vote
0answers
54 views

Multiple Leaflet maps on website in different divs

I'm pretty new to leaflet.js and I'm trying to figure out how to assign the same map with the same set of options and layers to a different HTML container instead of having to remove and add a new one ...
1
vote
0answers
28 views

OpenLayers Multiple Maps Problem (maps leave blank)

I try a round with OpenLayers and was very impressed how mighty it is. But I have a problem (maybe a easy one, because I am not so trained in js). After adding additional maps all maps leave blank, ...
1
vote
0answers
31 views

Print preview showing distortion in layers from GeoServer via MapFish and OpenLayers?

I have an application which shows the print preview before printing the map and the problem is that the layer is distorted in the first image but when I zoom into the map the distortion goes away. I ...
1
vote
0answers
46 views

How to change dialog box with jQuery Mobile on OpenLayers

I have a problem with dialog box made with jQuery Mobile on OpenLayers. I want to make a popup box instead of a dialog box, but when i click the point the info for the point appears at different ...
1
vote
0answers
28 views

OpenLayers WMSGetFeatureInfo Windows Mobile

I have built an app using Phonegap build that uses OpenLayers 2.13.1 with wms layers from geoserver and I have a WMSGetFeatureInfo control set up. When I click a point on Windows phone 8, the error I ...
1
vote
0answers
28 views

Shifting problem with mapfish

I'm using OpenLayers 2.13 with GeoExt and mapfish print module for GeoServer. I've a map composed of a WMS layer and a vector layer. On my web browser everything is fine but when I print this map into ...
1
vote
0answers
17 views

How to Create SLD Label with Non-Latin Languages

I create a OpenLayers WMS Layer with my map server url. I want to Style this with SLD_Body. I defined My SLD_Body and want to labeling it. but My Label Map is with non-Latin language and after ...
1
vote
0answers
24 views

Openlayers external GeoJSON error handling

I'm making a map which refreshes itself in a given interval and shows the progress of objects on a vector layer with information from an external GeoJSON file. When the server is not accessible, or I ...
1
vote
0answers
35 views

POST not implemented

I'm developing a client wps modifying the example WPSDemo.js from http://suite.opengeo.org/4.1/processing/wpsclient/index.html . I'm using zoo-project as WPS server. I'm trying to invoke the "buffer" ...
1
vote
0answers
38 views

Draw linestring programmatically using draw control

I want to draw linestring feature programmatically which can be done from draw control of openlayers which can inherit default behavior of draw control that is modification, selection, undo, redo etc ...
1
vote
0answers
53 views

Error when adding WMS layer in OpenLayers from a geoserver

I try to add wms layer from geoserver: var layer = new OpenLayers.Layer.WMS(name, 'http://'+ self.objSettings.ip + ':' + self.objSettings.port + self.objSettings.wms, { srs: 'EPGS:4326', ...
1
vote
0answers
28 views

Remove last line segment of an OpenLayers.Control.Measure

i'm using OpenLayers library, i'm trying to delete the last line segment of a drawing realized with the following code: layerLine = new OpenLayers.Layer.Vector("layerLine"); layerLine.id = ...
1
vote
0answers
21 views

How to display specific areas specified by Global MapIt Area ID in Open Street Map using Open Layers?

I've been customizing the Fix My Street platform for the two cities in my country, just to test everything out in it and how it works and maybe implement it for the whole country in the future. The ...