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

learn more… | top users | synonyms

1
vote
0answers
38 views

Are there any js libraries for reading OSH data?

I want to do time based mapping on openstreetmap data in the Kathmandu, Nepal area. I think i have two options Using OpenStreetMap Change files (OSC) Using OpenStreetmap History files (OSH) I have ...
1
vote
0answers
58 views

georectification via SLD is not appearing at the correct place

I am trying to georectify layers on the fly (feeded by Geoserver) in OpenLayers. To do so, we have created a style (SLD) in Geoserver that does the georectification provided that we feed it a ...
1
vote
0answers
87 views

GeoExt Feature Renderer

I am working with OpenLayers and GeoExt and I have the following problem: I have a point vector layer and I want to create a style that contains 2 symbolizers. In this example they show how this ...
1
vote
0answers
383 views

save features from openlayers to postgis via nodejs and websockets

I try to save features created on a vector layer (openlayers) to postgreSQL 9.1/postGIS 2.0 via websockets. As server I use nodejs 0.10.12 along with the pg module I cannot fix it. Its getting so ...
1
vote
0answers
67 views

Openlayers CQL.js compare attribute columns

I'm trying to use a CQL filter in OpenLayers in order to identify some polygons in which the value of one column is higher then the other. So, when I use the following cql filter production_2010 > ...
1
vote
0answers
254 views

MapServer Clustering GetFeatureInfo

I'm having a bit of a problem with clustering in map server the clustering itself works fine and the GetFeatureInfo works fine most of the time. However some times when I click on a cluster point it ...
1
vote
0answers
38 views

Is there an OpenLayers event when reaching bounds?

I have an app using OpenLayers and OpenStreetMap tiles. There are more zoom levels for the capital and less zoom levels for the entire country. Let's say the user is in the capital, in his car, in ...
1
vote
0answers
47 views

Align OpenLayer raster with OS Mapping Vector

I have an OS Vector map of a town in Ireland. When I load the Google Satellite Raster from the Open Layers plugin, the results are slightly off, by about 2m, probably due to ariel persepective. I'm ...
1
vote
0answers
65 views

Can I edit WMS layer or KML layer?

I am using Openlayers and until now i have been using OSM as background and i got points from my db (mySQL) and add them to vector layer, then i could modify them and save it back to the server. now i ...
1
vote
0answers
215 views

Adding multiple selectFeature Controls for multiple layers in OpenLayers

I am trying to add two different selectFeature controls for two different layers using OpenLayers. I would like to display a popup with information about the feature when hover over a feature in ...
1
vote
0answers
763 views

Create a jgw file for jpg image.

I converted ecw file into jpg file with IrfanView, to display the jpg as base layer in openlayers. I understood that I need to create a jgw file to display the jpg file. I found this example: ...
1
vote
0answers
168 views

Adding charts to OpenGeo suite SDK

I just wanted to gauge the work flow for adding charts to a map using the SDK that comes with OpenGeo suite. I know it seems a vague question I'm just trying to get my head around it :/ So far the ...
1
vote
0answers
57 views

Ubuntu Raring - Openlayers Plugin 1.8 or 1.9 Master

Relative newbie to Ubuntu and QGIS. Many questions are posted relating to the Openlayers plugin. It works fine in windows but I cannot get it to work or even appear in either 1.8 or 1.9. The "fetch ...
1
vote
0answers
77 views

Openlayers : Zoom In and Map Layers Blocked wih WHITE space

I've a problem where something is blocking my map layer when I zoomed the map click to view function load() { map = new OpenLayers.Map({ div: "map", maxExtent: new ...
1
vote
0answers
87 views

Why is my linestring not valid ? was recorded from GPX file

I have a linestring that was built from points from GPX file. I've insert it to sql as geometry and when I try to run funcs on it (like STStartPoint ) I get error that line isn't valid and I need to ...
1
vote
0answers
137 views

How to select GeoJSON vector feature in Leaflet?

I've been using OpenLayers for years,instead of comparing OL & Leaflet libraries,I decided to use Leaflet for the job for now. I have a GeoJSON data layer where I show point objects only.Just as ...
1
vote
0answers
200 views

Map with custom tiles having uncommon EPSG

