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

learn more… | top users | synonyms

2
votes
0answers
123 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 - ...
1
vote
1answer
2k views

OpenLayers - How to display selected features as graphic markers?

I'm attempting to render a point feature as a graphic. When that feature is selected I'd like to display a green indicator above the graphic. It seems backgroundGraphic and externalGraphic are ...
2
votes
1answer
761 views

OpenLayers DrawFeature override double click

Can anyone explain how I can ovveride the dblclick event when I'm using an OpenLayers.Control.DrawFeature? I see there is parameter in the constructor for handlerOptions - Used to set non-default ...
1
vote
1answer
1k views

How to use cql_filter in OpenLayers.Control.WMSGetFeatureInfo?

I am a newbie and I am using OpenLayers, GeoServer 2.1.3. I have a function that works to filter the markers on the map with a CQL_FILTER function. But when I click on a marker it shows a popup with ...
4
votes
3answers
606 views

Can I prevent features from being created outside an OpenLayers map?

In our app, we allow users to create features on maps. The boundaries of these features will later be converted into real-life latitude/longitude coordinates, but does not make sense if features are ...
2
votes
3answers
4k views

help displaying jpg in openlayers?

I am trying to overlay a jpg image over an openlayers map. I have been to the example on their site and looked all over for a solution with no luck. So I am guessing that their are rules for setting ...
3
votes
0answers
128 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 ...
0
votes
4answers
3k views

OpenLayers (allOverlays): Vector layer not rendered without raster layer beneath it

This is another newbie question. I'm trying to create a map using OpenLayers that comprises only of vector layers from a WFS server. However, I'm thwarted because my vector layer won't render unless ...
2
votes
2answers
838 views

Multiple Maps with Styles not working in OpenLayers

I have created 2 maps(within 2 in a same page) along with their respective style maps. Both maps are having vector layers along with "LineString" geometry... added into them. Both style maps are ...
5
votes
1answer
658 views

Efficient Outputs for GeoServer Vector Data

Ok, here's our problem. We have a mapping application at http://explorer.geowessex.com which uses OpenLayers and GeoServer for delivering the data. The data is potentially endless and we have very ...
0
votes
1answer
708 views

How to change projection for layer?

i use two seperate datasource for my layers: sql database for main map data, this is using EPSG:900913 osm file for some extra features, this data use EPSG:4326 projection tiles for both layers ...
3
votes
2answers
730 views

OpenLayers dynamic rules defintion & clone function filter

I'm developing on a OpenLayers application which creates dynamic rules for a vector layer using the geostats library. I want to create these rules inside a simple loop through the number of classes. ...
0
votes
1answer
1k views

Alternate colors of GeoJSON linestring segments in OpenLayers?

I am rendering a vector linestring via GeoJSON on top of an OpenLayers map. I'd like to alternate the styling between two slightly different shades of blue, such that the colors alternate from one ...
1
vote
1answer
864 views

How can I change mouse icon on hover a WMS layer feature using OpenLayers and GeoServer

my unfinish app is: "http://190.5.81.197/MAPA_OL/mapa/matricula.html#" i just want to know how cant I change mouse icon when the mouse is over a marker on a wms layer i am using goserver to create ...
0
votes
0answers
2k views

GeoServer/OpenLayers: Overlay WMS on Bing Map

I am coming from the ESRI side and learning GeoServer/OpenLayers. It seems the only way to overlay one layer on Bing or the like is to use WFS. In my opinion, WFS transfers a lot of data to the client ...
0
votes
2answers
181 views

How do you pass parameters for Proj4js implementation with OpenLayers

I am using Proj4js along with OpenLayers for the transformation of x,y (projection type is Transverse Mercator) to long, lat. While executing "inverse()" method what I noticed that in tmerc.js some ...
1
vote
0answers
519 views

How to display indoor map using OpenLayers?

