Re: [mapserver-users] Using cluster with spatialite ?

2014-10-22 Thread Andrea Peri
Hi,
I found the expalin.

Seeing the code I see the labelitem is not

Cluster:FeatureCount
but instead:
Cluster_FeatureCount

This is different from documentation.
I guess the issue is in the code.

If confirmed, I check in last dev in repository and fill an issue if necessary.

Regards,

Andrea.


2014-10-22 15:26 GMT+02:00 Andrea Peri aperi2...@gmail.com:
 Hi,

 I'm testing the Cluster capability of Mapserver.

 I use this configuration:

 CLUSTER
   MAXDISTANCE 20  # in pixels
   REGION ellipse  # can be rectangle or ellipse
   #GROUP (expression)  # an expression to create separate groups
 for each value
   #FILTER (expression) # a logical expression to specify the
 grouping condition
 END
 LABELITEM Cluster:FeatureCount
 CLASS
   NAME ingressi grotte
  .

 But, I'm having an error:

 OGR Error INvalid Cluster:FeatureCount.

 The sample is take from doc so I guess the issue is somewhere else.
 I'm using spatialite, sothe my doubt is if the Cluster is working with
 spatialite.
 I guess yes because the interface is OGR, but no other explain why

 --
 -
 Andrea Peri
 . . . . . . . . .
 qwerty àèìòù
 -



-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Using cluster with spatialite ?

2014-10-22 Thread Jeff McKenna

On 2014-10-22 10:34 AM, Andrea Peri wrote:

Hi,
I found the expalin.

Seeing the code I see the labelitem is not

Cluster:FeatureCount
but instead:
Cluster_FeatureCount

This is different from documentation.
I guess the issue is in the code.

If confirmed, I check in last dev in repository and fill an issue if necessary.

Regards,

Andrea.




Careful, I believe that change was made to the unreleased 6.5-dev 
version.  So that is why docs have not been updated for 6.4.1


-jeff



--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Using cluster with spatialite ?

2014-10-22 Thread Yves Jacolin
On Wednesday, October 22, 2014 10:56:41 Jeff McKenna wrote:
 On 2014-10-22 10:34 AM, Andrea Peri wrote:
  Hi,
  I found the expalin.
  
  Seeing the code I see the labelitem is not
  
  Cluster:FeatureCount
  but instead:
  Cluster_FeatureCount
  
  This is different from documentation.
  I guess the issue is in the code.
  
  If confirmed, I check in last dev in repository and fill an issue if
  necessary.
  
  Regards,
  
  Andrea.
 
 Careful, I believe that change was made to the unreleased 6.5-dev
 version.  So that is why docs have not been updated for 6.4.1
 
 -jeff
I confirm this, I have an old working mapfile with the Cluster:FeatureCount 
parameter.

I will do some testing if I have some time.

Y.
-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel (France) : +33 4 79 26 57 98
Tel (Suisse) : 021 619 10 43
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Using cluster with spatialite ?

2014-10-22 Thread Andrea Peri
done

https://github.com/mapserver/mapserver/issues/5021

Thx,

A.


2014-10-22 15:59 GMT+02:00 Yves Jacolin yves.jaco...@camptocamp.com:
 On Wednesday, October 22, 2014 10:56:41 Jeff McKenna wrote:
 On 2014-10-22 10:34 AM, Andrea Peri wrote:
  Hi,
  I found the expalin.
 
  Seeing the code I see the labelitem is not
 
  Cluster:FeatureCount
  but instead:
  Cluster_FeatureCount
 
  This is different from documentation.
  I guess the issue is in the code.
 
  If confirmed, I check in last dev in repository and fill an issue if
  necessary.
 
  Regards,
 
  Andrea.

 Careful, I believe that change was made to the unreleased 6.5-dev
 version.  So that is why docs have not been updated for 6.4.1

 -jeff
 I confirm this, I have an old working mapfile with the Cluster:FeatureCount
 parameter.

 I will do some testing if I have some time.

 Y.
 --
 Responsable Formation et Support
 Camptocamp France SAS
 Savoie Technolac, BP 352
 73377 Le Bourget du Lac, Cedex
 Tel (France) : +33 4 79 26 57 98
 Tel (Suisse) : 021 619 10 43
 Mob. : +33 6 18 75 42 21
 Fax : 04 79 70 15 81
 Mail : yves.jaco...@camptocamp.com
 http://www.camptocamp.com
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Using cluster with spatialite ?

2014-10-22 Thread Andrea Peri
Just to complete information.

At the end the issue was explained to be really not an issue but
instead a break api.

In the mapserver 6.4 is need to use
Cluster:FeatureCount
in next coming mapserver 7.x will be use

Cluster_FeatureCount.

Regards,

Andrea Peri


2014-10-22 16:25 GMT+02:00 Andrea Peri aperi2...@gmail.com:
 done

 https://github.com/mapserver/mapserver/issues/5021

 Thx,

 A.


 2014-10-22 15:59 GMT+02:00 Yves Jacolin yves.jaco...@camptocamp.com:
 On Wednesday, October 22, 2014 10:56:41 Jeff McKenna wrote:
 On 2014-10-22 10:34 AM, Andrea Peri wrote:
  Hi,
  I found the expalin.
 
  Seeing the code I see the labelitem is not
 
  Cluster:FeatureCount
  but instead:
  Cluster_FeatureCount
 
  This is different from documentation.
  I guess the issue is in the code.
 
  If confirmed, I check in last dev in repository and fill an issue if
  necessary.
 
  Regards,
 
  Andrea.

 Careful, I believe that change was made to the unreleased 6.5-dev
 version.  So that is why docs have not been updated for 6.4.1

 -jeff
 I confirm this, I have an old working mapfile with the Cluster:FeatureCount
 parameter.

 I will do some testing if I have some time.

 Y.
 --
 Responsable Formation et Support
 Camptocamp France SAS
 Savoie Technolac, BP 352
 73377 Le Bourget du Lac, Cedex
 Tel (France) : +33 4 79 26 57 98
 Tel (Suisse) : 021 619 10 43
 Mob. : +33 6 18 75 42 21
 Fax : 04 79 70 15 81
 Mail : yves.jaco...@camptocamp.com
 http://www.camptocamp.com
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



 --
 -
 Andrea Peri
 . . . . . . . . .
 qwerty àèìòù
 -



-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users