[OSM-dev] Kosmos and SharpMap

Igor Brejc igor.brejc at gmail.com
Sun Jul 20 07:55:43 BST 2008


Hi Francisco,

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.

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?

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.

Igor

Francisco R. Santos wrote:
> Hi Igor,
>
> 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].
>
> 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.
>
> Regards,
> Quico
>
> [1] http://www.codeplex.com/SharpMap
> [2] 
> http://www.codeplex.com/SharpMap/Wiki/View.aspx?title=Screenshots&referringTitle=Home 
> <http://www.codeplex.com/SharpMap/Wiki/View.aspx?title=Screenshots&referringTitle=Home>


-- 
http://igorbrejc.net





More information about the dev mailing list