[OpenLayers-Users] YUI compress problem

2011-02-07 Thread dels
Hi, I have tried compress OL 2.10 with YUI 2.4.2, but always failed in result, even the default one always failed to compress. It's not on the JS Minify process the problem occurred but when i use the compressed OL in my application many function not work (PanZoomBar, LayerSwitcher dissappear, et

[OpenLayers-Users] make layer-names multilingual

2011-02-07 Thread Jan Tappenbeck
hi ! when i define a layer i had to define a variable-name for the use in javascript and a title-name to show in the layer-panel. but there is not one language in the word! is it possible to change the panel-names on the fly in use a website without reload the side ?? regards Jan :-) _

Re: [OpenLayers-Users] WMSGetFeatureInfo control and QUERY_LAYERS parameters

2011-02-07 Thread Andreas Neumann
perfect - setting QUERY_LAYERS in vendorParams helped. For the record, here is what I used: WMSGetFInfoHover.vendorParams = {'QUERY_LAYERS':selectedActiveLayers.reverse().join(',')}; where WMSGetFInfoHover is of type OpenLayers.Control.WMSGetFeatureInfo and selectedActiveLayers is an array c

Re: [OpenLayers-Users] WMSGetFeatureInfo control and QUERY_LAYERS parameters

2011-02-07 Thread Bart van den Eijnden
Hmm, if it is just one grouped layer, you could try setting QUERY_LAYERS in the vendorParams of the control. Or maybe have multiple controls in case there is more than one grouped layer. Otherwise, I think you would need to override the findLayers function. Best regards, Bart -- Bart van den

Re: [OpenLayers-Users] WMSGetFeatureInfo control and QUERY_LAYERS parameters

2011-02-07 Thread Andreas Neumann
Hi, the layers are grouped layers. Andreas On Mon, 7 Feb 2011 17:26:14 +0100, Bart van den Eijnden wrote: Are your layers separate layers or grouped layers (i.e. layers=a,b,c)? Would setting the layers property of the control work for you? /** * Property: layers * {Array()} The layers to

Re: [OpenLayers-Users] WMSGetFeatureInfo control and QUERY_LAYERS parameters

2011-02-07 Thread Bart van den Eijnden
Are your layers separate layers or grouped layers (i.e. layers=a,b,c)? Would setting the layers property of the control work for you? /** * Property: layers * {Array()} The layers to query for feature info. * If omitted, all map WMS layers with a url that matches this or

[OpenLayers-Users] WMSGetFeatureInfo control and QUERY_LAYERS parameters

2011-02-07 Thread Andreas Neumann
Hi, I am fighting with the WMSGetFeatureInfo control. I defined this once the project is loaded, but want to later influence which layers are queried and which not. I don't want to query all visible layers, but only some. So my question is, how can I change the QUERY_LAYERS parameter at a l

[OpenLayers-Users] OpenLayers.Layer.Vector to OpenLayers.Format.SLD

2011-02-07 Thread Jachym Cepicky
Hi, I have OpenLayers.Layer.Vector with StyleMap filled (Rule-based styling using Feature.attributes as context) and now I would like to get SLD representation of OL.Layer.Vector.styleMap.default (XML). Is that possible somehow? I could not figure out, what the best approach would be (OpenLayers 2

[OpenLayers-Users] Re: how to get the id of the feature from transformation.

2011-02-07 Thread ulao
Ok I did a for in on this object and I see the following. feature type element target relatedtarget pagex pagex isLeftClick ... Still cant figure out what that is, but I can get my feature from it. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-get-the-id-of-the

Re: [OpenLayers-Users] OWSContext does not write OL extensions

2011-02-07 Thread Bart van den Eijnden
Hi Holger, it's because I did not have a use case for that when I implemented the functionality. Patches welcome ofcourse. However, we should probably at least maintain a schema for this if we go this way. Best regards, Bart -- Bart van den Eijnden OpenGeo - http://opengeo.org Expert service

[OpenLayers-Users] OWSContext does not write OL extensions

2011-02-07 Thread hbruch
Dear all, I'm using OWSContext to export a map as XML-Context. Apparantly, OWSContext seems not to write the OL-extensions, as WMC does. Is there a reason why? Thanks, Holger -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/OWSContext-does-not-write-OL-extensions-tp60

Re: [OpenLayers-Users] WFSCapabilities xml sample from GeoServer

2011-02-07 Thread Alexandre Dube
Thanks, everyone. Alexandre On 11-02-05 01:39 AM, Eric Lemoine wrote: On Friday, February 4, 2011, Alexandre Dube wrote: Hi, I'm looking for a WFSCapabilities xml sample outputed from GeoServer. I already got one from TinyOWS and I wish to make comparisons. You should find one in the t

Re: [OpenLayers-Users] Writing OWSContext fails if style has no legend

2011-02-07 Thread Bart van den Eijnden
Hi Holger, it should not be mandatory. Can you please open up a Trac ticket with your findings? TIA. Best regards, Bart -- Bart van den Eijnden OpenGeo - http://opengeo.org Expert service straight from the developers. On Feb 7, 2011, at 2:20 PM, hbruch wrote: > > Dear all, > > I'm trying

[OpenLayers-Users] Writing OWSContext fails if style has no legend

2011-02-07 Thread hbruch
Dear all, I'm trying to write a map via OWSContext and receive a "TypeError: options is undefined". Apparently my layers style is suspected to have a legendURL, which is not the case. Is legendURL mandatory for OWSContext? Otherwise, changing the Style-Writer in v0_3_1.js as below would work for

Re: [OpenLayers-Users] reprojecting propreiatary base maps

2011-02-07 Thread christopher.schmidt
On Feb 7, 2011, at 5:10 AM, ext Robert Buckley wrote: > Hi, > > I am trying to understand the basic underlying principles of how openlayers > reprojects data and need some help... > > If my data is in EPSG:31463 and I would like to publish this data with a > googlemaps basemap do I have the o

[OpenLayers-Users] reprojecting propreiatary base maps

2011-02-07 Thread Robert Buckley
Hi, I am trying to understand the basic underlying principles of how openlayers reprojects data and need some help... If my data is in EPSG:31463 and I would like to publish this data with a googlemaps basemap do I have the option of projecting the google spherical mercator(geographic crs) int

[OpenLayers-Users] Re: SelectFeature for select and highlight with many layers cause problems

2011-02-07 Thread PadovaBoy Aka Giovanni Bismondo
PadovaBoy Aka Giovanni Bismondo writes: > > Hi at all, > i have a map with: > - single image layer as background layer > - many layer with many geometry features > - one SelectFeature to select on click a feature > - one SelectFeature to highlight on mouseover > > Now the problem is that in IE

[OpenLayers-Users] remove WFS polygon feature from view when zooming completely in its bounds

2011-02-07 Thread Daniel Behr
Hello List, I have quite a few overlapping polygons from a WFS Vectorlayer in my app, that are highlighted when hovered. the more polyons overlying, the opacity adds up and the map background barely shines through. My question is, if its possible to remove a feature from the view, when the bor