Showing results for 
Search instead for 
Do you mean 

How to extend TileMatrixSet for Apollo essential GeoServices

by Technical Evangelist on ‎02-12-2020 02:17 PM (32 Views)

If user want to have a configuration that has tiling beyond level 19 (e.g., down to level 25), user can customize esriTileMatrixSetsInfo.xml configuration. Assume user has such image with high enough resolution to support this level of detail.

 

APOLLO GeoServices generates tiles on demand so any zoom level can be advertised even if the output images are below native resolution. You can create a custom tilematrix similar to WMTS by modifying C:\Program Files\Hexagon\ERDAS APOLLO\config\esriTileMatrixSetsInfo.xml.


Create a new entry, you can use the WMTS definitions (wmtsTileMatrixSetsInfo.xml) as a guide. The following new tilematrix configuration "ESRICompatibleExt" included 26 levels, but if user want 23 just multiply the "MaxResWorldPixelSize" value by 3 times.

 

 

<TileMatrixSet ID="ESRICompatibleExt" Alias ="">
 <!--Demonstrate the use of power of 2 pyramid and world pixel size on max resolution level and total number of levels to specify a scale set.-->
 <ScaleSet CoordRefSys="epsg:3857">
 <Pyramid MaxResWorldPixelSize="4.665345964671E-03" TotalLevels="26"/>
 </ScaleSet>
 <ShowLocalBBox>false</ShowLocalBBox>
 <Tops>2.003750834279E7</Tops>
 <Lefts>-2.003750834279E7</Lefts>
 <TileWidths>256</TileWidths>
 <TileHeights>256</TileHeights>
 <MatrixWidths>1</MatrixWidths>
 <MatrixHeights>1</MatrixHeights>
</TileMatrixSet>

 

 


After adding new entry to esriTileMatrixSetsInfo.xml, user need to recycle "ERDAS APOLLO Essential" application pool. Now the new TileMatrixSet "ESRICompatibleExt" should be populated for GeoServices:

geoservices.png

 

User can click "GeoServices" and go to "http://localhost/erdas-iws/esri/rest/services/", find the specific layer, and check the Level ID from Map Info:

geoservices2.png

 

NOTE: Unlike WMTS, Geoservices only supports one tilematrix so if you need more than one you must duplicate the layer.

Contributors