View Single Post
Posts: 223 | Thanked: 323 times | Joined on Dec 2010
#412
Originally Posted by Cretinous Git View Post
I've been trying and failing for a while to add nautical charts from statkart.no to mapsi (Sjøkart hovedserien 2 WMS). Mostly by hacking Jaykie's config files, which do a good job with the topographical maps from Statkart. Unfortunately, I must concede that I have no idea what I'm doing, so I was hoping someone could help me out.
Add following to wms_settings.ini under [opencache.statkart.no-gatekeeper-gk-gk.open] section:

Code:
layer\3\name=sjo_hovedkart2
layer\3\title=sjo_hovedkart2
layer\3\epsg=32633
layer\3\scaleHintMin=7.4798639198
layer\3\scaleHintMax=239.3556454323
layer\3\imageFormat=image/png
layer\3\minx=-246944
layer\3\miny=6099680
layer\3\maxx=1150384
layer\3\maxy=8016944
and update layers size (layer\size=3). To map_settings add:

Code:
[NOR%20Sjo%20hovedkart]
type=layer
epsg=32633
baseCoordLat=59.9174007939863
baseCoordLon=10.7058973741262
layer\1\name=sjo_hovedkart2
layer\1\wms=opencache.statkart.no-gatekeeper-gk-gk.open
layer\1\scales=7.4798639198, 14.9597278395, 29.9194556790, 59.8389113581, 119.6778227161, 239.3556454323
layer\size=1
That should work.
 

The Following User Says Thank You to orava For This Useful Post: