May 26, 2020

How easy it is to create your own Oskari based map?

In this blog post Jan Lindbom, the CPO/CTO in Sitowise Ltd explains to how to create a light weight map service with Oskari. We shall try to do what he instructs.

1. Access to Oskari

“You have to have an access to a Oskari platform that offers the possibility to publish maps,” he starts.

So go to a service like Paikkatietoikkuna, Suomi.fi-maps or similar.

You can also try this with Oskari demo, but remember it will erase all saved information every day.

2. Sign in and add data or map layers

“You need to publish a map with Oskari’s ready to use functionality with an easy to use web interface.”

This can be done with signing in as a user, choosing a background maps or other available map layers. In this example we are using the Finnish national geoportal called Paikkatietoikkuna and some data fetched from OpenStreetMap.

The styling abilities are a bit limited. But you can adjust the style also afterwards from My data-section. Notice, that adding own data is possible only if it is allowed in the used Oskari instance. The abilities of Oskari can vary according to the service provider. But adding own data and publishing maps is a core element of Oskari.

We used QGIS and QuickOSM tool to fetch coffeeshops from the city centre of Turku. At the moment Oskari allows datasets to be imported in zip-format and it supports ESRI .shp, .GPX, Mapinfo .mif and Google .KML-formats.

3. Publish the map

4. If you want to tailor the embedded map to your own needs, learn RPC

Oskari’s published maps can be tailored to make them look exactly as you like. This is done by using Oskari RPC (Remote Procedure Call).

“And the last and most important part, you need to have application developer knowledge to be able to develop the integration to the other system by RPC. You need to know the system to which you are integrating at the technical level also.”

“The advantage of using RPC is that the map interface can be easily integrated into a part of another system and make it work interactively”, Jan explains.

Reviewed and rewritten in 2020-05-26, original story written in 2019-01-07.