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

learn more… | top users | synonyms

2
votes
0answers
88 views

Openlayers WMS url construction

I am working on an extension to openlayers to pre-cache tiles in a local websql datastore to support mapping on mobile device when connectivity is dead. I would like to pre-seed my cache with a set ...
2
votes
0answers
136 views

get all the possible parameters of sql view

I have a Geoserver layer coming from a postGIS database. Among other attributes, I have one that is related to the date data we've collected, called departuretime. We use this attribute to display a ...
2
votes
0answers
53 views

How can I give random color to each line in Geoserver layer that is served from MSSQL geometry table?

I have a table of routes and I want to give each route random color to distinguish them on map (Using OpenLayers). What will be the easiest way to do so ?
2
votes
0answers
255 views

OpenLayers Google v3 and other layers drift apart

I'm stuck. My code works with OSM, but I need it to work with Google as well. The problem is simply that Google v3 and my other layers are not playing well together at all. They don't zoom together. ...
2
votes
0answers
127 views

WFS - From PostGIS to Shapefile with GeoServer

From Server side, I'm using GeoServer and from client side I'm using OpenLayer to allow the users see the layers(PostGIS) on the map. The new requirement is that the users may download layers in ...
2
votes
0answers
333 views

WFS filter query does not return points (selected from polygon)

I'm a newbie to OpenLayers (and JavaScript for that matter) and hoping you can offer some advice. I have been referring to examples http://openlayers.org/dev/examples/wfs-filter.html and ...
2
votes
0answers
122 views

OpenLayers - Pre cache layers on Client

We are using GeoServer and OpenLayers to display our data. We have a static WMS layer and several dynamic WFS layers. I want to use client side caching of the WMS layer at different pre-defined zoom ...
2
votes
0answers
92 views

OpenLayers - Weird behaviour when a feature is zoomed in

The problem is when I zoom on a feature inside OpenLayers with any browsers, at a certain zoom level the feature flip like you can see in those pictures
2
votes
0answers
358 views

Are there any examples of WCS getcoverage requests done using ajax?

I am looking through openlayers to try to figure out a consistent format for generating views of coverages that can satisfy any wcs server, but mainly I'd like to get geoserver coverages. While I've ...
2
votes
0answers
272 views

working with multiple wfs-t layers

