Mapguide Tile Cache Seeder Tool

View: New views
4 Messages — Rating Filter:   Alert me  

Mapguide Tile Cache Seeder Tool

by zspitzer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just added a code sample to the mapguide wiki which can be used to
seed the tile cache for a tiled map.

It's purely client side javascript which makes it very simple to setup

http://zacster.blogspot.com/2008/07/mapguide-tile-cache-seeder.html

http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/TileCacheSeeding

--
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users

RE: Mapguide Tile Cache Seeder Tool

by Maksim Sestic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Zac,

Related to tile seeding, I went down three different roads until I hit the
wall of MG server locking up or crashing for reasons unknown (see setup
params below):

1) Your approach, purely client-side based
2) Server service, calling MG tiling service via HTTP
3) Server service, calling MG tiling service managed wrappers "directly"

Testing platform(s):

1) Windows Server 2003 / IIS7
2) MGOS 1.2.0 / 2.0.0 / 2.0.1, also MGE 2008 / 2009
3) ECW raster imagery, lots of it
4) Base layer with several predefined zoom scales

MG locks up/crashes on smaller scales (meaning more tiles). I suspect that
the lockup is caused by the underlying FDO, after some 30.000 or more
perpetual queries. The issue has been already addressed (forum, tickets)
many times.


Regards,
Maksim Sestic
 

-----Original Message-----
From: mapguide-users-bounces@...
[mailto:mapguide-users-bounces@...] On Behalf Of Zac Spitzer
Sent: Saturday, July 19, 2008 05:47
To: MapGuide Users Mail List
Subject: [mapguide-users] Mapguide Tile Cache Seeder Tool

I just added a code sample to the mapguide wiki which can be used to seed
the tile cache for a tiled map.

It's purely client side javascript which makes it very simple to setup

http://zacster.blogspot.com/2008/07/mapguide-tile-cache-seeder.html

http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/TileCacheSeeding

--
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users

__________ NOD32 3281 (20080718) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: Mapguide Tile Cache Seeder Tool

by zspitzer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I also see the same problems on both linux and windows, seeding
requires a lot of restarts

That was in fact why I got motivated to get the apache based serving
working for tiles

It is much better on linux because the process does exit, where on
windows it get very stuck
and I need to use zerowave to kill the service


On Sat, Jul 19, 2008 at 7:46 PM, Maksim Sestic <max@...> wrote:

> Hi Zac,
>
> Related to tile seeding, I went down three different roads until I hit the
> wall of MG server locking up or crashing for reasons unknown (see setup
> params below):
>
> 1) Your approach, purely client-side based
> 2) Server service, calling MG tiling service via HTTP
> 3) Server service, calling MG tiling service managed wrappers "directly"
>
> Testing platform(s):
>
> 1) Windows Server 2003 / IIS7
> 2) MGOS 1.2.0 / 2.0.0 / 2.0.1, also MGE 2008 / 2009
> 3) ECW raster imagery, lots of it
> 4) Base layer with several predefined zoom scales
>
> MG locks up/crashes on smaller scales (meaning more tiles). I suspect that
> the lockup is caused by the underlying FDO, after some 30.000 or more
> perpetual queries. The issue has been already addressed (forum, tickets)
> many times.
>
>
> Regards,
> Maksim Sestic
>
>
> -----Original Message-----
> From: mapguide-users-bounces@...
> [mailto:mapguide-users-bounces@...] On Behalf Of Zac Spitzer
> Sent: Saturday, July 19, 2008 05:47
> To: MapGuide Users Mail List
> Subject: [mapguide-users] Mapguide Tile Cache Seeder Tool
>
> I just added a code sample to the mapguide wiki which can be used to seed
> the tile cache for a tiled map.
>
> It's purely client side javascript which makes it very simple to setup
>
> http://zacster.blogspot.com/2008/07/mapguide-tile-cache-seeder.html
>
> http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/TileCacheSeeding
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com (My Blog)
> +61 405 847 168
> _______________________________________________
> mapguide-users mailing list
> mapguide-users@...
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> __________ NOD32 3281 (20080718) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users@...
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



--
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: Mapguide Tile Cache Seeder Tool

by gmclean@gorge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I ran into this problem as well on XP SP2 with MG 1.2

I ended up writing a php script to build tiles. I pass in start and end
columns and rows and a zoom level as arguments. I then called the script
from a batch file, stopping and re-starting MG before I called the
script. It is a hack but it got me through building some pretty big tile
sets.

George McLean




Zac Spitzer wrote:

> I also see the same problems on both linux and windows, seeding
> requires a lot of restarts
>
> That was in fact why I got motivated to get the apache based serving
> working for tiles
>
> It is much better on linux because the process does exit, where on
> windows it get very stuck
> and I need to use zerowave to kill the service
>
>
> On Sat, Jul 19, 2008 at 7:46 PM, Maksim Sestic <max@...> wrote:
>  
>> Hi Zac,
>>
>> Related to tile seeding, I went down three different roads until I hit the
>> wall of MG server locking up or crashing for reasons unknown (see setup
>> params below):
>>
>> 1) Your approach, purely client-side based
>> 2) Server service, calling MG tiling service via HTTP
>> 3) Server service, calling MG tiling service managed wrappers "directly"
>>
>> Testing platform(s):
>>
>> 1) Windows Server 2003 / IIS7
>> 2) MGOS 1.2.0 / 2.0.0 / 2.0.1, also MGE 2008 / 2009
>> 3) ECW raster imagery, lots of it
>> 4) Base layer with several predefined zoom scales
>>
>> MG locks up/crashes on smaller scales (meaning more tiles). I suspect that
>> the lockup is caused by the underlying FDO, after some 30.000 or more
>> perpetual queries. The issue has been already addressed (forum, tickets)
>> many times.
>>
>>
>> Regards,
>> Maksim Sestic
>>
>>
>> -----Original Message-----
>> From: mapguide-users-bounces@...
>> [mailto:mapguide-users-bounces@...] On Behalf Of Zac Spitzer
>> Sent: Saturday, July 19, 2008 05:47
>> To: MapGuide Users Mail List
>> Subject: [mapguide-users] Mapguide Tile Cache Seeder Tool
>>
>> I just added a code sample to the mapguide wiki which can be used to seed
>> the tile cache for a tiled map.
>>
>> It's purely client side javascript which makes it very simple to setup
>>
>> http://zacster.blogspot.com/2008/07/mapguide-tile-cache-seeder.html
>>
>> http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/TileCacheSeeding
>>
>> --
>> Zac Spitzer -
>> http://zacster.blogspot.com (My Blog)
>> +61 405 847 168
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users@...
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>> __________ NOD32 3281 (20080718) Information __________
>>
>> This message was checked by NOD32 antivirus system.
>> http://www.eset.com
>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users@...
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>    
>
>
>
>  

_______________________________________________
mapguide-users mailing list
mapguide-users@...
http://lists.osgeo.org/mailman/listinfo/mapguide-users
LightInTheBox - Buy quality products at wholesale price!