Re: [mapserver-users] Re: Clustering and tile clipping

2012-01-17 Thread Wim Vanbelle
Unfortunately it didn't solve the problem. I tried a lot of different
values though.

On top of that I'm also getting a lot of


[Tue Jan 17 08:50:08 2012] [warn] [client] mod_fcgid: read data timeout in
40 seconds
[Tue Jan 17 08:50:08 2012] [error] [client] Premature end of script
headers: mapserv.fcgi
In msCleanupOnSignal.
[Tue Jan 17 08:50:48 2012] [warn] [client] mod_fcgid: read data timeout in
40 seconds
[Tue Jan 17 08:50:48 2012] [error] [] Premature end of script headers:
mapserv.fcgi
In msCleanupOnSignal.

Anyone have a clue how to increase the timeout? I'm clustering 44K points.
And at lower zoomlevel (values) it is taking a long time.

Wim

On 16 January 2012 15:48, Wim Vanbelle wimvanbe...@gmail.com wrote:

 Hi,

 Thanks for  your answer, i'll give that a try immediately :).

 I remember I played around with it in the beginning, but currently it is
 indeed set to 0.

 What is an acceptable value for this? Am I to set this to the same value
 as the maxdistance in the cluster? (Being 100 in my case)

 Or perhaps this should be set to the size of my image representing the
 cluster, being 10 pixels?

 Best regards,
 Wim




 On 16 January 2012 10:55, Tamas Szekeres szeker...@gmail.com wrote:

 Hi Wim,

 Did you try the BUFFER setting to increase the search area during the
 cluster creation?
 For more information see: http://mapserver.org/mapfile/cluster.html

 Best regards,

 Tamas




 2012/1/16 Wim Vanbelle wimvanbe...@gmail.com

 Does anyone have any working examples of how they implemented clustering
 without the tile clipping?

 Thanks.

 On 11 January 2012 10:00, Wim Vanbelle wimvanbe...@gmail.com wrote:

 Hi,

 I'm very happy that mapserver is now capable of server side clustering.
 However I wonder if it's possible to completely get rid of the tile
 clipping.

 Currently I've clustered a point layer with 44k points:

 CLUSTER
 MAXDISTANCE 100
 REGION ellipse

 END

 It is displayed with a simple image:
STYLE
 SYMBOL  small_shaded.png
 SIZE21
 OUTLINECOLOR0 0 0
 END

 However, when viewing this on google maps, the images are often clipped
 at the tile edges.

 I figured that I could solve this with mapcache:

  tileset name=ld
 sourceld/source
 cachedisk/cache
 gridg2/grid
 formatPNG/format
 metatile2 2/metatile
 metabuffer30/metabuffer
 expires3600/expires
 auto_expire2592000/auto_expire
   /tileset

 i've tried higher values for metatile and it helps a bit, but the
 problem simply shifts location. Also with higher values (eg 5 5 metatile)
 mapserver doesn't return the tiles on time for mapcache and I get gaps in
 my results.

 Would preseeding the data help with the timeouts? Any other solutions
 that I may try? The metadata parameter for tile_edge buffer only works with
 labels as far as i know.

 Thanks in advance, this issue has been troubling me for some time now
 :).

 Best regards,
 Wim



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




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


[mapserver-users] Re: Clustering and tile clipping

2012-01-16 Thread Wim Vanbelle
Does anyone have any working examples of how they implemented clustering
without the tile clipping?

Thanks.

On 11 January 2012 10:00, Wim Vanbelle wimvanbe...@gmail.com wrote:

 Hi,

 I'm very happy that mapserver is now capable of server side clustering.
 However I wonder if it's possible to completely get rid of the tile
 clipping.

 Currently I've clustered a point layer with 44k points:

 CLUSTER
 MAXDISTANCE 100
 REGION ellipse

 END

 It is displayed with a simple image:
STYLE
 SYMBOL  small_shaded.png
 SIZE21
 OUTLINECOLOR0 0 0
 END

 However, when viewing this on google maps, the images are often clipped at
 the tile edges.

 I figured that I could solve this with mapcache:

  tileset name=ld
 sourceld/source
 cachedisk/cache
 gridg2/grid
 formatPNG/format
 metatile2 2/metatile
 metabuffer30/metabuffer
 expires3600/expires
 auto_expire2592000/auto_expire
   /tileset

 i've tried higher values for metatile and it helps a bit, but the problem
 simply shifts location. Also with higher values (eg 5 5 metatile) mapserver
 doesn't return the tiles on time for mapcache and I get gaps in my results.

 Would preseeding the data help with the timeouts? Any other solutions that
 I may try? The metadata parameter for tile_edge buffer only works with
 labels as far as i know.

 Thanks in advance, this issue has been troubling me for some time now :).

 Best regards,
 Wim


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


