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

learn more… | top users | synonyms

4
votes
0answers
156 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
736 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
86 views

Problem importing KML file to OpenLayers - Projection System

I know that many have this problem,but none of the answers helped me so i suppose it's a different problem.This is my code: <!DOCTYPE html> <html> <head> ...
3
votes
0answers
67 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
46 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
47 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
147 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
330 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 ...
3
votes
0answers
398 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... ...
3
votes
0answers
178 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
538 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
166 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
101 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
478 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
462 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
135 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
576 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
17 views

OpenLayers 3 don't go beyond given coordinates

In Openlayers 3 Max Extent there is mentioned how to set a max extent. But how can I set coordinates in such a way that it is not possible to drag the map beyond the some given coordinates? Extent ...
2
votes
0answers
54 views

Excluding layers from GeoExt 2 Legend Panel

I'm trying to exclude some legend in GeoExt.panel.Legend. I've created a vector layer named 'City Extent' via a function but I want the legend to be removed in the list of legends in my legend panel. ...
2
votes
0answers
31 views

Migrate FixedZoomLevels Layer OpenLayers 2.13.1 into OpenLayers 3

I have a following problem. I am not able to migrate existing custom Layer written for OL 2.13.1 into OL 3. I do not know how to reimplement the FixedZoomLevels properties. OL2 code: ...
2
votes
0answers
22 views

How to display output of a chained process in OpenLayers?

Is there a way I can display the inputs of a WPS process when one of the inputs is output of a chained configured process ? Maybe the snippet below will explain what I am trying to do ...
2
votes
0answers
22 views

wms layer cant see when I zoom

I have read many tipps for the problem "layer bacome cloudy when zoom", but it doesn't work still. Where is the problem in my source? var wms = new OpenLayers.Layer.WMS( "Földrengések", ...
2
votes
0answers
33 views

unselect all Features with jquery dialog close button openlayers 2.13

how can one unselect all Features with jquery dialog close button function in openlayers 2.13? View Entire Project Here (some buildings are not yet clickable) incorrect code: ...
2
votes
0answers
34 views

vector map.png image do not display

im using ms4w on my localserver. this are some codes inside my mymap.map file. MAP etc..... OUTPUTFORMAT NAME pnggd ...
2
votes
0answers
111 views

Building a ol3 webapplication with dynamic content and user registration

My setup: currently i'm using a postgis database, get it with a geoserver and display it with openlayers 3. I use the wfs data to display the features in clusters and i'm able to edit them with wfs-t. ...
2
votes
0answers
104 views

How to overlay Google Map in a standalone PyQgis application?

I have created a standalone PyQGIS app (within Python itself, not a plugin) with PyQt and PyQGIS API. It generates my map really well. I would like to overlay a Google Map layer as base map just like ...
2
votes
0answers
34 views

how to display 2 wfs layer at the same time from mapserver?

I have two wfs vector layers. When i show only one layer, it works. But doesn't work when i'm trying to show 2 wfs layers at the same time. How to show 2 wfs layers together? I'm using OpenLayers. ...
2
votes
0answers
87 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 ...
2
votes
0answers
44 views

geoserver and openlayers select rectangle pixel values

I'm running a geoserver (2.5.x) with 1 raster file (GeoTIFF) as a layer. From my application I can access a single pixel value when clicked (through WMS), but what I'm really interested in is to get a ...
2
votes
0answers
39 views

OpenLayers preview problem?

I just want display shapefile (.shp) that I have made in QGIS in openlayer geoserver. but There is a strange object that appears. I want to ask how to get rid of the strange object.
2
votes
0answers
132 views

How to plot heatmap/locations in Geoserver & Openlayers map from the Lat/Lon data of PostGIS table?

I am using Geoserver, Openlayers, PostGIS for Geospatial web implemenation. I have an Indian map shape files for States, Districts, Talukas. I am able to generate a map with states, districts, ...
2
votes
0answers
21 views

Pause OpenLayers interaction until pan complete

I have an OpenLayers map with thousands of vectors and a tiled strategy for retrieving them. I rarely get above 15fps panning the map, which is undesirable. I notice a similar Google Maps application ...
2
votes
0answers
25 views

using mapserver with open layer

I have implemented mapserver in windows environment and i get map from following url ...
2
votes
0answers
86 views

Using OpenLayers' Refresh strategy for GeoJSON

I am trying to use the Refresh Strategy reading a GeoJSON file in OpenLayers, however it doesn't work (but it works perfectly using for instance .Fixed() strategy), here is my code: var ...
2
votes
0answers
111 views

Comparing mapping APIs

I am planning to write a thesis about mapping APIs and compare three of them (Google Maps API, Leaflet and OpenLayers) or four, if you consider OL2 and OL3 as different APIs. I am planning to make 3 ...
2
votes
0answers
54 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 ...
2
votes
0answers
48 views

Using MapFish to Print vector with filter based style?

Is it possible to define an OpenLayers WFS style, which is based on filters, to MapFishPrint request?
2
votes
0answers
36 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
62 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
66 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
51 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
62 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
69 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
74 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
72 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
68 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
151 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
125 views

Mapfish printing application from Openlayers : disableScaleLocking

Mapfish printing application from Openlayers: I get the following error when I use a different scale than the scales defined in the config.yaml even though I am using disableScaleLocking: true ...