Link files: Difference between revisions

From Maria GDK Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{Note|This functionality is largely superceded by the ability to set multiple datasources in the [[Service_configuration|service settings-file]]}}
{{Note|This functionality is largely made obsolete by the ability to set multiple datasources in the [[Service_configuration|service settings-file]]}}
The Vector and Raster Map services searches for Maria GDK map files in the default folder provided at installation. Map packages can also be located in secondary locations using links.xml-files pointing to the data. Avoid circular references in link.xmls.
The Vector and Raster Map services searches for Maria GDK map files in the default folder provided at installation. Map packages can also be located in secondary locations using links.xml-files pointing to the data. Avoid circular references in link.xmls.



Latest revision as of 13:28, 17 September 2019

This functionality is largely made obsolete by the ability to set multiple datasources in the service settings-file

The Vector and Raster Map services searches for Maria GDK map files in the default folder provided at installation. Map packages can also be located in secondary locations using links.xml-files pointing to the data. Avoid circular references in link.xmls.

File containing links should be named *.links.xml.

Example maps.links.xml:

<links>
  <link path="H:\Maps\" recursiondepth="3"/>
  <link path="C:\servicetest\kart\"/>
</links>

Links

Child element Description Properties
link Link to location containing mappackages and datasets. O R A

Link

Attribute Description Properties
path Path to location.
recursiondepth Number of levels to recurse down the directory tree. Default value is 0. O