Salve Andrea,

Thanks for the input, I will read the info send by Ben in order to add this
new +1 parameter to repository.

*More Info*
I have read the idea behind the cellsize and the actual cluster position.
Having this parameter set on *true*, the issue with with crossing the grid
can be mitigated with the cellSize and (min|max)zoomdenimination (in my
particular case under a certain zoom the points are shown at their true
location).
The gain in having this parameter is that the cluster is positioned inside
the area where points are located (see use-case-1.jpg and
use-case-desired.jpg).

*Behind the scene*
Some developers may want this behavior in order to have an alternative to
OpenLayers's  clusterization strategy. I had some issues with 13.000 points
to be clustered at the client side. The browser memory spiked to 3-400 MB.
Having this option can alleviate the memory foot print on the client side
not to mention issues regarding mobile's app development.


*On a side note:*
 - I do have some plans to add more parameters to point stacker.
 - I have seen that if you treat it as* tiled layer* some weird artifacts
appear. I will investigate further.

Have a nice day.





On Sun, Oct 30, 2016 at 11:22 AM, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Hi Cosmin,
> I do not mind having the new parameter, +1 adding it.
>
> While I did not work on the point stacker, as far as I remember
> the reason for the current behavior is to avoid having two point stacks
> end up being too close to
> each other due to the data cluster being small and concentrated, and end
> up crossing
> the grid used to compute the clusters
>
> Cheers
> Andrea
>
>
> On Sat, Oct 29, 2016 at 1:35 PM, Cosmin CIORANU <cosmin.cior...@gmail.com>
> wrote:
>
>> Salve Guys,
>>
>> First,
>> I'm new to geotools project, so I apologize, if by mistake, I might break
>> some protocols.
>>
>> Second, I whish to get down to the matter at hand.
>> I did issue a new functionality GEOT-5555. It is related to
>> gt-process-feature project, to gs:PointStacker in which points stacked in
>> cluster go outside of the region of interest. I do recognize in some
>> use-cases this behavior is needed but in my particular one is not.
>>
>> So I propose to be added a new property called *weightClusterPosition *which
>> will be calculated as an average between points staked under this point.
>> The default values is false in order not to break the current behavior.
>>
>> Any other thoughts on the matter ?
>>
>> More information here
>> https://osgeo-org.atlassian.net/browse/GEOT-5555
>>
>> *Other info:*
>> The above functionality(as proposed) was in implemented on demo geoserver
>> project (on 14.5 geotools). The screens attached to issue were created
>> using that version
>>
>> Also, I have made the necessary codding updates on the 17 SNAPSHOT. I'm
>> not quite sure how to proceed to make them available on github (Quite new
>> to git also).
>>
>>
>> Cosmin
>>
>>
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive.
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik
>> _______________________________________________
>> GeoTools-Devel mailing list
>> GeoTools-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to