[mapguide-users] RE: Tiling engine Problems

ZoffoMan zoffo at adelphia.net
Thu Aug 23 23:13:52 EDT 2007


I wrote a .NET "tiling engine" for 1.2.  It gets all the scales and figures
out the tiles to generate, etc. and walks the Base Layer.  However after
making 58 correct tiles it dies.  I get a MgConnectionFailedException.
It calls the new 1.2 GetTile(mapDef, baseName, x, y, scale) method of the
TileService.

I thought it was because I was not originally using sessions with my
userInfo.  I changed it to use sessions and get the same results.  I even
tried to make it reconnect when getting this error.  However, I have to
restart the MapGuide service to use MapGuide again.

Any thoughts?

Is this something that is solved in the source tree that I could build?





Kori Maleski-3 wrote:
> 
> Hi Keith,
> 
>  
> 
> I am aware of the issue and hope to have it rectified with a MGO 1.2/MGE
> 2008 release.  I discussed this connectivity issue a while ago in the
> group.
> It should be addressed in MGO 1.2.  It is not a RAM or CPU usage issue. 
> 
>  
> 
> It occurs at smaller scales where in some instances the MGO
> session/connectivity is lost for some reason mid generation of the tile.
> The process is restarted where it left off, but sometimes leaves the image
> it was in the process of generating.  
> 
>  
> 
> To remove these blank images, you can delete images that are 2KB or less.
> Images 2KB or less will be either invalid blank or valid single colour
> images.  You may have to check row/columns to ensure you are removing
> invalid images.
> 
> This method of deletion will allow MGO to generate the missing tiles.
> 
>  
> 
>  
> 
> Cheers,
> 
>  
> 
>  
> 
>   _____  
> 
> 
>  <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
> 
> kori.maleski at websoftdev.com
> 
>   _____  
> 
>  
> 
>   _____  
> 
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Campbell,
> Keith
> A
> Sent: Friday, August 10, 2007 7:33 AM
> To: MapGuide Users Mail List
> Subject: [mapguide-users] Tiling engine Problems
> 
>  
> 
> I've been using the tiling engine to pre-process maps and have found that
> it
> creates many blank images. See the attached images which are 2 adjacent
> tiles - one with a correct image and one blank.
> 
> This seems to occur at smaller scales where there are many tiles to
> process.
> I am wondering whether this may be a memory issue as the Server process
> does
> gobble up a lot of RAM while creating the tiles.
> 
> Has anybody else experienced this problem? 
> 
> Keith 
> <<8_25.png>> <<8_24.png>> 
> 
>  
> 
> This email and any attached files are confidential and copyright
> protected.
> If you are not the addressee, any dissemination of this communication is
> strictly prohibited. Unless otherwise expressly agreed in writing, nothing
> stated in this communication shall be legally binding.
> 
> The ultimate parent company of the Atkins Group is WS Atkins plc.
> Registered in England No. 1885586.  Registered Office Woodcote Grove,
> Ashley
> Road, Epsom, Surrey KT18 5BW.
> 
> P Consider the environment. Please don't print this e-mail unless you
> really
> need to.
> 
> 
>  
> _______________________________________________
> 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/Tiling-engine-Problems-tf4249057s16610.html#a12305768
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list