[OpenLayers-Users] One layer with two wms servers

2009-05-12 Thread Vidal, Antoni
Hi, I would like to have a layer.WMS witch displays data from two servers. Is this possble ? Thank's in advance. Antoni Vidal Unitat d'Aplicacions SIG-WEB Institut Cartogràfic de Catalunya

Re: [OpenLayers-Users] One layer with two wms servers

2009-05-12 Thread Guillaume Sueur
Hi Antoni, That sounds more like a server-side specific solution. You need to set up a WMS Server which will be a WMS client for both your datasources. Regards, Guillaume Vidal, Antoni a écrit : Hi, I would like to have a layer.WMS witch displays data from two servers. Is this

Re: [OpenLayers-Users] How can I display a map with a position changing marker.

2009-05-12 Thread sasi
thank you for your reply. Can i store the lonlat in the mysql and deploy this information through geoserver. And so, the brower can access geoserver and display these point. And, are there some documents about the use of layer.refresh. Kris Geusebroek wrote: Hi, I'm using a Vector layer

Re: [OpenLayers-Users] How can I display a map with a position changing marker.

2009-05-12 Thread Kris Geusebroek
Hi, Yes that's the whole point. The lon, lan will be in your db, you configure your datastore and layer in geoserver In your openlayers based client you configure your layers as a vector layer with bbox strategy and wfs protocol Where the wfs protocol must be configured to connect to the right

[OpenLayers-Users] icons displaced in kml layer

2009-05-12 Thread Emilio López Pasamontes
Hi, i`m using google and kml layer, The problem is that the icons that uses the kml to refer the placemark are displaced in the coordinates upwards. However, the ballon mark well the point. Anyone can help me. Best Regards and sorry for my english function init(){ var

Re: [OpenLayers-Users] layer event transparency

2009-05-12 Thread protos
Thanks for your replies. Interesting that the vector layer won't allow events through. I moved the vector layer down to the bottom so that all other layers are on top. All the markers layers are working fine now but something is blocking events on the vector layer now ! There's three marker

Re: [OpenLayers-Users] icons displaced in kml layer

2009-05-12 Thread Christopher Schmidt
On Tue, May 12, 2009 at 02:10:37PM +0200, Emilio López Pasamontes wrote: Hi, i`m using google and kml layer, The problem is that the icons that uses the kml to refer the placemark are displaced in the coordinates upwards. However, the ballon mark well the point. Anyone can help me. THis is

Re: [OpenLayers-Users] icons displaced in kml layer

2009-05-12 Thread Emilio López Pasamontes
Thank´s Christopher, but What i do not understand then is why the ballon yes marks the exact point? -Mensaje original- De: Christopher Schmidt [mailto:crschm...@metacarta.com] Enviado el: martes, 12 de mayo de 2009 14:49 Para: Emilio López Pasamontes CC: users@openlayers.org

Re: [OpenLayers-Users] icons displaced in kml layer

2009-05-12 Thread Christopher Schmidt
On Tue, May 12, 2009 at 03:22:41PM +0200, Emilio López Pasamontes wrote: Thank´s Christopher, but What i do not understand then is why the ballon yes marks the exact point? Because it works differently. It uses a slower method of determining the location to get it in line with the base

Re: [OpenLayers-Users] WFS layer over Google Map layer projection problem

2009-05-12 Thread bdtyah
I add the projection attribute to my WFS layer like this : wfsLayer = new OpenLayers.Layer.WFS( WFS layer, /geoserver/ows, { typename: 'topp:roads, projection: new OpenLayers.Projection(EPSG:4326) } ); I found the response here :

[OpenLayers-Users] How to override createGeometry

2009-05-12 Thread Stéphane Poirier
Hi All, In order to prevent creating rectangle that are too small, I would like to override createGeometry (that is, in my code, the function OpenLayers.Handler.RegularPolygon.prototype.createGeometry.apply(this, arguments);) How can I do this? Here is my code: drawControls = {

Re: [OpenLayers-Users] How to override createGeometry

2009-05-12 Thread Tim Schaub
Hey- Stéphane Poirier wrote: Hi All, In order to prevent creating rectangle that are too small, I would like to override createGeometry (that is, in my code, the function OpenLayers.Handler.RegularPolygon.prototype.createGeometry.apply(this, arguments);) Instead of overriding a non-API

Re: [OpenLayers-Users] help!

2009-05-12 Thread Gregor at HostGIS
i have made the search, but i'm been abling to do the go to street, zoom to the selected street by the search. can anyone help me ??? One approach which I use now and then: In the search results page, where I say Found 1 result, blah blah I also add some JavaScript to recenter the map as

Re: [OpenLayers-Users] help!

2009-05-12 Thread shane_china
First, my answer is no business about your question. I love your ext style. But ext + openlayers(1.5M or more), is it too big to internet? Hugo Teixeira wrote: hi, i'm trying to do one search streets with openlayers. i have made the search, but i'm been abling to do the go to street,

[OpenLayers-Users] Google and WMS Layers - Projection help

2009-05-12 Thread Shawn Oatley
Hello, Please bear with me as I am just getting into OpenLayers and I am a web programmer, not a GIS person. I am having difficulty getting different types of layers to work together. Our drawings are in UTM 17N and the WMS Server seems to work fine when using a projection of EPSG:4326.

[OpenLayers-Users] How to turn MapServer Layer into WMS Layer

2009-05-12 Thread Ben Madin
G'day all, This is a very concise solution to turning a MapServer layer into a WMS layer - which took me ages to figure out last month - so I'm posting it back to the list in the hope it helps someone else one day. Thanks Christopher. cheers Ben On 09/05/2009, at 4:20 AM, Christopher

Re: [OpenLayers-Users] KML NetworkLink and auto-refresh

2009-05-12 Thread Andrew Smith
Thanks Dan, I'll have to give this a try. I notice that your timer is going off every 10 minutes...how much data are you loading from the KML file? Is there much in the way of a noticeable flicker when you reload the layer (i.e. does all of the data completely disappear for a few seconds while

Re: [OpenLayers-Users] How can I display a map with a position changing marker.

2009-05-12 Thread sasi
There is another thing I want to know. Which format is the LonLat information stored in the mysql database? Is this a standard? Kris Geusebroek wrote: Hi, Yes that's the whole point. The lon, lan will be in your db, you configure your datastore and layer in geoserver In your