[OpenLayers-Users] List features in WMS

2010-05-13 Thread sasamil
Hello friends! How can one list all the features (for example, road-lines with the attributes) in a wms layer? It is easy (more or less) to perform it in wfs; but, how can we do that in wms? (GetFeatureInfo returns information about features located on the clicked point but it doesn't answer to

[OpenLayers-Users] Toolbar icons IE6 transparency problem

2010-05-13 Thread David Alda Fernandez de Lezea
Hello, How can I make the icons of my toolbar to be transparent?? I've try modifying my css adding filter: alpha(opacity=0); but they disappear form the toolpanel. See attached image. Any ideas? TIA. Un saludo,

Re: [OpenLayers-Users] WMS layer redraw problem

2010-05-13 Thread Eric Lemoine
On Wednesday, May 12, 2010, Nathan Gerber ngerber...@gmail.com wrote: I have found that the most reliable way to avoid browser caching when I want to force a redraw of a WMS layer is to do something like this: wms_layer.mergeNewParams({'timestamp':datetime}); If you append the current

Re: [OpenLayers-Users] Toolbar icons IE6 transparency problem [SOLVED]

2010-05-13 Thread David Alda Fernandez de Lezea
Ok, my mistake. Just when I sent the email I figured out what could be the problem. The problem was that the icons were in png 24bit format, so I've changed them to png 8bit format and now is working. Regards. -Mensaje original- De: users-boun...@openlayers.org

Re: [OpenLayers-Users] List features in WMS

2010-05-13 Thread Arnd Wippermann
Hi, That's not the intention of WMS. WMS does not allow to request all features from a server. If the serverside wants to deliver all the data, then they have to setup a wfs. Or if it's your own server and you use MapServer, then it could be possible with a MapServer CGI-request. Regards, Arnd

[OpenLayers-Users] rectangle - resize from one corner whilst opposite is fixed

2010-05-13 Thread AndyT
Hi, Hopefully i didn't miss this one elsewhere in the forums At the moment our resizing of a rectangle means that if i drag one corner outwards then the opposite corner moves out in the other direction. For practical purposes, it would be good (as an example) to move my rectangle so the

[OpenLayers-Users] WFS using OpenLayers.Layer.Vector() fails to render

2010-05-13 Thread gingerbbm
Dear all I am trying to render a vector layer from Geoserver using the WFS protocol onto my British National Grid (EPSG:27700) map as follows: var wfslayer = new OpenLayers.Layer.Vector(WFS, { strategies: [new OpenLayers.Strategy.BBOX()], protocol: new

Re: [OpenLayers-Users] WFS using OpenLayers.Layer.Vector() fails to render

2010-05-13 Thread gingerbbm
BTW, when I save the response GML to file, I have to remove the XML declaration ?xml version=1.0 encoding=UTF-8? to make it load with OpenLayers.Layer.GML(). -- View this message in context:

Re: [OpenLayers-Users] WFS using OpenLayers.Layer.Vector() fails to render

2010-05-13 Thread gingerbbm
OK. I have managed to render my data using OpenLayers.Layer.WFS() but according to [1] this is deprecated, so I'd really appreciate any hints to get the Vector() route working. var wfslayer = new OpenLayers.Layer.WFS(WFS, http://d2.elgin.gov.uk/geoserver.3/wfs;, { typeName:

Re: [OpenLayers-Users] How to Use selectControl and dragFeature control at the same time?

2010-05-13 Thread Ilya Braude
Try to set the following on the drag control: dragFeature.handlers['drag'].stopDown = false; dragFeature.handlers['drag'].stopUp = false; dragFeature.handlers['drag'].stopClick = false; dragFeature.handlers['feature'].stopDown = false; dragFeature.handlers['feature'].stopUp = false;