[mapguide-users] RE: MapGuide Automated Tiling Engine
Kori Maleski
Kori.Maleski at websoftdev.com
Wed May 30 13:26:40 EDT 2007
Hi Maciek,
The reasoning behind the sx, sy, ex, ey is for cases where you wish to tile
only a certain section of a map at a specific threshold.
In the case where:
You have a map of large areal extents, such as a country or state level.
The map has large areas of water or other areas of non-vital importance.
Due to the amount of tiles that may be pre-generated for these non-vital
areas at large scale zoom thresholds, and the hard drive space and
processing time required, you may wish not to generate the tiles.
By using the sx/ex - Starting Tile Column/Ending Tile Column and sy/ey -
Starting Tile Row/Ending Tile Row - you may specify the row/column bounds of
the tile generation.
When you are generating the tiles with the engine, it will specify the
number of tiles for each row column. Use this number and the map extents
specified in the Map Definition in Studio to determine a rough idea of where
to start or end your tiling. The starting row/column is the upper left
corner of the map.
i.e.
x1 x2 x3 x4...
y1
y2
y3
y4
.
.
.
Each of these parameters are optional and will default to the original
starting and ending row columns if not specified.
It is possible - since the row/columns have no reference to a projection or
coordinate system, that the engine be modified to accept real world
coordinates in order to specify a bounding box more readily. Maybe in a
future release depending on feedback.
Cheers,
________________________________
Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
kori.maleski at websoftdev.com
________________________________
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of MaciekS
Sent: Wednesday, May 30, 2007 7:21 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: MapGuide Automated Tiling Engine
Dear Kori.
Yesterday, after you gave me a tip how to use T.E., i generated lot of
tiles. It works fine!
Now I'm wondering how to use parameters sx, sy, ex, ey to reduce generating
of empty tiles.
What are criteria of using these parameters?
Regards, Maciek
Kori Maleski-3 wrote:
>
> Hi Maciek,
>
> This looks like an issue with the DLLs.
>
> Can you please detail where your installation of MapGuide is ( C, D or
> other
> drive), and if you are running the TilingEngine from its default
> installation folder?
>
>
>
> Please try the following:
>
>
>
> Backup the Tiling Engine folder.
>
> Copy the contents of your C:\Program
> Files\MapGuideOpenSource\WebServerExtensions\www\mapviewernet\bin folder
> to
> the Tiling Engine folder.
>
> Copy the file C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\
> webconfig.ini to the folder.
>
>
>
> Then try running the exe from the command line again.
>
>
>
>
>
> Let me know whether the issue persists.
>
>
>
> Cheers,
>
> ________________________________
>
>
>
>
> Kori Maleski
> Senior Application Developer
> WEBSOFT DEVELOPERS, INC.
> P: (530) 759-8754 ext 114
> F: (530) 759-0923
> kori.maleski at websoftdev.com
> ________________________________
>
>
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of MaciekS
> Sent: Monday, May 28, 2007 4:01 PM
> To: mapguide-users at lists.osgeo.org
> Subject: Re: [mapguide-users] MapGuide Automated Tiling Engine
>
>
> Hi everyone!
>
> I tried to use tiling engine - fmtilingengine
>
> Unfortunatelly with no results. May you help me, what did I wrong?
>
> I called program: fmtilingengine -u Administrator -p *** -m 1014Tile
>
> My Error log:
>
> Title: Error
> Message: Failed to retrieve message for "MgFileNotFoundException".
> StackTrace: Failed to retrieve message for "MgFileNotFoundException".
> Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in
> file
> .\System\ByteSourceFileImpl.cpp
>
> Date/Time: 2007-05-29 00:33:05
> ================================================
> Title: Error
> Message: Failed to retrieve message for "MgFileNotFoundException".
> StackTrace: Failed to retrieve message for "MgFileNotFoundException".
> Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in
> file
> .\System\ByteSourceFileImpl.cpp
>
> Date/Time: 2007-05-29 00:33:08
> ================================================
> Title: Error
> Message: Failed to retrieve message for "MgFileNotFoundException".
> StackTrace: Failed to retrieve message for "MgFileNotFoundException".
> Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in
> file
> .\System\ByteSourceFileImpl.cpp
>
> Date/Time: 2007-05-29 00:33:09
>
>
>
>
> Regards, Maciek
>
>
>
> _____________________________
> Hi everyone,
>
>
>
> Websoft Developers is pleased to announce the availability of our free
> MapGuide tiling utility.
>
>
>
> You may download the installation file from the following link:
>
>
>
> Http://www.websoftdev.com/download.cfm
>
>
>
>
>
> This is a command line utility that can be accessed via a windows console
> window or executed via a batch file.
>
> For those familiar with SDF Loader for MapGuide 6.5, this will be familiar
> territory.
>
>
>
> Note:
>
>
>
> 1) The application has been tested with .NET MapGuide extensions only.
>
> 2) The application works on the Windows platform only, with apologies to
> all
> the Linux users.
>
> 2) Replace MapGuide Open DLLs/webconfig.ini with MapGuide Enterprise
> DLLs/webconfig.ini for use with Enterprise.
>
>
>
>
>
> Please provide feedback for any bugs and application hangs, etc.
>
> If you have any difficulties downloading, wait till the end of Monday and
> try again.
>
>
>
> More details follow below.
>
>
>
>
>
> Enjoy!
>
>
>
>
>
> _____
>
>
> <http://www.websoftdev.com/>
>
> <http://www.websoftdev.com/>
>
> <http://www.websoftdev.com/>
>
> Kori Maleski
>
> Senior Application Developer
>
> WEBSOFT DEVELOPERS, INC.
>
> P: (530) 759-8754 ext 114
>
> F: (530) 759-0923
>
> <mailto:kori.maleski at websoftdev.com> kori.maleski at websoftdev.com
>
> _____
>
>
>
>
>
> FacilitiesMap Tiling Engine for MapGuide Open Source/Enterprise
>
>
>
> The Tiling Engine is a batch utility to be used with MapGuide tiled maps.
> Aim is to create a utility that will handle the pre-generation of tiled
> maps
> that utilize Base Layers.
>
>
>
> This utility is being made available for use to the MapGuide community.
>
>
> You are free to use it.
>
>
> Main features:
>
> * Support for MapGuide Open/Enterprise
> * Use of Command line parameters
> * Configurable in a batch script for automated tiling
> * Tile a specific map
> * Tile a specific Base Layer Group
> * Tile a specific Zoom Threshold
> * Tile a specific Tile index by minimum/maximum
> * Restrict Tiling by Authentication to a specific Map or resource
>
> Version 0.1.0 :
>
> * Support for MapGuide 1.1.0 , MapGuide Enterprise SP1
> * .NET Only
>
> Testing Platform and versions:
>
> * MapGuide Open 1.1.0, MapGuide Enterprise SP1
> * Laptop: Windows XP SP2 P4 Duo Core 2GHz with 2G RAM
> * Tested with .NET MapGuide Components Only.
>
> This is a work in progress; please direct any comments or concerns here:
> info at websoftdev.com
>
>
>
>
> FacilitiesMap Tiling Engine Instructions:
>
> Accessing Help & Instructions
>
> -h or -help Help Menu
>
> Required Parameters:
>
> -u or -user MapGuide UserName
> -p or -password MapGuide Password
>
> Optional Parameters:
>
> -m or -map Specify a specific map by name
> -g or -group Specify a specific base layer
> group by name
> -s or -scale Specify a specific finite
> scale
> -sx Specify a starting tile
> column (x)
> -sy Specify a starting tile row
> (y)
> -ex Specify an end tile row (x)
> -ey Specify an end tile row (y)
>
> Enable Log File:
>
> -l or -log Verbose ouput to a log file
>
> Usage:
>
> FmTilingEngine -u myUseName -p myPassword
>
> * This will tile ALL maps accessible to this user
>
> * This will tile ALL base layer groups accessible to this user
>
> FmTilingEngine -u myUseName -p myPassword -m SheboyganTiled
>
> * This will tile ONLY the map specified and accessible to this
> user
>
> * This will tile ALL base layer groups accessible to this user
>
> The g, s, sx, sy, ex, ey parameters are available only when the m
> parameter
> - map name -
> is specified.
>
> FmTilingEngine -u myUseName -p myPassword -m SheboyganTiled
> -g 'Base Layer Group'
>
> * This will tile ONLY the map specified and accessible to this
> user
>
> * This will tile ONLY the base layer groups accessible to this
> user
>
> FmTilingEngine -u myUseName -p myPassword -m SheboyganTiled
>
> -g 'Base Layer Group' -s 7196 -sx 2 -sy 2 -ex 15 -ey
> 20
>
> * This will tile ONLY the map specified and accessible to this
> user.
>
> * This will tile ONLY the base layer groups accessible to this
> user
>
> * This will tile ONLY the specified Scale
>
> * This will tile ONLY the specified tile rows and columns
>
> * Any combination of the sx, sy, ex, ey parameters may be
> specified.
>
> * Defaulted to the starting and ending column/rows if left
> unspecified.
>
>
>
>
>
> Specifying Starting/Ending Row/Columns is specifically meant for
> generating
> tiles for an area
>
> subset in the case of a map finite scale requiring a significant amount of
> tiles.
>
>
>
> In general, the -m map, -g group will be the main options utilized.
>
>
>
> Be warned - tiling can be computationally intensive. It is recommended
> that
> in the process be
>
> run on a development or staging machine, and the tile cache be copied to
> the
> production server
>
> upon completion. This will depend on your map extents and tile
> requirements.
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
> --
> View this message in context:
>
http://www.nabble.com/MapGuide-Automated-Tiling-Engine-tf3660489s16610.html#
> a10845534
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context:
http://www.nabble.com/MapGuide-Automated-Tiling-Engine-tf3660489s16610.html#
a10874759
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list