Cobra

From OpenStreetMap Wiki
Jump to: navigation, search
Cobra
Screenshot of Cobra
Website: http://www.studio-24.net/osm/downloads/cobra/
Version: 0.3.9 (2010-02-03)
Platform: win

project paused

Contents

OpenStreetMap Renderer: Cobra

!! Note that Cobra development process is paused until OSM API v0.6 is released and in use. !!

(For information about the CobraNG successor check this page: [[1]])

Description

Cobra is a small rendering framework for OpenStreetMap written in C# (.NET). It consists of a core component (including graphical and commandline user interface) and provides a interface for plugins to do actual rendering. Cobra plugins a characterized into three different domains:


The current version of cobra (0.4.0) includes:

Requirements

To run Cobra you need a .NET capable platform.

Operating System Runtime Comments/Restrictions
Windows .NET 2.0+ -
Windows Mono 2.0+ PNGoAGG: 0.4.1+
Linux Mono GUI has strange behaviour, PNG output is black
Mac Mono not tested, probably same as Linux/Mono

Using */Mono you likely will notice some deficiencies. (e.g. strange behaviours when using GUI) Hopefully these glitches can be addressed in a later (platform interoperability concerned) release.

Download

Version 0.3.1 introduces a new application structure. This means that cobra isn't available as a single application anymore. Instead there will be an application core which includes interconnection stuff, services, gui and commandline interface. The other parts are provided by three types of plugins (Output, Interpreter, Projection) which should be usable in any combination among each other. (There may be a dependency between interpreter-rulefile parameters and projection, though)

Release Table

Output Provider Style Provider Projection Provider
Bundle Core PNGoAGG Ouput Provider SVG Output Provider PNGoCairo Ouput Provider Cobra Native Style Provider Osmarender Style Provider Quick Style Provider Osmarender Projection Provider
lastest 0.4.0 0.4.4 0.2.8 - 0.2.8 0.2.1 0.2 0.2.2
0.3.9 0.3.9 0.4.3 0.2.7 0.2.7 0.2
0.3.5 0.3.5 0.4.2 0.2.6 0.1 0.2.5 0.1 0.1 0.2.1
0.3.2 0.3.2 0.4 0.2.4 0.2 0.2
0.3.1

Samples

Images

München (gerendert mit v0.3.1, zoom 17, 1024px)

Brixton/London (gerendert mit v0.3.1, zoom 12, 276px)

Straßburg (gerendert mit v0.3.1, zoom 17, 1024px)

Foot- & Cyclelanes (gerendert mit v0.2.9, zoom 17, 1024px)

Berlin Tegel (gerendert mit v0.2.9, zoom 17, 1024px)

Irgendwo in Karlsruhe (gerendert mit v0.2.9, zoom 17, 2048px)

Bayern (gerendert mit v0.2.9, zoom 12, 3000px (ext. skal. auf 1024))

Merkstein (gerendert mit v0.3.0, zoom 17, svg)

Maps

Restrictions Map

Area of Munich. Zoom 14-16 rendered with Cobra 0.3.9 rc1.

Map Features:

Note: All map tiles were rendered one by one and each tile [data] for zoom 14 was downloaded via api just in time (which took about 90% of rendering time). As a result there are several graphical glitches like inclomplete place captions, where a nearby place node in a neighbour tile was not downloaded for the current tile.

Documentation

Cobra Documentation Documents

ToDo

Todo/Roadmap

weitere Wünsche und Anregungen sind natürlich jederzeit willkommen.

Change Log

03.02.2009

Core - 0.4.0



PNGoAGG Ouput Provider - 0.4.4

SVG Output Provider - 0.2.8



Cobra Native Style Provider - 0.2.8

Osmarender Style Provider - 0.2.1



29.01.2009

Cobra - 0.3.9


Plugins



Notes


bad news:


good news:


14.12.2008

Cobra - 0.3.5


Native Rule Interpreter - 0.2.5


12.11.2008

Cobra - 0.3.2


Cobra - 0.3.1


Native Rule Interpreter - 0.2.0


PNGoAGG Output Provider - 0.4.0


Report Bug / Request Feature

Issue Tracker

FAQ

Q: What are Virtual Ways?

A: Virtual Ways are an obsolete concept of optimizing rendering of street names.

Q: Are there any plans to make the source code public?

A: Yes and No. There are plans to give away development of SVG Output and Osmarender Interpreter plugins to anyone who is interested. The Core and the basic plugins PNGoAGG Output, Native Rule Interpreter and Osmarender Projection will remain in my hands for now. To help people with developing own plugins (or UIs) i will provide an SDK soon.

Personal tools
Namespaces
Variants
Actions
site
Toolbox