Anyone that have any idea what is the best way (performence) to draw countour on maps, the contours er defined by an array of polygons
Best performence when drawing contour lines on map
Lars,
Welcome you to ThinkGeo MapSuite Desktop Forum!
Personally I think the contour data should be in Line type instead of Polygon type, attachments shows a screen shot which is done in our product WorldMapKit.
Any more details with your requirement would be helpful.
Thanks.
Yale
There are many applications (including our own) where the areas between the contour lines must be treated as a polygon so that you can derive an action to be taken based upon a map location. And many times you want to theme such that the area between 50 and 100 is light blue, 100 to 150 is darker blue, etc.
Lars, if you are generating the contour polygons dynamically, can you just create an InMemoryFeatureLayer?
Hi
the contour maps are defined in different ways, so i have an contour map importer/parser, so the InMemoryFeatureLayer must be the rigth way,
i’m just started evaluating the map control. Normaly i don’t need to color the polygons, but is there any performence difference between drawing polygons/lines?
Lars,
Thanks for your post!
I am afraid the performance between drawing polygons/lines will depends on their complexity, there will be no extra performance penalty.
Our drawing system in Map Control will eventually will call the drawing APIs in the GDI+ provided in .net , I DONOT think there would be extra penalty for Polygon drawing.
Let me know if any more questions.
Thanks.
Yale