Re: [OpenLayers-Users] WMS layer redraw problem [FIXED]

2010-05-14 Thread Walter Lorenzetti
Eric Lemoine ha scritto: 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

Re: [OpenLayers-Users] OL and browser cache

2010-05-14 Thread Andreas Hocevar
Hi, On May 12, 2010, at 17:54 , Jimmy Aumard wrote: Hi everyone, I want to know if it's possible to control what is caching by the browser. It's possible to free cache (memory) of OL ? Because when I use for a long time my application firefox take 600 000 KO of memory This can be caused

[OpenLayers-Users] New join

2010-05-14 Thread Ravikrishna Nair
___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] OL and browser cache

2010-05-14 Thread Eric Lemoine
On Fri, May 14, 2010 at 9:22 AM, Andreas Hocevar ahoce...@opengeo.org wrote: [...] (which can be in your application, but also OpenLayers is known to have some). Even in FireFox? -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79

Re: [OpenLayers-Users] doing a search with a buffer

2010-05-14 Thread Roald de Wit
Hi, What you want is more difficult than I realised. If you can retrieve the geometry of the feature you are interested in, you could use that in your filter (instead of the point). Have a look at the getfeature-wfs example on how to do that [1]. If you cannot retrieve your geometry it's

[OpenLayers-Users] How to use Gauss Krueger JPEG with Open Layer?

2010-05-14 Thread Marcel Ruff
Hi, I have some jpegs with Gauß Krüger projection. How can I use those with Open Layers? Thank you Marcel ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Nodelist Info / GetFeatureInfo not working

2010-05-14 Thread Roald de Wit
Hi Pascal, Are you sure your index.html is on server 'myownhomepage.xyz' and the same port? If so, you should be able to reference your geoserver with '/geoserver/wms'. If not, you need to use a proxy script or make sure that they are all on the same server and port. Regards, Roald On

Re: [OpenLayers-Users] OL and browser cache

2010-05-14 Thread Andreas Hocevar
On May 14, 2010, at 11:01 , Eric Lemoine wrote: On Fri, May 14, 2010 at 9:22 AM, Andreas Hocevar ahoce...@opengeo.org wrote: [...] (which can be in your application, but also OpenLayers is known to have some). Even in FireFox? Mh. Good question. Well, maybe not. But I don't think

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

2010-05-14 Thread Subhani Minhas
Hurray, the code suggested by you works great :-) Here is the final code which can achieve following: 1. Click to add a vector feature with custom icon and label at the point of click (Completed) 2. Click to select any drawn feature and delete it (Completed) 3. Click to select any drawn feature

Re: [OpenLayers-Users] How to use Gauss Krueger JPEG with Open Layer?

2010-05-14 Thread Arnd Wippermann
Hi, If the size of the images are reasonable, then the easiest way is to use an OpenLayers.Layer.Image. Set the map with your Gauss-Krüger projection, add a baselayer and then your image layers (with yourImgLayer.isBaseLayer=false). Or take the image layers as baselayers.

Re: [OpenLayers-Users] How to use Gauss Krueger JPEG with Open Layer?

2010-05-14 Thread Nicholas Efremov-Kendall
Just for reference, is there a max size/resolution that can be used optimally with the layer.image? On Fri, May 14, 2010 at 4:14 PM, Arnd Wippermann arnd.wipperm...@web.dewrote: Hi, If the size of the images are reasonable, then the easiest way is to use an OpenLayers.Layer.Image. Set the

Re: [OpenLayers-Users] OL and browser cache

2010-05-14 Thread Eric Lemoine
On Friday, May 14, 2010, Andreas Hocevar ahoce...@opengeo.org wrote: On May 14, 2010, at 11:01 , Eric Lemoine wrote: On Fri, May 14, 2010 at 9:22 AM, Andreas Hocevar ahoce...@opengeo.org wrote: [...] (which can be in your application, but also OpenLayers is known to have some). Even in

Re: [OpenLayers-Users] How to use Gauss Krueger JPEG with Open Layer?

2010-05-14 Thread Arnd Wippermann
Hello, not that I'm aware. But images could be really large. 8000 x 4000 is no problem. You have to wait a moment until the image is loaded, but afterwards pan and zoom works lovely. Regards, Arnd _ Von: Nicholas Efremov-Kendall [mailto:n.e.kend...@gmail.com] Gesendet: Freitag, 14.

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

2010-05-14 Thread gingerbbm
Any ideas anyone? I did wonder about projection issues: my data is EPSG:27700 but then so is my map. And as I said, the static GML layer renders fine. I have implemented the Tasmania demo [1] locally with my version of Geoserver and OpenLayers.Layer.Vector() and that works OK. ? [1]

[OpenLayers-Users] zooming a certain portion of the map

2010-05-14 Thread sunny74
Dear Friends, I have a map which I display within a div of 600 * 600 pixels.This obviously has an extent as defined in the map file. Now I want to zoom a certain rectangular portion of the map so that it covers the entire map area i.e the entire div. Now which functions do I use zoomto

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

2010-05-14 Thread Ian Turton
On Fri, May 14, 2010 at 3:20 PM, gingerbbm stuart.jo...@jacobs.com wrote: Any ideas anyone? I did wonder about projection issues: my data is EPSG:27700 but then so is my map. And as I said, the static GML layer renders fine. I assume you are using version 1.1.0 with the WFS as 1.0 doesn't

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

2010-05-14 Thread gingerbbm
I assume you are using version 1.1.0 with the WFS as 1.0 doesn't support projections? I've tried adding version: 1.1.0 to the protocol object, if that's what you mean. The XML response is structured differently but it still does not render. -- View this message in context:

Re: [OpenLayers-Users] zooming a certain portion of the map

2010-05-14 Thread gingerbbm
If I'm understanding you correctly you need zoomToExtent [1], passing in an OpenLayers.Bounds() object configured with your lon/lat pairs [2], e.g. map.zoomToExtent(new OpenLayers.Bounds(lattiude1, longitude1, lattitude2, longitude2)); [1]

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

2010-05-14 Thread gingerbbm
Figured it out. I suspected it would be something simple, and it was: I just needed to remove the trailing slash from the featureNS value: var wfslayer = new OpenLayers.Layer.Vector(WFS, { strategies: [new OpenLayers.Strategy.BBOX()], protocol: new OpenLayers.Protocol.WFS({