I created my osm file in JOSM, and i imported it to my database by osm2pgsql tool. I created new layer in my osm.xml file, which selecting data with query: select way from planet_osm_line, (select ...
1
vote
0answers
112 views

How to reduce transparency for Openlayers using Map Composer?

Increasing transparency of Openlayers will increase the contrast of others layers. For sure, it will increase the esthetical aspect of maps.
0
votes
1answer
332 views

OpenLayers/Extjs/Mapfish put permaink in menubar

I solved my problem Problems getting openlayers permalink working on how to get the maps view permalink but now I want to put the permalink in the toolbar instead of reloading the page with the ...
2
votes
1answer
832 views

GetFeature with WFS layer is not working as the click co-ordinates are returned in spherical co-ordinates

GetFeature with WFS layer is not working as the click co-ordinates are returned in spherical co-ordinates. using geoserver 2.1.3 and openlayer 2.11 layer information is in EPSG:4326 WMS works fine ...
3
votes
1answer
736 views

Waiting for Vector & WFS loading

user borrowed from friend since i use vector layer with wfs protocol, there is a little while before features loaded on the map. So i need to tell user to wait a moment until they load. what best ...
0
votes
1answer
2k views

creating vector layer from OSM file using OpenLayers

Using OpenLayers, I am creating a vector layer over a map. This vector layer is created from an OSM xml file. My purpose is to do some experiments in Prolog with this data, for example, querying the ...
1
vote
1answer
347 views

sometimes a white, square dialogue appears in the middle of the screen: Map Data … Google maps

I have this code and some of the time,(not always!!), i have a dialogue that get displayed in the middle of the map: Google Maps Map data (c)2012 Google var map; var vectors; var ...
0
votes
1answer
285 views

Unselect all layers and clear the legend in Openlayers

Is the there a way of clearing the legend in Openlayers by unselecting all the layers? We have a map that starts with several layers. I was thinking that we might be able to add a button to the ...
1
vote
0answers
1k views

how can we save vector files in openlayers

i'm using Postgis + tomcat + geoserver + openlayers for my application. with the help of some tutorial i have reached upto gettting feature information of layers. Next i want to edit and save ...
1
vote
1answer
136 views

Tool For Generating Formula for Projection

I am using Proj4Js for northing,easting to lat,long transformation. My Datum is "AGD84" and projection is "Transverse Mercator". While doing so I found that if I don't specify "+proj" parameter in ...
3
votes
3answers
2k views

WMS Request not served to OpenLayers by GeoWebCache off GeoServer

I'm developing a GIS app that makes use of GeoServer and GeoWebCache for serving requests, and OpenLayers for frontend. WMS requests to the GeoServer are served with no issues. But when I make a ...
2
votes
1answer
545 views

using google maps, the mouse cursor and the dot on the map not inline

i'm trying to implement the example http://openlayers.org/dev/examples/drag-feature.html . When i'm implementing this with a Google map, I have a strange bug: the mouse pointer and the dot on the map ...
1
vote
0answers
970 views

Adding Access-Control-Allow-Origin: * to Jetty in Geoserver [closed]

So i am trying to add Access-Control-Allow-Origin: * In the Jetty config file, on which the Geoserver is running to receive the contents from popup (which I am not receiving since there is no ...
0
votes
1answer
836 views

Problems getting openlayers permalink working

I set up an openlayers permalink function. I set the code and it shows up. But the URL does not work. Where is I get a link like this: ...
3
votes
2answers
406 views

OpenLayers - SelectFeature fails on a small polygon on top of a larger polygon

I'm using new OpenLayers.Control.DrawFeature to draw polygons and OpenLayers.Control.SelectFeature to select a specific polygon. I'm drawing one polgon and then a smaller polygon on top of the first ...
1
vote
1answer
213 views

Mapnik not generating tiles for tilecatche

imported data by using Osm2pgsql, to get rid off all problems related to data conversion, i stored this as latlong (-l parameter).I created stylesheet, and i tested with python script and it was ...
2
votes
1answer
987 views

Getting capabilities from tomcat's Geoserver fails

I wanna teke capabilities from tomcat's geoserver. Use this. wms = new OpenLayers.Format.WMSCapabilities(); OpenLayers.Request.GET({ ...
1
vote
1answer
3k views

Click to Hover for WMSGetFeatureInfo

I am using the following code and wanted to know how I can change it from click event to hover or mousemove event. I know there is a eventListner but I am unable to locate the click event where I must ...
2
votes
2answers
486 views

Can I display cloudmade tiles in arcmap 9 or arcmap 10?

I have created a number of cloudmade maps which I use in my opensource webstack using openlayers. I have been asked if the cloudmade maps could also be shown in ArcMap, but have not seen any way to ...
3
votes
1answer
1k views

How to get bbox from capabilities?

I have WMS layer and want use zoomToExtent after CQL filter. So i gonna get bbox from geoserver. wms = new OpenLayers.Format.WMSCapabilities(); OpenLayers.Request.GET({ ...
3
votes
1answer
2k views

Openlayers + WMS layer. Use scale or resolution + DPI

I have a problem with displaying map with WMS layer in Openlayers. I'm able to display it but the image of the map is not sharp especially at higher zooms. I have a documentation from the map ...
0
votes
0answers
62 views

How to turn off Google map data copyrighted window in Google Street layer (Qgis - Openlayers Plugin)? [duplicate]

Possible Duplicate: How to close watermarks in openlayers plugin After a few weeks not using Qgis, this morning I opened it up, accepted a request to update Openlayers Plugin. Right now, I ...
1
vote
1answer
682 views

Efficient WMS or TMS Loop for Radar data?

I'm looking for an efficient way to loop radar data from a Tilecache or WMS Server. Right now, I make an array of layers and increment through them, but this seems inefficient since I end up with a ...
2
votes
0answers
389 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
1answer
682 views

Syntax of WFS request in OpenLayers

I am in need of the correct syntax for loading WFS layer using OpenLayers. I have gone through many examples on the OpenLayers site and other examples, but can't figure out how to use the necessary ...
3
votes
1answer
687 views

WMS,WFS Services in Mapserver

I am new at Mapserver. I was trying to get WMS and WFS services started but could not get any simple article to start the services from scratch and display service data into openlayers. Please ...
2
votes
1answer
2k views

distanceTo is giving wrong result in OpenLayers?

Hi i am using distanceTo from OpenLayers to calculate the distance between two locations these are map details Geographic = new OpenLayers.Projection("EPSG:4326"); Mercator = new ...
5
votes
1answer
1k views

MGRS in OpenLayers

I am trying to view the Military Grid Reference System coordinates in Openlayers through the MousePosition control. Is there an easy way to accomplish this just through Javascript? I am looking at the ...
0
votes
3answers
1k views

How to zoom map after CQL_Filter?

I have WMS map, after applying CQL filter to layer how can I zoom map to see filter result? UPDATE: Here is my code what I'm trying to do var layerArray = map.layers; var someLayer; for (var i = ...
2
votes
1answer
1k views

GeoWebCache OpenLayers WMS request structure

I'm developing a GIS app that makes use of GeoServer and GeoWebCache for serving requests, and OpenLayers for frontend. WMS requests to the GeoServer are served with no issues. But when I make a ...
1
vote
1answer
299 views

Can feature Info be extracted from WMS

Ok since my previous problem of overlaying WFS onto WMS is still unsuccessful, I though was able to overlay the WMS instead with this code, {layers: 'iPlant:AllQuebecSpecies', transparent: true} So ...
1
vote
1answer
3k views

OpenLayers - WMSGetFeatureInfo, picking a feature's attribute from a WMS layer created in GIS Cloud

I created a WMS layer in GIS Cloud app. I use GIS Cloud because they provide prepared app to transfer data from mobile to layer. The URL of WMS layer: ...
0
votes
1answer
259 views

Advantage of using WMS over WFS [duplicate]

Possible Duplicate: Comparison of WMS and WFS services I am trying to overlay WFS over WMS and still not successful. So wanted to know when and why would someone use WFS? I need to extract ...
2
votes
0answers
171 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 ...