Skip to content

Commit

Permalink
Add OSM Scout Server layers
Browse files Browse the repository at this point in the history
Add the OSM Scout Server day & night layers & a new OSM Scout Server
group.

Note that for the layers to work correctly OSM Scout Server needs to be
running. On Sailfish OS this means starting the OSM Scout Server
applications. On other platforms you should first start the OSM Scout
Server console application.

Also don't forget to supply appropriate map data so that OSM
Scout Server has something to render the map layers from.

For more information about OSM Scout Server & about how to obtain
appropriate map data see:
https://github.com/rinigus/osmscout-server/blob/master/README.md
  • Loading branch information
M4rtinK committed Nov 28, 2016
1 parent fda1c7b commit 6261c31
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion data/default_configuration_files/map_config.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## this config file configures the available map layers

revision=24 ## configuration file revision
revision=25 ## configuration file revision

## new layers use OSM style coordinates by default

Expand Down Expand Up @@ -661,6 +661,28 @@ revision=24 ## configuration file revision
coordinates=web_mercator_substitution
group="yandex"

## OSM Scout Server
## Layer definition for the OSM Scout Server offline map renderer.
[[osmscout_day]]
label=OSM Scout Day
url="http://localhost:8553/v1/tile?daylight=1&z=${z}&x=${x}&y=${y}"
type=png
max_zoom=18
min_zoom=1
folder_prefix=osmscout_server_1
coordinates=web_mercator_substitution
group="osmscout_server"

[[osmscout_night]]
label=OSM Scout Night
url="http://localhost:8553/v1/tile?daylight=0&z=${z}&x=${x}&y=${y}"
type=png
max_zoom=18
min_zoom=1
folder_prefix=osmscout_server_2
coordinates=web_mercator_substitution
group="osmscout_server"

## LL -> XY projection not yet working
#[[cb_sec]]
# label=Sectional
Expand Down Expand Up @@ -748,3 +770,5 @@ revision=24 ## configuration file revision
[[special]]
label="Special maps"

[[osmscout_server]]
label="OSM Scout Server"

0 comments on commit 6261c31

Please sign in to comment.