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

learn more… | top users | synonyms

4
votes
0answers
36 views

Does leaflet.js offer an gutter option just like Openlayers

Currently we are switching from Openlayers to leaflet.js and there is a problem using a WMS layer with leaflet. The WMS being used is Deegree. When a layer is visualised within leaflet there are ...
4
votes
0answers
136 views

GeoServer pregeneralized layers not working as expected

I've set up GeoServer 2.1.4 and installed the feature-pregeneralized-2.1.4.jar plug in and processed my shape files into each of their separate folders with the generalized shapefiles and I've check ...
4
votes
0answers
683 views

OpenLayers: WFS request to GeoServer to retrieve “name” & “featureNS”

Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. From the result of WFSGetCapabilities().read(), I can loop each featureType and retrieve some basic info(e.g., name, title, ...
3
votes
0answers
23 views

OpenLayers.Renderer.Symbols custom named by function

Is there any approach to define custom OpenLayers.Renderer.symbol by a function? For example, instead of making a symbol for each 3-pointed, 4-pointed, 5-pointed etc. star ...
3
votes
0answers
31 views

Option for 360 degree movie embedded in Open Source GIS software?

Is there any Open Source GIS software available to embed 360 degree movies with the map? For a COTS example, there is the Active Link Vision (ALV) extension for ArcGIS from IWANE.
3
votes
0answers
19 views

How do I separate OpenLayers methods from my own, while using inheritance?

I am working on a GIS API, that uses OpenLayers. I initialize the map lke this: xgis.map = OpenLayers.Class(OpenLayers.Map, { var mapOptions = {}; mapOptions.allOverlays = false; /* ...
3
votes
0answers
27 views

Opposite than normal behavior in zoom with restricted extent and vector base layer

My map has OSM base layer and i have restricted its extent. This worked normally. Recently i added a blank baselayer so that the only overlays could be shown. base = new OpenLayers.Layer("Blank", { ...
3
votes
0answers
45 views

How to update location via a data streame in openlayers or Leafletjs

I'm developing a application where I need to real-time update a Location of a Map using a data stream, I'm planing to use web-sockets, Are there any guides I can follow? Or can you guys direct me in ...
3
votes
0answers
62 views

Is it possible to link Google maps API for business from Openlayers?

I want to know whether it is possible or not? to get Google's 3 layer types in openlayers, nothing more. Just I came across a web-page about supplying private key from openlayers to google maps for ...
3
votes
0answers
112 views

How to determine and send alert SMS for next bus stop in a GPS tracking system?

In my gps tracking system (PHP/MySql) I have got 5 Stops for a vehicle. Whenever the bus reaches stop 1, the passengers at stop 2 should get an SMS alert. And in the same way for the sops followed ...
3
votes
0answers
325 views

GIS applications and noSQL solutions

I'm a bit lost about NoSQL and applications using GIS. My aim, to sum it up quickly, is to store geospatial object into a MongoDB database and display them into a map via OpenLayers. Is it possible ...
3
votes
0answers
134 views

Cross-browser marker animation in OpenLayers

Currently I'm trying to implement animated markers in OpenLayers. I'm using PNGs for the markers, set by the externalGraphic style property on an OpenLayers.Layer.Vector. I need to be able to make ...
3
votes
0answers
419 views

Using Custom Map Projection On Leaflet

I have an application displaying a EPSG:3414 map running on Openlayers - jsfiddle working sample that works. I am trying to implement the same on Leaflet - jsfiddle non-working, it is not working as ...
3
votes
0answers
151 views

OpenLayers and external CSS

I am using geoExt and OpenLayers to plot some map. Everything worked well until I had to add some styling. To display it on the webpage, I need to use the CSS of my university and once I do that, I ...
3
votes
0answers
89 views

Help with WPS.client

Hy! I am trying to make an application which will test if any of the segments (multi line layer acquired from GeoServer) intersects with polygon acquired using OpenLayers.Protocol.WFS.fromWMSLayer, ...
3
votes
0answers
260 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, ...
3
votes
0answers
422 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 ...
3
votes
0answers
2k views

Map printing using OpenLayers

Following OpenLayers map printing demo here, I'm able to get my map in image format. But I'm facing two issues with the export: Google Street base map is not included in the image output; Whenever I ...
3
votes
0answers
399 views

Get tile URL with projection different than 900913

I have the following code, which should display a slippy map showing tiles producted by me with mapnik: Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 ...
3
votes
0answers
2k views

How to edit Attributes on WFS Layer through Popup?

I am working on a project for university. So far I have displayed WfsLayers which can be select from a panel, also I can click on my points whereupon a Popup will show up with some information which ...
3
votes
0answers
126 views

GeoJSON support in ArcObjects 10 .NET

i am currently trying to build a geoprocessing application using OpenLayers and ArcObjects, I have some features that user draws on openlayers and i need to send these features to arcobjects for ...
3
votes
0answers
540 views

Requesting multiple features on different layers

The case: A lot of features need to be rendered on an openlayers map. Drawing all features on the map (WFS) causes performance issues (especially in IE). Therefore I have chosen to use WMS so that the ...
2
votes
0answers
27 views

Dividing a polygon into two OpenLayers

I'm using OpenLayers to draw a polygon to my users. I want the ability to implement through a line, split the polygon into two, with the cutoff line that the user drew. Does anyone know if this is ...
2
votes
0answers
33 views

Any solution to mosaic Modis MOD13Q1 using batch file?

I have a Modis MOD13Q1 product for Pakistan, four tiles cover my complete area and I have data consisting of 14 years, after every 16-day interval. I want to mosaic them using a batch file which ...
2
votes
0answers
29 views

Adding feature to GeoServer vector layer using WFS-T in absence of fid index?

I want to add a feature to GeoServer vector layer with WFS-T. When I use saveStrategy.save(), an error returned that said: java.io.IOException: current fid index is null, next must be called ...
2
votes
0answers
21 views

How can I use WFS-T in openlayers?

How can I use WFS-T in openlayers? My server is geoserver and I want to edit a feature.
2
votes
0answers
16 views

OpenLayers Popup relative to a feature's position - prevent overlaps - only one popup in one time

There are many questions related about this topic. However there is no complete example for this widely used pop-up type: Basically i need a popup which will appear the top-right of a Feature (Point) ...
2
votes
0answers
19 views

load end event on a baselayer

can a loadend event be added on the baselayer? I made a code which would get all the loaded tiles but will be invoked when the map is finished loading all the tiles? I tried using Events.register and ...
2
votes
0answers
24 views

OpenLayers: Switch layer off when switching another layer on

As the title says, I want to turn layers off when turning another layer on. I wrote a function that works. However, I have to click the layer twice in the LayerSwitcher to turn the layer on that I ...
2
votes
0answers
31 views

multiple image in OpenLayers

I'm fairly new to OpenLayers so please bear with me. I'm trying to add multiple images to OpenLayers. I have the following (some code is excluded): var images = [image1,image2,image3] // these are ...
2
votes
0answers
55 views

How to simulate events from Openlayers 2?

I am working on a GIS API that uses OpenLayers. I am testing it using QUnit. The problem is I need to simulate clicks and trigger some events to be able to test the whole code. For example, I have a ...
2
votes
0answers
33 views

How would I get number of tiles loaded, and total number loading?

So new to OpenLayers 3, and I'm trying to create a "loading bar" to indicate how much of a layer has loaded. I'm thinking of making it based on the number of tiles loaded so far divided by the total ...
2
votes
0answers
72 views

How to install Proj4js.js in my localhost directory?

I'm developing a GIS website for vineyard management. I am using Openlayers with the WMTS IGN (French institute for geography) datas. It works fine. I also would like to add the possibility for the ...
2
votes
0answers
232 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 ...
2
votes
0answers
47 views

How to find X and Y of clustered features?

How can I find longitude latitude values of clustered features? Please look the image. I hope you understand my question. I need to find out the X and Y of clustered features on every zoom levels. ...
2
votes
0answers
134 views

Add a layer as input with code of OpenLayers / GeoExt using GeoServer

I try to develop a GIS app with raster data. I have integrated the code of the following openlayers example in my app. http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/wps.html I have ...
2
votes
0answers
57 views

Unable to correctly visualize vector map on Google Map using OpenLayers

I am unbale to draw vector layer on google base layer. Geometry is getting displayed but in wrong place. unable to find out where I am making mistake. var map = new OpenLayers.Map({ div: ...
2
votes
0answers
71 views

Save WFS layers multiple records with geoext editor grid

How can I save multiple records after modification with geoext editor grid? The saving is working fine if I modify only one of the records, but it fails when I try to save multiple modifications. I ...
2
votes
0answers
92 views

Openlayers waits for base layer until loading other layers, is paralleled loading possible?

I am loading a base layer from OSM and a WMS layer from my local geoserver using the latest stable openlayers (2.13.1). Performance is okay, but openlayers seems to wait for the base layer to load ...
2
votes
0answers
223 views

Use of Geoserver raster processes within OpenLayers: WCS/WPS problem.

I've been working with some GeoServer processes using OpenLayers as client. I've been successful in those which use WFS as input (like gs:BufferFeatureCollection). My problem comes when I want to use ...
2
votes
0answers
161 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
78 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
283 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
100 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
294 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
259 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
237 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
40 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
87 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
134 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 ...