Map performance

Oct 7, 2010 at 3:57 PM

Hi Team, 

I am using this layers, map is working fine. and I am concern about performance.

var osmLayer = new SharpMap.Layers.TileLayer(new BruTile.Web.OsmTileSource(), "OSM");

How we can enhance the performance of the map.

 

Thanks in advance,

Vivek Kumar

Coordinator
Oct 7, 2010 at 4:34 PM

You mean a regular OSM layer like in the Silverlight demo I have running here?:

http://brutiledemo.appspot.com/

The OSM tile service is one of the fastest around. What experience do you have with mapping tools that are faster? And do they depend on an internet connection for data or do they have the data local?

Paul

Oct 7, 2010 at 6:55 PM

Hi Paul,

Thanks for the reply.

I am using simple version using Shrapmap, and I do't have any data locally , as you can see above I am using layers directly, I am calling this in window services.

please let me know what I can do to enhance speed.

Thanks,

Vivek Kumar

Oct 11, 2010 at 8:54 AM

Hi Paul,

I am using this.

var map = new SharpMap.Map(new System.Drawing.Size(700, 700));

var osmLayer = new SharpMap.Layers.TileLayer(new BruTile.Web.OsmTileSource(), "OSM");            

map.Layers.Add(osmLayer);

map.ZoomToExtents();   

Still the performance is very low.

Please let me know how i can improve this.

Thanks,

Vivek Kumar

Coordinator
Oct 11, 2010 at 9:03 AM

hi Vivek,

No, this is not possible within the current architecture of SharpMap. The speed with which the tiles are fetched as fast as it gets. The perceived performance can be improved by using asynchronous data fetching, but this needs changes to the architecture. I am working on such an architecture within the Mapsui project.

Paul