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

learn more… | top users | synonyms

2
votes
0answers
178 views

How can I create a WFS from netCDF file(s)?

Currently I'm working on a project that uses OpenLayers and Geoserver to view data from a postGIS server (both on a map through a WMS, and as data through a WFS). Now, I'd like to be able to compare ...
2
votes
0answers
84 views

why is my map is not in the center when I load my map in OpenLayers?

why is my map is not in the center when I load my map in OpenLayers?And when I drag my map,it dont move sometimes,It has been tortured me for a long time,any advice would be grateful! var maxExtent = ...
2
votes
0answers
290 views

Export basemap and vector layers into a single image with OpenLayers 2.11?

Has anyone been able to export OpenLayers 2.11 map and features as a static image? This example is exactly what I'd like to do, but it's using OL3 alpha which is not an option for me... ...
2
votes
0answers
108 views

Applying rules to FrameCloud popups in OpenLayers

I have style rules for features that enable the map to display the features based on its rule. For example, the map displays a feature from specific scale. I do this in this way newRule = new ...
2
votes
0answers
326 views

Openlayers and Google Maps Api aren't work on Android Platform

I have application that uses OpenLayers, Google Maps Api and Geoserver My application is running at Web browser and when I try to run at Android tablet (using Phonegap), It runs but openlayers ...
2
votes
0answers
302 views

Data visualization techniques for web maps using ESRI and open source suits

I want to represent statistical data over the web map and looking the examples/techniques to represent data on the web map (apart from Pie-chat, bar graph) with new tools like gauge widget etc. ...
2
votes
0answers
248 views

Google base layer opacity change in OpenLayers 2.13

I have recently swapped from using OpenLayers 2.12 to 2.13.1 as it fixes a bug. However in 2.12 I was using a base layer opacity of 0.7 to 'knock back' the map so that the vector layers stood out ...
2
votes
0answers
41 views

Can Openlayers style vector polygons with every vertex of the polygon represented as a small circle or dot?

Can Openlayers style vector polygons with every vertex of the polygon represented as a small circle or dot?
2
votes
0answers
91 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
139 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
267 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
134 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
342 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
124 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
372 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
286 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
493 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
343 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
292 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
101 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
412 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
122 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
828 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
374 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
295 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
201 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
292 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
318 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
234 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
246 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
280 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
205 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
703 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
207 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
121 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
384 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
169 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
102 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
479 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
951 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
647 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
7 views

Adding layers to an OpenLayers map from a WPS process automatically after processing

I want to process two layers visible from a an OpenLayers client map interface such as Geonode and then add the result of the output directly to the map automatically after the processing is finished. ...
1
vote
0answers
27 views

WMS or WFS for selecting features and show attributes?

I am beginner in MapServer and Openlayers. I want to be able to select features and show their attributes by user click. I don't need to edit any feature. I know this is possible with WFS, but ...