Wow, nearly three weeks since my last blog post (but I do post some updates more frequently on Twitter).
[Warning: tech stuff follows] Anyway, I’m doing quite fine. My bachelor project is slowly taking shape. Currently I am modifying SharpMap for our needs (adding a dynamic layer for our data, adding some events to know what’s going on inside of SharpMap,…).
I’ve also touched the clipping function, which really sucked. I replaced it with Sutherland-Hodgman’s polygon-clipping algorithm which works like a charm. This move was necessary because GDI+ has some problems rendering invalid data (meaning data which is far outside of the viewport). The process doing the drawing will block all others and your system will come to a halt - no moving cursors, no task manager, no nothing.
Because SharpMap is released under the LGPL, I will post the .diff patches as soon as the major work is finished.
Tags: .net, c#, development, SharpMap

1 comment
Comments feed for this article
Trackback link
http://www.stopbeingcarbon.com/2008/03/sharpmap-modifications/trackback/
July 11, 2008 at 13:02
Hugo
Hi! I’m developing a similar application on C# :) I have recently implemented the Cohen-Sutherland Algorithm for line clipping. I’m now implementing Sutherland-Hodgman for polygon clipping. I found this blog today and it was good to know that someone else in the planet is doing the same thing as me :)
Do you have MSN Messenger? Mine is: hgfern@hotmail.com It would be great to exchange some ideas!!
Best Regards, Hugo