About

What is Zivilschutzkarte?

Zivilschutzkarte 2 is a javascript application (based on Angular) which allows to draw situation maps for disaster management. It has been developed for the Swiss civil defense organisation "Zivilschutzorganisation Bern Plus". The drawing application can be used either with standard computers or with interactive whiteboards and is ready to be executed - e.g. in case of interrupted connections - in offline mode (with prepared offline maps and a restricted set of functionalities) as well as in online mode with the full capacities of modern map features.

Zivilschutzkarte 2 is the successor of "Zivilschutzkarte", an application with the same purpose, based on AngularJS. This modernization has been required to ensure the maintenance and extensibility of the application with a more recent technology stack.

Features

Easy setup

All you need is a modern web browser (e.g. Google Chrome). The application can be stored on an USB-stick, a network hard drive or a fully fledged web server.

Online and offline mode

Start to draw your maps even without internet connection and switch to the online mode as soon as you're back online.

Different map providers

Use those maps which are convenient for you: Based on Openlayers 3, Zivilschutzkarte allows to integrate plenty of different map sources such as Openstreetmap, geo.admin.ch, Google Maps, Bing Maps and many more.

Auto-save and data export

Don't loose your drawings just because you forgot to save your work! Zivilschutzkarte autopersists your changes within a configurable interval. Additionally, you can save your drawings as GeoJSON-files, load them back onto your map and get screenshots of your current map - e.g. for reporting.

Geocoding

In online mode, you have a geo coding functionality available: Just enter the name of a place or street and the map will center itself to the according place.

Signature assurance

The signature (icons) to be used for drawing situation maps is standardized in Switzerland - the Zivilschutzkarte application supports you by providing all the existing signatures as well as the required support for drawing single position elements, lines or even areas respective to the type of the chosen sign.

Historical data

You need to know how the situation has developed over time? Zivilschutzkarte keeps track of the history of drawing and allows to "rewind" to a specific moment in time..

Get Zivilschutzkarte 2

Without Installation

Testand use Zivilschutzkarte 2 without installation at https://zskarte2.olinux.ch.
You can still use the old version "Zivilschutzkarte" at https://zskarte.olinux.ch/demo.

From USB-stick / local device

The installation of Zivilschutzkarte 2 ist pretty simple:
Download the prepared ZIP-file, extract it anywhere on your computer (e.g. on a USB-Stick) and open the file "index.html" in a modern webbrowser.

In offline-mode

The offline mode needs some preparation. It is recommended to install a local map server. Please follow the instructions at OpenMapTiles.com.
After the installation, you will find an assistant for the configuration (for Linux at http://localhost:8080, for Windows/Mac this typically opens automatically from Kinematic or it can be found in the WebPreview / at the address http://192.168.99.100:32769). Please use the following settings:

Region: Choose the region you're interested in. The smaller the region, the less requirements on the executing machine.

Style: You only need the "OSM Bright" style, so you can disable the others. Please also choose the language of labels to your preferences.

Settings: You only need the "Serve raster map tiles" option.

Run: Save the server and execute it. You'll need now to download the map data - please make sure you choose the appropriate licensing option.
As soon, as everything is up and running, you need to configure your offline map server by opening the index.html file in your web-browser and by extending the address with "?offlineHost=localhost:8080" (for Linux), or with "?offlineHost=192.168.99.100:32769" (for Windows and Mac - if the configuration assistant opened at another address, use this one instead) - e.g. "file:///home/user/zskarte2/index.html?offlineHost=localhost:8080".Now, refresh the page. This step has to be executed only once - afterwards the settings are stored in your web browser and you can simply open the index.html in the future. Now you can choose the "Offline" map and should be able to see the map even without internet connection.

The sourcecode (GPL 3) is available
from GitHub

Contact

For more info and support, please contact Oliver Schmid!