Re: [OpenLayers-Users] boundedBy undefined with GML with defined boundedBy

2009-07-30 Thread bartvde
Hi, IIRC OpenLayers does not read the boundedBy of the whole FeatureCollection, only of individual features. I've added my own custom patch but it's only for GML v3, maybe you can do something similar for GML.v2. --- lib/OpenLayers/Format/GML/v3.js 2009-06-12 14:12:20.0 +0200 +++ v3.j

[OpenLayers-Users] boundedBy undefined with GML with defined boundedBy

2009-07-30 Thread Spirifer
Hello, I'm trying to get the boundedBy of a whole feature collection (in this example there is only on feature). I follow this exemple http://trac.openlayers.org/ticket/1613 var g = new OpenLayers.Format.GML.v2(options); var features = g.read(response.responseXML || response.responseTex

Re: [OpenLayers-Users] GetFeatureInfo in OpenLayers with no proxy?

2009-07-30 Thread Eric Lemoine
On Thursday, July 30, 2009, Alexandre Leroux wrote: > > Hi list, > > A simple question. In OL, can we do a GetFeatureInfo without setting up > a Proxy? > > The http://trac.openlayers.org/wiki/GetFeatureInfo page doesn't mention > the need of a proxy. > > Before you ask, everything is hosted on the

[OpenLayers-Users] OL on Blackerry?

2009-07-30 Thread soatley
Has anyone had any experience working on developing an OL site that works with Blackberry devices? Shawn -- View this message in context: http://n2.nabble.com/OL-on-Blackerry--tp3357079p3357079.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___

Re: [OpenLayers-Users] Styling a point that is made up of multiple points

2009-07-30 Thread Alexandre Dube
Dave Winfield wrote: > I apologize I was not giving all the information. It IS a WMS layer > and I'm using GeoServer. > > Can I use a Vector layer, and still "smartly" query the database to > only show documents that would be seen on screen. I have a lot of > points that come from the layer, a

Re: [OpenLayers-Users] Styling a point that is made up of multiple points

2009-07-30 Thread Dave Winfield
I apologize I was not giving all the information. It IS a WMS layer and I'm using GeoServer. Can I use a Vector layer, and still "smartly" query the database to only show documents that would be seen on screen. I have a lot of points that come from the layer, and wouldn't want to always be getti

Re: [OpenLayers-Users] Links from GPX tracks

2009-07-30 Thread Christopher Schmidt
On Thu, Jul 30, 2009 at 03:24:26PM +0100, James Davis wrote: > I'm a new user of OpenLayers, I'm using it to overlay GPX tracks onto > OpenStreetMap tiles. > > One of the maps (http://www.littledog.org.uk/osm/all.html) presents > several tracks and I'd like the reader to be able to follow links fr

Re: [OpenLayers-Users] Styling a point that is made up of multiple points

2009-07-30 Thread Alexandre Dube
Hi Dave, What kind of wms server are you using. MapServer ? GeoServer ? Your question seems more related to one of theses project since you seem to be using a WMS layer. One the other hand, if you used a Vector layer instead with a Cluster strategy, you could replicate what you need wit

Re: [OpenLayers-Users] GetFeatureInfo in OpenLayers with no proxy?

2009-07-30 Thread bartvde
You should be able to do without the proxy in that specific case. What I did for one website was switch the WMS version to 1.0.7 in the GetFeatureInfo requests, so that there were no OGC mimetypes and the response was still plain old XML (mimetype wise). I was using Mapserver for that site though,

[OpenLayers-Users] GetFeatureInfo in OpenLayers with no proxy?

2009-07-30 Thread Alexandre Leroux
Hi list, A simple question. In OL, can we do a GetFeatureInfo without setting up a Proxy? The http://trac.openlayers.org/wiki/GetFeatureInfo page doesn't mention the need of a proxy. Before you ask, everything is hosted on the same server (the data, the WMS server, OpenLayers and MapFish) :-

[OpenLayers-Users] Links from GPX tracks

2009-07-30 Thread James Davis
I'm a new user of OpenLayers, I'm using it to overlay GPX tracks onto OpenStreetMap tiles. One of the maps (http://www.littledog.org.uk/osm/all.html) presents several tracks and I'd like the reader to be able to follow links from those tracks to individual pages describing them. Perhaps using some

[OpenLayers-Users] Styling a point that is made up of multiple points

2009-07-30 Thread Dave Winfield
Essentially, on my maps, there are multiple things happening at the same exact location. Unfortunately right I can't tell that by looking at it (there's only one dot being shown) and I can only tell there's more than one thing happening when I click on it and do the getFeatureInfo request. Does a

Re: [OpenLayers-Users] other images for zoom buttons

2009-07-30 Thread Christopher Schmidt
On Thu, Jul 30, 2009 at 02:40:26PM +0200, Rahn Hanno (rahn) wrote: > Hello list, > > > > Just another short question. I use some Navigation Buttons. > > If I use the NavToolbar Control, I don't like the Images of the buttons. Is > there a possiblility to use my own pictures for this buttons?

Re: [OpenLayers-Users] Restore feature's geometry

2009-07-30 Thread Alexandre Dube
Alexandre Dube wrote: > Hi Eric, > > Eric Lemoine wrote: > >>> I tried to clone the feature + fid before modifications, then on >>> cancel destroy the original feature and add the clone but it's obviously >>> wrong to do so since it becomes unbound to its source. >>> >>> >> What do

[OpenLayers-Users] other images for zoom buttons

2009-07-30 Thread Rahn Hanno (rahn)
Hello list, Just another short question. I use some Navigation Buttons. If I use the NavToolbar Control, I don't like the Images of the buttons. Is there a possiblility to use my own pictures for this buttons? A lot of thanks for your help again. Greetings Hanno Rahn

Re: [OpenLayers-Users] ZoomBox Pan in two Mapdivs at the same time

2009-07-30 Thread Alexandre Dube
Hi, Assuming your 'main' map is oMap and your 'second' map (that follows the main) is oMap2, the below code should do what you seek : oMap.events.register("moveend", null, function(e) {oMap2.panTo(e.object.getCenter())}); oMap.events.register("zoomend", null, function(e) {oMa

Re: [OpenLayers-Users] Restore feature's geometry

2009-07-30 Thread Alexandre Dube
Hi Eric, Eric Lemoine wrote: >> >> I tried to clone the feature + fid before modifications, then on >> cancel destroy the original feature and add the clone but it's obviously >> wrong to do so since it becomes unbound to its source. >> > > What do you mean by "becomes unbound to its source

Re: [OpenLayers-Users] ZoomBox Pan in two Mapdivs at the same time

2009-07-30 Thread Kris Geusebroek
Hi Hanno, I think the easiest way is to let the button control only the first map and listen to all map events (or some specific events like panned or zoomed or even at a higher level bbox changed) of map1 and do that same event to map2 Cheers Kris From: users-boun...@openlayers.org

[OpenLayers-Users] ZoomBox Pan in two Mapdivs at the same time

2009-07-30 Thread Rahn Hanno (rahn)
Hello list, I have a problem with the zoomBox. In my Project I have two different map windows. The maps show the same but in different times. The Geometries are polygons. Now I try to realise a rectangle zoom with a button. For this I use the NavToolbar Control. This works fine for the fi