[mapguide-users] Idea for making MgCooker faster

Bruno Scott bscott at geomapgis.com
Fri Jun 5 04:01:46 EDT 2009


Everything that can make Mapguide more fast/scallable is welcome.
Tiling is one
I think the MetaTiling should be part of mapguide,this would be the more
efficient way of implementing it.

In the mean while , here's a little aspx program that split mapguide big
tiles into smaller tiles.
- Big tile size must be a multiple of the small size
Source tile directory could be one of the following:
  - the root tile cache folder
  - tileCache\Map
  - tileCache\Map\Scale
Destination directory have to be
  - the root tilecache folder

Scenario :
Stop Mapguide server
in the serverwebconfig.ini 
  Set the DefaultTileSizeX and Y to something bigger : ex 2048
  set the TileCachePath somewhere else : ex
C:\...\MapGuide\Server\Repositories\TileCache2048\
Restart the mapguide server
Launch Maestro
  Use the MgCooker to generate the tiles
Launch the attached ggSplitTiles.htm/aspx
  Source dir : C:\...\MapGuide\Server\Repositories\TileCache2048\
  Source tile size : 2048
  Dest. dir : C:\...\MapGuide\Server\Repositories\TileCache256\
  Dest tile size : 256
Stop Mapguide server
in the serverwebconfig.ini 
  Reset the DefaultTileSizeX and Y 256
  Reset the TileCachePath to
c:\...\MapGuide\Server\Repositories\TileCache256\
Restart the mapguide server



http://n2.nabble.com/file/n3029035/ggSplitTile.zip ggSplitTile.zip 
-- 
View this message in context: http://n2.nabble.com/Idea-for-making-MgCooker-faster-tp3017103p3029035.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list