It is advised to read first the documentation about Web-based Resources.
For more information, see workflow on web server connection.
Direct connection to WMS\WMTS is not possible for HTML5 webclient. The OTM (Orbit TileMap) is an abstract image format that supports reading and rendering online image data.
It has several advantages in comparison with direct connection to a remote resource:
The resource should be accompanied by an Orbit Resource Descriptor file. The resource coordinate system must be defined via the associated .ord file, just like other regular file based resources.
The following configuration parameters need to be defined in the '.otm' file for WMS service:
Format=WMS MapUrl=http://kartor.stockholm.se:80/bios/wms/app/baggis/web/WMS_STHLM_STOCKHOLMSKARTA_GRA_FORENKLAD_RASTER? ImageFormat=image/jpg Layer=p_1002800 CRS=3011 PixelSize=0.5
The following configuration parameters need to be defined in the '.otm' file for WMTS service:
Format=WMTS MapUrl=http://tile.informatievlaanderen.be/ws/raadpleegdiensten/wmts? Layer=grb_bsk PreferredCRS=31370 UserName= Password=
Format=WMS MapUrl=https://geoservices.informatievlaanderen.be/raadpleegdiensten/omwrgbmrvl/wms? Layer=Ortho CRS=31370 PixelSize=0.5
Parameters present in *.otm file:
CRS
: (Preferred)CRS should be chosen from the list of the projections enabled for the corresponding web service. If it's expected that the Map CRS mostly used for this data will be one of the enabled CRSs of the webservice then it's recommended to use it to avoid extra transformations as this is the CRS in which tiles will be rendered in.PixelSize
: Pixel size is used by OTM\WMS driver to create a pyramid of 256×256 pixel tiles, it also is a maximum detail size of the pixel to render (resolution of this abstract image).Layer
: Layer name Value of service FeatureType Name tag in the FeatureTypeListImageFormat
: specification of the tiles image format is mandatory if the tiles format is not .png as Orbit expects by default .png format; <image format> Value of service FeatureType Format tag in the FeatureTypeList.DiskCacheName
: name of the folder that is used when caching UseTransparentColor
: Set to True to make the default color black transparent. When another color should be transparent, use the parameter TransparentColor
. For example, TransparentColor = 255.255.255 to make white as transparent. UseAlphaChannel
: Set to True when the loaded tiles have alpha transparency.