ThinkGeo.com    |     Documentation    |     Premium Support

Raster and vector later performances









Hi,


I’m working for a telecommunications company, and I’m evaluating various products that allow building desktop mapping application in .NET environment.


MapSuite beta 2 release (3.0.199) is a good candidate because of its powerful mapping features, easy-to-use API, and extendibility.


 


Performance is our main problem: we have feature layers consisting of approximately 100,000 points and lines and we need to apply value-styles and filters at run-time on user request.


At the same time we have a mosaic made up of 300 georeferenced tif images covering Italian territory, and we need to zoom out to see a region covered by up to twelve images.


 


Before writing to this forum I implemented all the solutions that are suggested in forum for better performances both of raster and vector layers.


 


For example


Raster Layer:  


MultiGeoTiff Raster Layer


Client caching


 


Vector Layer:


                        IndexedInMemoryFeatureLayer


                        CachedValueStyle


 


A question: What are the best events to be used to measure the timing of layer generation?


 


I would like to know if, in future releases, there are further improvements for better performances for drawing raster and vector layers.


 


Thanks




Mattia, 
  
 Thanks for evaluating Map Suite product. 
  
 There is a property layer.DrawingTime to return the last drawing time of the layer. Is this what you want? 
  
 We always keep working on improving the performances and enhancing the functionalities. In the upcoming version we will have some enhancement on the overlay drawing. I think you will have better performance with that version. Also could you let me know the drawing time in your case (100,000 points and lines, 12 TIFF images within certain extent)? So we can make an analysis whether we can do more enhancements. 
  
 Thanks, 
 ThinkGeo Support 


Thanks, 

using layer.DrawingTime property I get these results (average in milliseconds): 



IndexedInMemoryFeatureLayer made up of ~ 30000 points   ~2500 ms 



IndexedInMemoryFeatureLayer made up of ~ 70000 lines ~4000 ms 

(adding a CachedValueStyle with four valueItems to change color lines) ~11000ms 



Mosaic of 300 Tiff images of 5MB  

GeoTiffRasterLayer (zooming on extent covered by 10 images) ~ 5 sec 



Mosaic of same 300 images in ECW format 

GeoEcwRasterLayer (zooming on extent covered by 10 images) ~ 3 sec 





The test is in multithreading mode, but I’m not using raster cache (for testing performances). 

My application needs to view three layers: 

a raster layer and two vector layers made up of lines and points to which users can apply styles. 

Raster layers and custum styles seem to be the main cause of slow. 





Mattia



Mattia, 
  
 Thanks for providing the drawing time. We are busy on preparing the upcoming release which will be released around next week. We will do some test on your case to see whether we can do more enhancements. 
  
 Thanks, 
 ThinkGeo Support