Re: [OpenLayers-Dev] Bug in rendering features with cluster strategy

2008-11-13 Thread Ivan Grcic
Sorry guys patch doesnt work! Im sticking with my own dirty hack inside Layer.Vector drawFeature method... On Fri, Nov 7, 2008 at 11:56 PM, Ivan Grcic [EMAIL PROTECTED] wrote: Hey Alex...well actually i didnt catch time to try the patch...but before patch was made i created dirty hack that was

Re: [OpenLayers-Dev] Additional Documentation

2008-11-13 Thread Christopher Schmidt
On Thu, Nov 13, 2008 at 01:33:40PM +0100, Jacolin Yves wrote: Le Thursday 13 November 2008 13:02:56 Christopher Schmidt, vous avez écrit : I believe that translations of documents could also be managed this way: simply have a spherical_mercator.fr.rst document alongside the English one, for

Re: [OpenLayers-Dev] Cluster strategy should not process data when layer is currently disabled (visibility=false)

2008-11-13 Thread Alexandre Dube
I get the same behavior as Ivan's on my application which has very similar resolution settings on map an vector layer. Because a layer's features are not destroyed when it goes out of range (inRange) or becomes invisible (visibility), the cluster strategy still clusters those existing

Re: [OpenLayers-Dev] Additional Documentation

2008-11-13 Thread Paul Spencer
On 13-Nov-08, at 7:33 AM, Jacolin Yves wrote: Le Thursday 13 November 2008 13:02:56 Christopher Schmidt, vous avez écrit : I believe that translations of documents could also be managed this way: simply have a spherical_mercator.fr.rst document alongside the English one, for

Re: [OpenLayers-Dev] Making BBOX strategy smarter - part2

2008-11-13 Thread Ivan Grcic
Hi, i just saw that by default bbox has a ratio parameter:2 Creating bbox strategy with lower value did a lot of improvement for me, since it fetches much less data (filtering it) The improvement is off course noticable more on larger scales (zoomed out) new OpenLayers.Strategy.BBOX({ratio:1.4}

Re: [OpenLayers-Dev] Additional Documentation

2008-11-13 Thread Jacolin Yves
Le Thursday 13 November 2008 13:02:56 Christopher Schmidt, vous avez écrit : I believe that translations of documents could also be managed this way: simply have a spherical_mercator.fr.rst document alongside the English one, for example. Hi Christopher, Great to hear this :) I would prefer

Re: [OpenLayers-Dev] Making BBOX strategy smarter - part2

2008-11-13 Thread XinGang Li
For large data, may be you can change the ratio depend on the map zoom level. On Thu, Nov 13, 2008 at 7:37 PM, Ivan Grcic [EMAIL PROTECTED] wrote: ...and now when i lowered the ratio on bbox strategy, i can see big difference in refreshing the data (discarding old ones, fetchin new ones)

Re: [OpenLayers-Dev] Additional Documentation

2008-11-13 Thread Daniel Morissette
Christopher Schmidt wrote: 1. Wikis do not easily correlate to SVN history: Things like tagging, branching, etc. are not a built in part of the way that wikis work, which (for documentation which changes with releases) is at best unfortunate, but at worst can be downright

Re: [OpenLayers-Dev] Cluster strategy should not process data when layer is currently disabled (visibility=false)

2008-11-13 Thread Ivan Grcic
Hi Alex, i made a little hack to it...inside Strategy.Cluster.js inside cluster function I added one more check: (OpenLayers.Util.indexOf(this.layer.resolutions, resolution) != -1) it doesnt do the clustering if current resolution is not contained inside layers array of resolutions. Index:

[OpenLayers-Dev] problem with GML v2 parser

2008-11-13 Thread bartvde
Hi list, I've got a slight problem with the GML v2 parser when running it over the attached GML file. What I run into is that obj.attributes is undefined, but I can't really find an explanation why this is happening ... and ofcourse it would be good to know why instead of just patching it the way

