Changeset 6261c31


Ignore:
Timestamp:
11/28/16 01:50:57 (4 months ago)
Author:
Martin Kolman <martin.kolman@…>
Branches:
master
Children:
94a1e4b, c09e65b
Parents:
fda1c7b
git-author:
Martin Kolman <martin.kolman@…> (11/28/16 01:50:57)
git-committer:
Martin Kolman <martin.kolman@…> (11/28/16 01:50:57)
Message:

Add OSM Scout Server layers

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/default_configuration_files/map_config.conf

    r9a90008 r6261c31  
    11## this config file configures the available map layers 
    22 
    3 revision=24 ## configuration file revision 
     3revision=25 ## configuration file revision 
    44 
    55## new layers use OSM style coordinates by default 
     
    662662  group="yandex" 
    663663 
     664## OSM Scout Server 
     665## Layer definition for the OSM Scout Server offline map renderer. 
     666[[osmscout_day]] 
     667  label=OSM Scout Day 
     668  url="http://localhost:8553/v1/tile?daylight=1&z=${z}&x=${x}&y=${y}" 
     669  type=png 
     670  max_zoom=18 
     671  min_zoom=1 
     672  folder_prefix=osmscout_server_1 
     673  coordinates=web_mercator_substitution 
     674  group="osmscout_server" 
     675 
     676[[osmscout_night]] 
     677  label=OSM Scout Night 
     678  url="http://localhost:8553/v1/tile?daylight=0&z=${z}&x=${x}&y=${y}" 
     679  type=png 
     680  max_zoom=18 
     681  min_zoom=1 
     682  folder_prefix=osmscout_server_2 
     683  coordinates=web_mercator_substitution 
     684  group="osmscout_server" 
     685 
    664686## LL -> XY projection not yet working 
    665687#[[cb_sec]] 
     
    749771  label="Special maps" 
    750772 
     773[[osmscout_server]] 
     774  label="OSM Scout Server" 
Note: See TracChangeset for help on using the changeset viewer.