[OpenLayers-Users] Dealing with large number of WMS layers

2010-06-14 Thread Dragan Podvezanec
Hi all. I'm having a map with 350 different layers (Geoserver WMS connected to database). I tried to use few approaches how to show such big number of layers, and I'm having problem with all of them, so I would need some advice how to do this: 1. Using layer groups at Geoserver - I can't use th

Re: [OpenLayers-Users] Wrong area calculation

2010-02-17 Thread Dragan Podvezanec
Thanks, works great now! -- View this message in context: http://n2.nabble.com/Wrong-area-calculation-tp4584951p4585575.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users mailing list Users@openlayers.org http://openlayer

[OpenLayers-Users] Wrong area calculation

2010-02-17 Thread Dragan Podvezanec
Hi all. I have one WFS layer from EPSG:31275, which is then reprojected to 900913 and overlayed on Google layer. I noticed that polygon areas caculated with feature.geometry.getArea() are wrong. Original layer is stored in database, and uses same units (meters), so I'm sure about original featur

[OpenLayers-Users] WMS format image/gif and opacity from SLD

2010-01-08 Thread Dragan Podvezanec
Hi all. Is it normal that opacity parameter from SLD is ignored while trying to use GIF image format (WMS layer from geoserver)? With PNG it works well, but PNG's are simply too large when having 20 or more WMS layers on the map. -- View this message in context: http://n2.nabble.com/WMS-format

Re: [OpenLayers-Users] How to fetch polygon color from SLD ?

2009-12-01 Thread Dragan Podvezanec
Ivan Grcic-2 wrote: > > Hi, > > this is more for Geoserver user list... but try with this params: > > &LEGEND_OPTIONS=forceLabels:off&RULE=Rule 2a > > LEGEND_OPTIONS is a geoserver spesific so it probably wont work with > other wms servers, while RULE is SLD standard si it should work with >

[OpenLayers-Users] How to fetch polygon color from SLD ?

2009-12-01 Thread Dragan Podvezanec
Hi all. I'm trying to make custom layer switcher, with legend, because I have thematic map. It contains few polygon WMS layers from Geoserver. Those layers are same layer on GS, but filtered by attributes, so I can switch them on or off. What intterests me, how can I make small PNG with layer c

[OpenLayers-Users] WFS.fromWMSLayer selection question

2009-11-18 Thread Dragan Podvezanec
Hi all. I have 10 WMS layers (polygons) which do not overlap. I'm trying to panZoom to the center of the polygon which user clicked. I registered "featureselected" events on all WMS layers, like this: for(var i in map.layers[layer]) {

[OpenLayers-Users] GetFeatures , features property...

2009-11-17 Thread Dragan Podvezanec
Hi all. If I understood documentation right, "features" property in GetFeature Control should fill an object with selected features. I don't know why, but I get nothing: map.someobject = {}; map.someevent.somelayer = new OpenLayers.Control.GetFeature({

[OpenLayers-Users] Openlayers selection on Geowebcached layer?

2009-10-30 Thread Dragan Podvezanec
Is this possible at all? Currently I use WMS layer from Geoserver, and I can make selection on it, and get all needed feature info: onclick.events.register("featureselected", this, function(e) { var object = (e.feature); var bbox = (object.geometry.bounds);

[OpenLayers-Users] Select feature without lat/lon

2009-10-28 Thread Dragan Podvezanec
Hi all. I don't know if this is possible: I have a page with "select" menu on the left side in separate , and map in the map . Select on click works fine. I would like the same behaviour when user selects something in select menu. When user submits the select, he passes ID of the feature which is

[OpenLayers-Users] Moveend event results in endless loop

2009-10-11 Thread Dragan Podvezanec
Hi all. I have small problem with moveend event: I have two layers, WMS (as base layer), and WFS. Both are served by Geoserver. What I want to do is: after searching for an object from WFS layer, I want to Pan the map to center of this object, and then zoom to it's extents. Here is the part of the