Published by breki on 07 Jul 2008 at 09:23 pm
Kosmos 2.0 Is Here At Last
After almost 5 months of development, I can now announce that I’ve just released a new version of Kosmos. I’ve talked about it several times, although my blog posts have been reduced to practically zero – I’ve been so busy with Kosmos that I just didn’t find the time to write.
NOTE: before proceeding I should warn you that I consider this release to be in beta stage. I spent the last month killing bugs in Kosmos, but since a lot of new functionality was added there are bound to be quite a few bugs still lurking around. If/when you encounter them, please report them on the Kosmos OSM Wiki talk page.
Download
You can download the latest version from here. I’ll be also publishing the source code in the next few days.
So what’s new?
Tabbed Document Interface
First of all, the GUI interface has been completely rewritten. Kosmos GUI now uses an tabbed document interface (TDI):
As you can see from the screenshot, the user interface is somewhat reminiscent of Visual Studio. You have a Project Explorer through which you can edit the project file. There is the Properties window which displays properties of the currently selected project or data file. There is also the Activity Logger window which shows the activity Kosmos is performing.
Of course, there is the Map window with the familiar Kosmos-rendered OSM map. You can also look for new maps using the Web Map window which is able to display most common Web maps (OSM, Google, Yahoo, Microsoft).
Downloading OSM Data
Kosmos can now download the OSM map data from the OSMXAPI server. So in theory you can now generate a map without any additional tools. Be warned though: OSMXAPI can be quite slow sometimes, especially if you choose to download large map areas.
GPX Support
Kosmos now has the ability to download GPS data from a GPS unit and display it on the map. You just need to have gpsbabel software downloaded and saved somewhere on the disk.
Relief Contours
I integrated the Srtm2Osm tool into Kosmos GUI so that users can generate relief contours for any map area:
Imagery From Landsat And openaerialmap.org
Another nice feature in Kosmos 2.0 is the ability to download free satellite imagery from Landsat and openaerialmap.org sites:
Tile Server
The tile server (launched from the Kosmos Console) is now able to render all of the data specified in the project file. This means that you can now render tiles which contain shaded reliefs, satellite imagery, GPX tracks, elevation contours.
Other Stuff
There are lot of other improvements which I will describe on the Kosmos OSM Wiki pages in the next days.
What’s Missing
This is not the end of Kosmos development, far from it. I still have quite a few ideas I want to introduce into Kosmos. I realize that a lot of things are still missing – I have a “to do” list that is growing day by day. Hopefully future releases will have even more cool features. So be patient… And do send me some feedback, critiques and ideas


Etric Celine on 07 Jul 2008 at 22:24 #
Hi there. Kosmos 2 is a great tool to render maps on my own.
You have done a nice job with the new Interface and all the features.
All I miss now is a “simple” way to render some basic relations (like the route relation)
breki on 07 Jul 2008 at 22:27 #
Hi Etric,
I haven’t done much work on the rendering engine itself. One of the next things I plan to do is to improve the rendering capabilities, including the support for relations. So keep an eye on this page
delphiN on 08 Jul 2008 at 0:15 #
Hi Etric,
thank you very much for the great work on Kosmos 2.0. I looked for the new release almost every day for the last two weeks
Please provide the source for V2.0 also, so that I can help fix some bugs I found. By the way, I created the following page for reporting bugs: http://wiki.openstreetmap.org/index.php/Kosmos_bugs
Kind Regards, Alex
John on 08 Jul 2008 at 14:48 #
I also waited long for this release, unfortunately i get the startup error that is described on the wiki
breki on 08 Jul 2008 at 16:16 #
Well yes… that’s what happens if you don’t have English Windows
…. I’ll post the patch for this problem today.
John on 08 Jul 2008 at 18:22 #
The new version 508.0 is working well, now i have to test every feature
Thanks!
BeginnerT6 on 11 Jul 2008 at 11:51 #
Hi Breki, Kosmos is a great rendering kit! However is not easy for a beginner to understand the whole rendering structure, yet many OO concepts applied. So will you share us some design documentations? Btw, will you plan to render the map from other data source like database, instead of serialized from xml map data. TIA
breki on 11 Jul 2008 at 12:19 #
I haven’t released the source code for the 2.0 version yet, I’ll try to do it this weekend. Unfortunately, the new source code is even more complex
, since I had to implement a MDI framework for Kosmos. And no extra documentation (other than the sparse one in the code), I just don’t have the time to do it. This is one of the reasons I decided not to make the Kosmos a collaboration project – I released the source code to the public, but with no additional support attached.
I’ll create a Wiki page about Kosmos source code and explain a few things there.