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

learn more… | top users | synonyms

1
vote
0answers
37 views

Rendering OSM with QGIS for MapServer to use in OpenLayers

I want to show tiles in OpenLayers offline. I've installed QGIS 2.0, TileCache, and MapServer on Windows. Enabled plugin OpenLayers in QGIS. What kind of data I suppose to extract from QGIS with my ...
1
vote
0answers
65 views

How to create a regular polygon grid in Openlayers?

I am trying to create a grid in my map and do some calculations. I seen the following links:- Create regular polygon grid using postgis Create regular polygon grid inside a polygon using postgis ...
0
votes
0answers
94 views

Openlayers can't get KML layer to work

I'm trying to load multiple KML layers with this example project from openlayers.org I can make the KML work in almost all other examples but somehow this code doesen't load. It even breaks the code ...
1
vote
0answers
85 views

pgrouting php problem “pg_fetch_result(): Unable to jump to row 0 on PostgreSQL result index 3”

I'm trying to build a simple routing web-app using pgrouting, followed some tutorial and the latest workshop. Because I'm using PostgreSQL 9.3(x64), Postgis 2.1.1, and pgrouting 2.0 so I did some ...
0
votes
1answer
22 views

Zooming on point cluster in openlayers

I have clustering enabled on an OpenLayers map and have used code from the first answer in: Openlayers zoom in on cluster to zoom in on a cluster. function onFeatureClick(event) { if ...
1
vote
1answer
100 views

case insesitive CQL-openlayers filter

I have the following filter in openlayers 2.13 var filter_c = new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.LIKE, property: 'p_name', value: ...
1
vote
1answer
44 views

Base Layers switching of OpenLayers

I want to know what happen when we switch between the baseLayers of an openLayers Map, I mean when we switch the baseLayer, does it use the layer.setVisibility() to false for all the remaining layers ...
2
votes
0answers
21 views

different maps for different zoom levels in openlayers? [duplicate]

I'm trying to create a mixture of maps that will load in depending on zoom level However, it will only show as one map to the user, and depending on the zoom level, it will load in a different map I ...
3
votes
2answers
112 views

Displaying OSM file with markers

I'm trying to show OSM file which I exported from openstreetmap api. However, layer I add with OSM file is displaying like just polygons, I cannot show markers (street names, names of buildings etc.) ...
1
vote
1answer
58 views

repeat skobbler maps horizontally with OpenLayers?

I'm trying to get skobbler maps to repeat horizontally if you load this page http://developer.skobbler.com/demo/skobbler-tiles-openlayers.html and zoom out, the map will not repeat horizontally ...
0
votes
1answer
39 views

only one popup displayed on the openlayers

The issue is that i only one popup on the map is dispalyed. I can see all the points but popup can see only on the last point of the list. Please check my code http://jsfiddle.net/3HSjY/24/ I'm stack ...
0
votes
0answers
35 views

Selecting WMS Layer on hover - Error Openlayers.REQUEST.GET params

I have wms baselayer and wms shapefile. I want to select the wms shapefile feature while hovering and change its color. I tried SLD Select and adding Selecting and Hover Vectors separately, but ...
1
vote
0answers
46 views

openLayers and geoserver: WMSGetFeatureInfo does not return feature beyond wrapdateline

I built a map made of several layers. I need to display the layers features fields at the place where the user clicks (see the controler code hereafter). The layers are correctly displayed and go ...
2
votes
0answers
77 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 ...
0
votes
0answers
40 views

Openlayers / QuantumGIS, export or sync features Offline

writing from Spain. I am developing a web application based on OpenLayers , GeoServer and PostgisSQL , packaged under OpengeoSuite . The issue has to do with vector layers and their features. Until ...
4
votes
1answer
79 views

Maximum number of layers in openlayers with geoext

i have been developing webgis application that requires around 45 different layers served from geoserver. I had created openlayers wms layers and added them to geoext, everything works fine till the ...
0
votes
1answer
225 views

OpenLayers - Cannot draw a circle using createRegularPolygon

I have been trying this for a while but I cannot manage to draw a circle on a vector layer although my polygons are being created without any problems. this.pj_epsg_900913 = new ...
1
vote
1answer
131 views

Execute OpenLayers WPS request using WPS Client

I am having trouble executing WPS processes with the OpenLayers WPS Client. I can execute the processes in Geoserver, however when I try to execute the process from my OpenLayers test app I keep ...
0
votes
1answer
206 views

ExtJS+GeoExt LayerTree (Map and Tree in separate views) Cannot get layers store to work

I have an Ext application i'm setting up and one of the page panels is a GeoExt map. The layerout of the map area is set up like this: MapTabs - Arctic Map Tab - Map View - Layer Tree View ...
6
votes
2answers
146 views

Is it necessary to master openlayers to use geoserver?

Is it necessary to learn openlayers to use geoserver? Can i completely ignore OpenLayers so long as i master using geoserver to publish data on my website because i understand openlayers is contained ...
1
vote
2answers
87 views

How can I do spatial queries in client side?

My current project is Map visualization. In this application I am taking the Input as JSONArray/CSV file and the outputs are Heat Map, pin Map, Thematic Map etc.. So, here I am using postGIS for only ...
0
votes
0answers
28 views

Openlayers getFeature from WFS with Specific ID

I'm working with OpenLayers and have the NHDPlus Catchments for the North Atlantic. I have built a web mapping application in Javascript for viewing and delineating basins from these catchments, ...
1
vote
0answers
32 views

How to initialize OpenLayers with no maps? [closed]

I need to reload my map oftentimes to test my layers and don't want to wait for OSM to load every time. How to avoid the main layer (the OSM map) to load and work only on my feature layers?
0
votes
0answers
39 views

OpenLayers: How to move smaller vectors to front?

I've got a problem that's been bugging me for quite some time now. As you can see in the image below I've got som vectors that ends up beneath bigger ones, and despite all my efforts of trying to ...
2
votes
2answers
433 views

Offline map(google/openlayers) for HTML5(Angular) based hybrid application

I have a requirement where the customer has explicitly asked for offline support for the map. The rest of the application works well offline, but i am not sure how to get this done using Google or ...
2
votes
1answer
163 views

Viewing map tiles from Maperitive in leaflet or openlayers

I generated tiles in Maperative. Created following html file: <html> <head> <meta charset="utf-8" /> <link rel="stylesheet" href="leaflet/leaflet.css" /> ...
0
votes
2answers
146 views

How to use Google Maps API V3 to diplay circle with Openlayers

I found bellow code to display Circle by click event with Radius 60.0m.(google maps API v3). http://stackoverflow.com/questions/15111403/google-maps-api-v3-change-circle-radius-by-click-event I want ...
3
votes
0answers
74 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 ...
0
votes
1answer
74 views

How to better visualize features of clusters in Openlayers

I am using the cluster strategy for mapping a large number of features in Openlayers, now I would like to find a good solution for providing info about the features contained in a cluster selected by ...
0
votes
1answer
99 views

Openlayer map add combo in panel

I just want to add combo box on openlayer map panal. I dont know how to add combo to openlayer panel so currenly i have set absolute location to combobox , like this http://jsfiddle.net/4zNH6/ ...
0
votes
2answers
70 views

Clear markers from OSM map with openlayers

I have a bunch of Point data that refreshes every few minutes. To render these points, I have created the markers as OpenLayers.Feature.Vector Objects and added them to my Vector layer. The layer gets ...
0
votes
1answer
49 views

select (click) labels in openlayers

I have the following style for an OpenLayers vector layer. Color and Name come from Geoserver/PostGIS. I red that setting labelSelect to true, user can also click the label, not only the point and ...
2
votes
0answers
40 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: ...
1
vote
2answers
71 views

How to display a popup for two points which have same longitude and latitude?

I have a vector layer with lots of POIs/Points. Some of the Points have same coordinates(Longitude,Latitude). For Example:- POINT A : {id:1,name:A,Geom:POINT(73.1545, 13.126)} POINT B : ...
1
vote
2answers
53 views

How to validate geometry in openlayers?

How can I validate the geometry in Openlayers? I need to check "MULTILINESTRING()" (which is empty) is valid/not valid. In postGIS, for Geometry validation we are using "isValid()" function. Like ...
0
votes
1answer
49 views

How to display data from multiple layers in OpenLayers? [closed]

I am new to using openlayers and Geoserver. I currently have a few shapefiles of a place with a background map of that place. I have imported both shapefiles into postgresql and geoserver. After ...
0
votes
1answer
57 views

Openlayers requests to geoserver don't produce cached tiles

I've created a grouped layer made from 4 MrSID rasters. I have a Openlayers map with basic Google layer. When I preview the grouped layer in geoserver , I see that tiles are being created in the GWC ...
0
votes
2answers
124 views

Architecture for java ee application

I´m new to GIS development. I have read about Openlayers, maps servers (i choose Geoserver), geodatabase (in my case i choose PostGis) and theory of gis in general. I´m developing a Java EE ...
0
votes
0answers
148 views

Populate feature grid with database query results Using JSON, JSP

I convert database query result into json format.But this json data not populate on feature grid, Not showing any errors.not able to understand the error.please tell me what is wrong with this code I ...
0
votes
2answers
106 views

How can I add a PostGIS query result to OpenLayers?

I'm doing a query on PostGIS that returns a lot of geoemtries as results (more than 1000 which is why I can't use Geoserver CQL) - the query WHERE CLAUSE is being changed each time by the user (its ...
2
votes
3answers
91 views

How to create a multi-colored raster image based on long,latt,color information?

I want to create a multi-colored raster layer to overlay on my map in OpenLayers I have the following information in my DataBase: D_Cell_ID Long Lat ColorCode 055113 ...
2
votes
1answer
37 views

geoserver/openlayers: multiple layer geotiff

I have a geotiff file with multiple layers (46 layers), each layer corresponding to a different date (the geotiff layers corresponding to sea surface temperature, 1 layer per year). I imported this ...
1
vote
1answer
53 views

pgRouting and Openlayers error when insert controls variable

I've got another problem here :( I'm following the foss4g_w12 tutorial for building a pgRouting WebApp using openlayers, everything goes well until I added the following statement to my code: ...
1
vote
0answers
94 views

OpenLayers SelectFeature control not working after de- and re-activation of NavigationControl

I have a problem with OpenLayers Control.SelectFeature and Control.Navigation: I have a map with a Control.Navigation object. And I have a Layer.Vector with a number of features. On this layer I ...
2
votes
3answers
79 views

How to prepare a multi-colored vector layer?

I need to present a multi-colored vector layer and something similar to below: I need to prepare the vector layer by making use with the data set available in my database. Inside my database, I ...
1
vote
1answer
164 views

OpenLayers + GeoServer's WMS — Passing Feature ID into a Variable

I have a WMS PostGIS-based polygon layer served by GeoServer, and whenever I click on any feature I want to get its gid value, so I can pass this value to the DOM. Unfortunately, I could not find a ...
0
votes
1answer
30 views

Openlayers CQL DWITHIN returns errors

I'm trying to use CQL but I guess I do it wrong because I get pink layer in return and error in geoserver : Binary geometry filter, but first expression is not a property name? (it's a class ...
2
votes
1answer
120 views

How to dynamically measure and display radius of circle in OpenLayers?

I want to give my user the ability to click on the map and give him a dynamic circle drawing tool which also reads out the radius measurement. That way the user can see how big the circle he creates ...
0
votes
2answers
255 views

Openlayer maps issue with ssl

I am using openlayers map by using the hosted js : <script src="http://openlayers.org/api/2.13.1/OpenLayers.js"></script> But my client has ssl installed and when i try to run my map ...
1
vote
1answer
29 views

How to query data like only for point by from a grouplayer by using WMSGetFeatureInfo in Openlayers?

till now I have been known how to query data from a groupLayer by using WMSGetFeatureInfo while the point is it shows a lot of associate results features,so I aim to query a single layer infomation ...