I've produced with mapnik my own tiles with EPSG:31256 on a shapefile. I've structured the tiles in a OSM-like tree: zoom/x/y.png, with zoom from 0 to 2 and, x y starting from 1: tiles ├── 0 │ ...
1
vote
0answers
96 views

Mapserver + tilecache + openlayers attribute search

I'm using Mapserver + tilecache + openlayers for my web map application. I'm using Mapserver as a WMS Server. Now, I want to perform an attribute search, i.e. type something and the application ...
1
vote
0answers
215 views

Commit Feature WPS Split process

I develop a WebGIS application with GeoServer (2.1.1) and GeoExt (with the last version of OL). Data (polygons features) are stored in a postgis DB. I've implemented editing tools that allow users to ...
1
vote
0answers
190 views

Restrict featureinfo fetched with the WMSGetFeatureInfo request in geoserver

i followed a GeoEXT example to create popup menu that gets WMSFeatureinfo on click on the map, What i want to do is to get some specific fields not all the fields, i try the propertyName (with ...
1
vote
0answers
182 views

Want a transformation box after a user draws a polygon

I have built an application which allows users to draw a polygon inside another polygon. The two polygons are in different layers for some application specific reasons. After the user draws a polygon, ...
1
vote
0answers
176 views

Map Matching? (Finding Nearest Roads…)

I am making Pedestrian Navigation System for my school I created node and arc and digitized buildings with ArcGIS. Then, exported KML to use Javascript Dijkstra's Algorithm to find route. So far, so ...
1
vote
0answers
58 views

Why do temporary features disappear when hovered over?

With DrawFeature I'm putting new features to my map. With the hover option of SelectFeature it is possible to get feature information when hovering over it. Now I have the problem of disappearing ...
1
vote
0answers
315 views

Google Maps v3 with Openlayers - First Zoom Level

I use Google Maps v3 in my application and I noticed a strange behavior, When I refresh the web page, the map zoomed out to display the whole map then get back to the zoom level I specify in my code. ...
1
vote
0answers
142 views

How to bring workspace layer to one combo box and once layer selected in this attribute of this layer in other combo box

I want a layers in workspace in combo box.Once i select combo box i want attribute in selected layer to in other combo box. how can i do it. I am using geoserver, openlayers, Geoext and ext js. Can ...
1
vote
0answers
510 views

How to add legend in WFS openlayers

How can I publish WFS openlayer with legend, have tried different examples such as http://api.geoext.org/1.0/examples/vector-legend.js. But when I tried using this firebug shows an error=> ...
1
vote
0answers
122 views

OpenLayers getFeature loading indicator

I need to set up loadMask for OpenLayers.Control.GetFeature. I know i should hide the mask on featureselected event or on protocol callback but when should i show the mask? Here is code (assume i ...
1
vote
0answers
144 views

Editing a vector layer with openlayers

i am trying to develop a webmapping application using openlayers, geoserver, JSF javascript. I published my postgis layers on geoserver and added them to a google basemap on a xhtml page using a ...
1
vote
0answers
126 views

OpenLayers IE performance issues

I have an Openlayers map set up, it is all working well except in IE7 (which most of our users have) where performance is slow. I load in several layers of vector features and then switch these layers ...
1
vote
0answers
1k views

User defined Polygon disappears with featureadded and selectfeature

I am trying to achieve the following functionality: 1. User draws a polygon. 2. Once complete, fetch features in that polygon( Using WFS). 3. On Select polygon, show the features that intersect that ...
1
vote
0answers
101 views

Shows Netherlands region on map on every zoom level not other region in Open Street Maps

I want to show/display only Netherland region on Openstreet map, dont want to show other region on maps. Same thing apply for zoom in or zoom out also. I have tried with applying bounds but does not ...
1
vote
0answers
96 views

openlayers Arcgis WFS mousehover

i have a problem using ArcGIS wfs layer in openlayers. I would like to add the layer to the map as vector layer and then using a mousehover to highlight the features. However i cannot bring it to ...
1
vote
0answers
422 views

How can I parse the SLD file that sits in Geoserver so that I can apply the styling to WFS layer?

I have a layer that can be configured to render as WFS or WMS. I want to apply the same sld styling that I have defined in Geoserver to make it consistent. But when I try to get the SLD text from ...
1
vote
0answers
115 views

calculating st_simplify tolerance for openlayers

I want to display a vector layer in openlayers. Users can scale the map before they load the vector layer and I'd like to simplify the geometry with st_simplify before sending it to the client. Does ...
1
vote
0answers
72 views

proportion of image layer in OL

I tried create map with single image used OL. But I have a trouble: image in map has a wrong proportions. Img: 1540 x 1481 Img in map: 2858 x1481 My js code: $(function (){ var map = new ...
1
vote
0answers
176 views

scale dependent rendering of base layers(gmap,ghyb) causes warping/flickering

Hey guys I am using geoserver to host my WMS layers and I am using gmaps base layers in Openlayers. Below I have attempted to use scale dependent rendering of the base layer without any luck. What I ...
1
vote
0answers
336 views

WMS bounded overlay with OpenLayers and GeoServer

I'm trying to design a heatmap overlay bounded within four given coordinates with OpenLayers using WMS protocol to communicate with my GeoServer instance, where my data and SLD heatmap description ...
1
vote
0answers
279 views

Render Google Fusion Tables Layer Tiles in OpenLayers

I would like to know if there is a way now to include Google Fusion Table Layers Tiles in OpenLayers, and if yes, is it possible to use the dynamic styling just like in Google Maps? I know you can ...
1
vote
0answers
815 views

OpenLayers - Setting the Min Zoom Level of a Google Layer based on a Bounding Box

I have an OpenLayers project that is using Google Maps for the base layer. Maybe I'm going about this the wrong way, but I think what I'm trying to do is pretty simple. I just need to set the minimum ...
1
vote
0answers
721 views

OpenLayers and GeoJSON - possible to create, modify and delete features?

I wondered if anyone has some OpenLayers GeoJSON code to read, create, modify and delete features (i.e. instead of using WFS-T)? This is how far I've come - I've no problem changing the pop-up to a ...
1
vote
0answers
175 views

OpenLayers Show message (Information message or Alert )(or HTML content)on the map

Bonjour, J'utilise OpenLayers et j'aiemrais afficher une fenetre affichant des messages sur la carte openLayers Voici un exemple de ce que je voudrais faire : ...
1
vote
0answers
99 views

OpenLayers GetFeature Control Mobile

I have a map that is using OpenLayers and GeoServer. I have a base layer and a WMS layer with many features. I was using OpenLayers.Control.Click to get the coordinates from the map and show a popup ...
1
vote
0answers
194 views

Get info from WMS layer with Openlayers mobile

I am trying to build a webapp for iPad using OpenLayers Mobile. One of the features it should have is that you can tap on a tree displayed on a basemap and get info about this tree. These trees are ...
1
vote
0answers
714 views

Help me with this code from GeoExt and OpenLayers

I haven't gone entirely through GeoExt. But I am trying to understand the below code, but I am struck. The below code is about creating popups of feature information. But the layers added are WMS ...
1
vote
0answers
418 views

OpenLayers & MySQL

I have a MySQL database full of data about students (name, age, school, university, city, etc). What I want to do is to transform the data I got to markers on the map. To be more specific, I will for ...
1
vote
0answers
132 views

django + apache mod_tile

I'm not sure if I'm doing this right and I need your opinion on this current situation. I'm creating a Web Interface using django and postgres as the database. With regards to the slippy map, I went ...
1
vote
0answers
46 views

When I used geowebcache, my map overviewmap can not use it?

I know: gwc / service / wms geowebcache use data, overviewmap is use wms original data, I tried modifying openlayers.js,some difficulties. You encountered the same problem and can help me look at it, ...
1
vote
0answers
1k views

Is there a way for me to load a KML files locally in Openlayers

Recently I posted this question KML file seems to load in Openlayers without error but doesn't show vectors because I was having trouble getting KML vector data to show up. After searching around ...
1
vote
0answers
177 views

How to set the holeModifier on OpenLayers.Control.DrawFeature to always be active?

I would like to create a button "draw a hole" taht uses by default the holeModifier functionality but the user dont need to press the cttrlBtn. The "standard" way I guess, would be to create a way of ...
1
vote
0answers
135 views

Keep Getting Black OSM Tiles in Openlayers

When trying to view OSM tiles using the external storage example of OpenLayers, I keep getting black tiles when I zoom in and out. I don't know what the issue is but every time I zoom in/out there ...