I am using multiple wfs layers and using editing tools in that like edit,draw,save etc. The code is shown here...... var district = new OpenLayers.Layer.Vector("district(wfs)", { ...
2
votes
0answers
486 views

how to search a vector/wfs layer

I'm using Geoserver/PostGIS/openLayers I've succesfully set a vector layer. And now I'm trying to create a search functionality. But something goes wrong. First I set up the layer and add some basic ...
2
votes
0answers
335 views

Print and Export Functionality on web GIS application built with OpenLayers+GeoExt+Extjs+Heron Configuration

I have used OpenLayers+Extjs+GeoExt+Heron configuration to create a thin mapping client. I have added print icon to the client using heron.options.map.toolbar (type: printdialog, options: {printURL ...
2
votes
0answers
286 views

Mapserver+openlayers: displaying a shapefile with Cylindrical Equal Area (Lambert) projection

I have some shapefiles in "World Cylindrical Equal Area (Lambert) projection". The .prj reads: PROJCS["World_Cylindrical_Equal_Area",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_ ...
2
votes
0answers
99 views

Cannot reselect polygon after modify

I've got various vector layers on a OL map. On one layer I have a few draw controls. If I draw a polygon I can select it (the whole pop-up thing works). This also works for all the other features. ...
2
votes
0answers
180 views

Projecting PostGIS in Openlayers

I have a layer(base layer) with MultiLineString Geometries and now I need to project the layers(overlays) in the base layer from PostGIS using OpenLayers. However, I got an idea how to project table ...
2
votes
0answers
400 views

Openlayers text layer is not working

I am trying to load markers from a text file using openlayers text layer, but no marker is shown, text file and icons are in same directory. However I am able to show markers using marker layer. My ...
2
votes
0answers
121 views

Projection declaration in dojox.geo.openlayers possible?

I am trying to integrate some maps of my own into the dojox charting demo and I had success in exporting a shapefile (externally, i.e. with my own parser) to the dojo JSON map format. The map is in ...
2
votes
0answers
50 views

Is it possible to have transition between switching base layers

I use OpenLayers to display several maps. While transitioning between Google Map layers, the new layer is superimposed onto the old one. But for OpenStreetMaps, there is this empty void in between ...
2
votes
0answers
812 views

How to add multiple nested node in GeoExt

I have following codes, but i want to add severel parent>child>chill>child>child (4 level inside) nodes with all check box options (for user choice) in the tree panel, in fact sum of all these (parent ...
2
votes
0answers
65 views

Features disapearing

When I add a polygon feature it shows on the map. When I add another one the first one disappears. The code for adding is below: $.postJSON('@Url.Action("GetLayers")', { "planId": planId }, ...
2
votes
0answers
366 views

OpenLayers BBOX sending double requests

I've implemented a openlayers bbox strategy on a vector layer. I have my server return a nice jsonp object wrapped in the callback given by the request. The problem is that during normal use of the ...
2
votes
0answers
292 views

Openlayers, valid zoomlevels are offset by 1 level. Why?

I have an openlayers based web app, map object is initalized like this: p4326 = new OpenLayers.Projection('EPSG:4326'); p3857 = new OpenLayers.Projection('EPSG:3857'); //initialize map object, bind ...
2
votes
0answers
195 views

Displaying text from dxf in Openlayers

I managed to import .dxf into Postgis table, and now have, among others, rows with Point geometries and values in text column (which corespodent with Label values from ACAD .dxf). What is the best ...
2
votes
0answers
156 views

dojox.geo.openlayers roadmap?

I'm curious as to the future of dojox.geo.openlayers. Presently is seems only to be a solution for positioning widgets on the map but I can imagine developing a suite of map specific dijits such as ...
2
votes
0answers
282 views

OpenLayers WFS - GetFeature Draw Circle

I am developing GIS Portal using OpenLayers, I use WFS GetFeature to retrive some datas like bellow: var layer = map.getLayersByName("pf_trecho_at"); var polygonLayer = new ...
2
votes
0answers
316 views

Creating a Geodesic Polyline Buffer in OpenLayers

I have a feeling that the answer is going to be 'You can't do that without some very complex coding' but I thought I'd go for it anyway. I recently asked a question on how to create a Polyline Buffer ...
2
votes
0answers
232 views

OpenLayers ArcGIS93Rest layer not showing up

So this seems like it should be super obvious, but I can't for the life of me figure out why I can't get any ESRI layers to show up on my map. I've tried different layers and messing around with the ...
2
votes
0answers
244 views

WPSExecute Format Issue

I have: function createWPSExecuteRequest(namespace, layerName, popFilter) { var request = OpenLayers.Format.XML.prototype.write(new OpenLayers.Format.WPSExecute().writeNode('wps:Execute', { ...
2
votes
0answers
270 views

Anyone have success with OpenLayers and ArcGISCache?

OPENLAYERS Has anyone had success using OpenLayers and the ArcGISCache layer beyond the examples? I'd like to mix tiles with different resolutions and although they seem to scale correctly they do ...
2
votes
0answers
204 views

How do you emulate a right click on a tablet/mobile device using OpenLayers?

I'm trying to make my OpenLayers mapping application work for mobile devices and one feature I haven't figured out how to emulate is the 'handleRightClicks' Control Click option. Anyone know how to ...
2
votes
0answers
688 views

OpenLayers.Popup.FramedCloud won't autosize

I don't see why this shouldn't work, but it doesn't.. :P var popuphtml=""; $.each(persons.persons,function(i,item){ if(item.in_loc == feature.attributes['locid'].substring(8)){ ...
2
votes
0answers
206 views

How to install OpenLayers in drupal?

I have been trying this for a while without success. After installing the OpenLayers module in drupal 7.14 and trying to configure it i get the following error: Cannot establish a connection to the ...
2
votes
0answers
119 views

Instalación masiva de QGIS - Automated installation of QGIS

Solicito lo siguiente requiere la línea de comandos que permitan realizar la instalación automatizada o desatendida para poder enviarla desde SCCM para la Instalación de QGIS Google Translate - ...
2
votes
0answers
382 views

Zooming the map after filter

I have wms layer and after i do cql filter on this. And now i want to see result. I want map zoomed to this result. My code. ex=layer.getExtent(); map.zoomToExtent(ex); But getExtent() returns ...
2
votes
0answers
168 views

Rerendering OpenLayers in JSF2

did anyone try rerendering OpenLayers in JSF2? I am using a4j:ajax events, I mark the render atribute with render="map" where map is naturally the id of the openlayers div tag, and I use ...
2
votes
0answers
100 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
476 views

How to set up multiple Content.ftl files in Geoserver?

So today i started to play around with the content.ftl file for geoserver to change around the popup style. In playing i've discovered that if i call in my content.ftl file which contains code for a ...
2
votes
0answers
935 views

GeoExt (ExtJs + OpenLayers): bug in IE9 when try to change map_panel from container A to container B

Techonology: GeoExt, which combines ExtJS with OpenLayers I am trying to dynamically change the app layout by changing a map_panel from container A to container B, and vice verse; basically, for each ...
2
votes
0answers
644 views

dateline issue: wrapDateLine with MapFile

I am using wrapDateLine properties for OpenLayers.Layer.WMS for handling dateline issues. The problem with wrapDateLine is that I am getting the same polygon repetitively around the wrapped map as a ...
2
votes
0answers
558 views

OpenLayers WMS overlay tile projection

We are using OpenLayers for our GIS Application and we have base files from Ordinance Survey for UK maps. For creating WMS layers, we are generating tiles of 256 x 256 through Sharpmap Library but ...
1
vote
0answers
13 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
16 views

PointStacker - Random locations at different zoom level

I'm applying PointStacker transformation on one of my layers using Geoserver 2.5.2 and OpenLayers 2. I know, that I have 7 datapoints located on the exact same location. However, when I change the ...
1
vote
0answers
23 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
18 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
21 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
17 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
12 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
18 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
22 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
17 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 ...