<div dir="ltr">Hi Igor,<br><br>Thanks fro the reply. I don't know the capabilities of SharpMap, but for what he commented, I assumed this library could replace many of your drawing code because of the many primitives it contains, so you don't need to code it from scratch. I don't know if it does image georeferencing or rectification, but it seems that there is a new 2.0 version coming soon with many more options. Maybe is this the version you need?<br>
<br>Regards,<br>Quico<br><br><div class="gmail_quote">2008/7/20 Igor Brejc <<a href="mailto:igor.brejc@gmail.com">igor.brejc@gmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Francisco,<br>
<br>
First the quick answer: no, Kosmos is not using SharpMap. I knew about SharpMap for some time, but when I started Kosmos is was just an experiment on implementing a simple tile server for OSM. Most of the work was on defining and implementing a rule engine and processing OSM data with it. The drawing part was (at first) simple, it grew in size simply because I added more and more optimizations to draw maps more quickly.<br>
<br>
SharpMap offers a large set of features valuable for GIS development, but Kosmos is still more or less an OSM-oriented tool, so the code is OSM data structure-oriented and I'll keep it that way for now. But what I am looking for is .NET libraries for stuff that I really don't want to handle myself: image georeferencing (GeoTIFFs for example), rectification - I'm not sure if SharpMap does this?<br>
<br>
It would be interesting to see the performance of SharpMap-developed tool for OSM rendering. Unfortunately I don't have enough time to work on OSM - SharpMap integration (maybe your friend does? :) ). I can help with the code and any questions.<br>
<br>
Igor<br>
<br>
Francisco R. Santos wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi Igor,<br>
<br>
A friend of mine has a pet project in C#, with some contour and relief renderings (no roads, terrain only), so I thought of showing him Kosmos. Then he saw the code and asked me if it uses SharpMap[1]. As I don't program in C#, I didn't know what he was talking about, so he showed me this library that handles many GIS formats and draws maps in many ways [2].<br>
<br>
So, the question is, can SharpMap be useful to Kosmos?. I think that if you use this library, you can spare many, many lines of drawing code and concentrate in the OSM parts. If not, as you already have the code to import a .osm file, a OSM importer for this library could be very useful to other people using it.<br>
<br>
Regards,<br>
Quico<br>
<br>
[1] <a href="http://www.codeplex.com/SharpMap" target="_blank">http://www.codeplex.com/SharpMap</a><br></div></div>
[2] <a href="http://www.codeplex.com/SharpMap/Wiki/View.aspx?title=Screenshots&referringTitle=Home" target="_blank">http://www.codeplex.com/SharpMap/Wiki/View.aspx?title=Screenshots&referringTitle=Home</a> <<a href="http://www.codeplex.com/SharpMap/Wiki/View.aspx?title=Screenshots&referringTitle=Home" target="_blank">http://www.codeplex.com/SharpMap/Wiki/View.aspx?title=Screenshots&referringTitle=Home</a>><br>
</blockquote>
<br>
<br>
-- <br>
<a href="http://igorbrejc.net" target="_blank">http://igorbrejc.net</a><br>
<br>
</blockquote></div><br></div>