Re: [OpenLayers-Dev] Cluster strategy should not process data when layer is currently disabled (visibility=false)

2008-11-13 Thread Eric Lemoine
You guys are good to find bugs :-) I think that, instead of listening to the map's zoomend events, the cluster strategy should listen to its layer's moveend events and check in the listener that this is actually a zoom change before doing anything. The moveend listener receives an object with a

Re: [OpenLayers-Dev] Additional Documentation

2008-11-13 Thread Christopher Schmidt
On Thu, Nov 13, 2008 at 11:19:34AM -0700, Tim Schaub wrote: Hey- Christopher Schmidt wrote: Does anyone have any objections to creating trunk/doc/, putting some useful build utils in it, as well as creating subdirectories for individual prose documentation efforts, starting with the

Re: [OpenLayers-Dev] problem with GML v2 parser

2008-11-13 Thread Bart van den Eijnden (OSGIS)
Hey Tim, I've opened up: http://trac.openlayers.org/ticket/1829 for this. Do you have any clue what could be the root cause of this error? Best regards, Bart Tim Schaub wrote: Hey Bart- Thanks for the report. If you haven't already, could you attach your sample data to a ticket? It

Re: [OpenLayers-Dev] bbox strategy and zooming

2008-11-13 Thread Eric Lemoine
Thanks for putting this patch together Tim. Initially Chris wanted that the bbox strategy behave aggressively on zoom in, but, as an optimization, only if the number of features in the layer is not lower than the maxfeatures value set in the protocol. The change you're proposing wouldn't allow

Re: [OpenLayers-Dev] Additional Documentation

2008-11-13 Thread Eric Lemoine
I'm not a rst user so I can't comment on it. Using SVN for text format docs makes great sense to me. +1. Eric 2008/11/13, Christopher Schmidt [EMAIL PROTECTED]: I've been maintaining http://crschmidt.net/~crschmidt/spherical_mercator.html for the past 11 months in my own personal SVN server.

Re: [OpenLayers-Dev] bbox strategy and zooming

2008-11-13 Thread Tim Schaub
Hey- Eric Lemoine wrote: Thanks for putting this patch together Tim. Initially Chris wanted that the bbox strategy behave aggressively on zoom in, but, as an optimization, only if the number of features in the layer is not lower than the maxfeatures value set in the protocol. Ok, I think

Re: [OpenLayers-Dev] bbox strategy and zooming

2008-11-13 Thread Christopher Schmidt
On Thu, Nov 13, 2008 at 01:52:02PM -0700, Tim Schaub wrote: Hey- Eric Lemoine wrote: Thanks for putting this patch together Tim. Initially Chris wanted that the bbox strategy behave aggressively on zoom in, but, as an optimization, only if the number of features in the layer is not

Re: [OpenLayers-Dev] bbox strategy and zooming

2008-11-13 Thread Tim Schaub
Hey- Oh, and one more thing... Eric Lemoine wrote: Thanks for putting this patch together Tim. Initially Chris wanted that the bbox strategy behave aggressively on zoom in, but, as an optimization, only if the number of features in the layer is not lower than the maxfeatures value set in

Re: [OpenLayers-Dev] Cluster strategy should not process data when layer is currently disabled (visibility=false)

2008-11-13 Thread Tim Schaub
Hey- Eric Lemoine wrote: Alexandre, Layers do not have the zoomend event type, so I don't think your patch is valid. Try with moveend and a check in the listener to handle zoom change only. Eric And note that moveend is not triggered for base layers. This is the issue I was referring

Re: [OpenLayers-Dev] Implemented a few features in our branch

2008-11-13 Thread Tim Schaub
Hey- Dustin Parker wrote: Hello all, I've implemented a few features in our local copy of OpenLayers that we needed for one of our projects. (I work for Forward Slope, Inc; contact info in my signature). If you are interested in integrating any of these into OpenLayers, I'd be happy to