Hexagon Geospatial
MENU

WebGIS Q&A

WebGIS enables powerful geospatial web applications and services that securely share your organization’s rich geospatial data, and provides tools to deeply examine spatial data and create value added products, on demand.
Showing results for 
Search instead for 
Do you mean 

Unrecognized element 'LevelDefinition' starting CacheFiller service

by sclow on ‎08-08-2016 09:00 AM - edited on ‎04-21-2017 05:01 AM by Technical Evangelist (464 Views)

Symptoms

Using Label Web with a GeoMedia Webmap WMTS service causes some labels to be dropped/altered when they fall/appear on the edge of a WMTS tile. To resolve this the CacheFillerWindowsService.exe.config file is altered for 'LevelDefinition' buffer. Unfortunately this leads to error when implemented stating "Unrecognized element 'LevelDefinition' when the CacheFiller service is started.

Diagnosis

The <LevelDefinitions> section of the WMTS in the CacheFillerWindowsService.exe.config file that should cater for this by allowing the tiles on a particular level to be created with a buffered tile and then cropping the result to the correct size is documented with an imporper tag name 'LevelDefinition'. Attempting to implement this given the current 16.00 or 15.00 documentation will result in error Unrecognized element 'LevelDefinition'

Solution

The .config and online documentation provides an improper tag 'LevelDefinitin' resulting in the error on service start. To resolve use the proper tag 'Level'

 View Change Requests

<LevelDefinitions>
<Level levelNumber="0" bufferSize="128"/>
</LevelDefinitions>

 

This documentation will be updated in further releases to reflect correct tag usage.

Contributors