Published by breki on 13 Nov 2008
Kosmos 2.3 - now with integrated slippymap!
UPDATE: A bug has already been discovered thanks to StefanB… a new download link for the fixed version.
There were some comments from this blog’s readers about me not delivering new Kosmos versions as promised :). So I decided to wrap up everything and produce a new version as soon as possible. Some things I planned for this release are postponed to the next version(s).
Last two to three weeks my main effort was in implementing the slippymap (web map) integrated directly into the main map. You can now view the whole Earth using one of OSM’s web maps (Mapnik, Osmarender, CycleMap). I find this to be a much better solution than opening an extra Web map browser window and then fiddling with map buttons like it was in previous versions. That’s why I plan to remove web map browser from Kosmos in future versions (unless some users find it useful, please let me know).
You can set the transparency of web map tiles so you can combine Kosmos rendering of OSM data together with the tiles. The slippymap tiles are also rendered on exported bitmaps and Kosmos’ web map tiles. I haven’t been able to show them on printed pages though, I have to investigate this further.
Icons can now be placed on areas:
Kosmos GUI now has a Full Map Mode switch which, when turned on, maximizes the map display and hides all other windows (see the screenshot at the top of the page). There is also a new Reload Rendering Rules menu item (and hotkey) to ease experimenting with rendering rules.
Another improvement is in Kosmos’ performance (both speed and memory-wise). I already wrote something about it in September. Anyway, you should be able to load larger chunks of OSM data now.
Below is a list of other new features and bugfixes for this release. As always, please let me know if you encounter any new bugs. The code base has changed a lot since the last version because of all the new features added to Kosmos, so there is always a chance of catching a bug or two…
- BUGFIX: multiple rule selectors did not work with {{tag|key}} form
- BUGFIX: density parameter for symbols wasn’t handled properly
- generation of SRTM index can now be canceled by the user
- BUGFIX: the generation of SRTM index sometimes hangs, probably due to FTP client command executing too quickly
- when determining map boundaries, data files which are hidden are ignored
- BUGFIX: when showing large bitmaps there are visible white horizontal stripes
- changed the way how the OSM tags are stored in memory (array instead of Dictionary)
- OSM reading code now ignores “created_by” tag - this results in a significant memory savings, since all of the nodes
have this tag
- BUGFIX: the map-related menus remained visible when the project was closed
- implemented custom reading and writing of OSM XML files
- various performance optimizations
- BUGFIX: direct URLs for user pages containing rendering rules did not work
- TextLineOffset-ing is now available for Node, AreaCenter and WayCenter text modes
- added “Max zoom factor” setting to limit the allowed zoom level. This is in order to avoid application freezing up on high zooms.
- Kosmos now uses arrays instead of Lists for storing way’s nodes list
- added support for “bounds” osm tag, “bound” is now deprecated
- BUGFIX: Color alpha value in map shading code is now checked not to exceed the allowed range
- added User-Agent header when accessing Web






