Pre-Genererate tiles for the entire map at all pre-defined zoom scales

Farah farah at egovernments.org
Thu Aug 31 02:51:41 EDT 2006


Hi friends!

 

I am trying to pre-generate tiles, of the base map group layers,at various
zoom levels and pre-populate the TileCache , so as to improve the
performance.

 

I guess I have to use the function:


virtual MgByteReader
<https://mapguide.osgeo.org/nonav/docs/webapi/d8/d50/class_mg_byte_reader.ht
ml>  * 

GetTile
<https://mapguide.osgeo.org/nonav/docs/webapi/df/dba/class_mg_tile_service_a
0fab3452d48d4a4abeedb8dc2c18611.html#a0fab3452d48d4a4abeedb8dc2c18611>
(MgMap
<https://mapguide.osgeo.org/nonav/docs/webapi/da/df8/class_mg_map.html>
*map, CREFSTRING
<https://mapguide.osgeo.org/nonav/docs/webapi/da/d10/_common_defs_8h_2697935
ae7be4121104b37ff513b810b.html#2697935ae7be4121104b37ff513b810b>
baseMapLayerGroupName, INT32
<https://mapguide.osgeo.org/nonav/docs/webapi/da/d10/_common_defs_8h_0cb58e7
e6f0bad369840a52e54a56ae0.html#0cb58e7e6f0bad369840a52e54a56ae0>
tileColumn, INT32
<https://mapguide.osgeo.org/nonav/docs/webapi/da/d10/_common_defs_8h_0cb58e7
e6f0bad369840a52e54a56ae0.html#0cb58e7e6f0bad369840a52e54a56ae0>  tileRow)=0

 

 

I read from a previous post that Tile column and row are related to map
coordinates in the function

called MgServerRenderingService::RenderTile. However, I don't get how the
tile column and row are associated with the map coordinates. Does anyone
have any idea about this? Please help!!

 

Thanks in advance,

Farah

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060831/eec891ce/attachment.html


More information about the Mapguide-users mailing list