Re: [mapserver-users] Re: Clustering and tile clipping

2012-01-16 Thread Tamas Szekeres
Hi Wim,

Did you try the BUFFER setting to increase the search area during the
cluster creation?
For more information see: http://mapserver.org/mapfile/cluster.html

Best regards,

Tamas




2012/1/16 Wim Vanbelle wimvanbe...@gmail.com

 Does anyone have any working examples of how they implemented clustering
 without the tile clipping?

 Thanks.

 On 11 January 2012 10:00, Wim Vanbelle wimvanbe...@gmail.com wrote:

 Hi,

 I'm very happy that mapserver is now capable of server side clustering.
 However I wonder if it's possible to completely get rid of the tile
 clipping.

 Currently I've clustered a point layer with 44k points:

 CLUSTER
 MAXDISTANCE 100
 REGION ellipse

 END

 It is displayed with a simple image:
STYLE
 SYMBOL  small_shaded.png
 SIZE21
 OUTLINECOLOR0 0 0
 END

 However, when viewing this on google maps, the images are often clipped
 at the tile edges.

 I figured that I could solve this with mapcache:

  tileset name=ld
 sourceld/source
 cachedisk/cache
 gridg2/grid
 formatPNG/format
 metatile2 2/metatile
 metabuffer30/metabuffer
 expires3600/expires
 auto_expire2592000/auto_expire
   /tileset

 i've tried higher values for metatile and it helps a bit, but the problem
 simply shifts location. Also with higher values (eg 5 5 metatile) mapserver
 doesn't return the tiles on time for mapcache and I get gaps in my results.

 Would preseeding the data help with the timeouts? Any other solutions
 that I may try? The metadata parameter for tile_edge buffer only works with
 labels as far as i know.

 Thanks in advance, this issue has been troubling me for some time now :).

 Best regards,
 Wim



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


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


Re: [mapserver-users] Re: Clustering and tile clipping

2012-01-16 Thread Wim Vanbelle
Hi,

Thanks for  your answer, i'll give that a try immediately :).

I remember I played around with it in the beginning, but currently it is
indeed set to 0.

What is an acceptable value for this? Am I to set this to the same value as
the maxdistance in the cluster? (Being 100 in my case)

Or perhaps this should be set to the size of my image representing the
cluster, being 10 pixels?

Best regards,
Wim




On 16 January 2012 10:55, Tamas Szekeres szeker...@gmail.com wrote:

 Hi Wim,

 Did you try the BUFFER setting to increase the search area during the
 cluster creation?
 For more information see: http://mapserver.org/mapfile/cluster.html

 Best regards,

 Tamas




 2012/1/16 Wim Vanbelle wimvanbe...@gmail.com

 Does anyone have any working examples of how they implemented clustering
 without the tile clipping?

 Thanks.

 On 11 January 2012 10:00, Wim Vanbelle wimvanbe...@gmail.com wrote:

 Hi,

 I'm very happy that mapserver is now capable of server side clustering.
 However I wonder if it's possible to completely get rid of the tile
 clipping.

 Currently I've clustered a point layer with 44k points:

 CLUSTER
 MAXDISTANCE 100
 REGION ellipse

 END

 It is displayed with a simple image:
STYLE
 SYMBOL  small_shaded.png
 SIZE21
 OUTLINECOLOR0 0 0
 END

 However, when viewing this on google maps, the images are often clipped
 at the tile edges.

 I figured that I could solve this with mapcache:

  tileset name=ld
 sourceld/source
 cachedisk/cache
 gridg2/grid
 formatPNG/format
 metatile2 2/metatile
 metabuffer30/metabuffer
 expires3600/expires
 auto_expire2592000/auto_expire
   /tileset

 i've tried higher values for metatile and it helps a bit, but the
 problem simply shifts location. Also with higher values (eg 5 5 metatile)
 mapserver doesn't return the tiles on time for mapcache and I get gaps in
 my results.

 Would preseeding the data help with the timeouts? Any other solutions
 that I may try? The metadata parameter for tile_edge buffer only works with
 labels as far as i know.

 Thanks in advance, this issue has been troubling me for some time now :).

 Best regards,
 Wim



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



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