| | 48 | <p> |
|---|
| | 49 | It is possible to configure a WMS Service conforming to a WMS-C cache by |
|---|
| | 50 | specifying a number of overviews and specifying the 'block size' as the |
|---|
| | 51 | tile size of the cache. The following example is a sample set up for |
|---|
| | 52 | a 19-level "Global Profile" WMS-C cache: |
|---|
| | 53 | </p> |
|---|
| | 54 | <pre> |
|---|
| | 55 | <GDAL_WMS> |
|---|
| | 56 | <Service name="WMS"> |
|---|
| | 57 | <Version>1</Version> |
|---|
| | 58 | <ServerUrl>http://labs.metacarta.com/wms-c/Basic.py?</ServerUrl> |
|---|
| | 59 | <Layers>basic</Layers> |
|---|
| | 60 | </Service> |
|---|
| | 61 | <DataWindow> |
|---|
| | 62 | <UpperLeftX>-180.0</UpperLeftX> |
|---|
| | 63 | <UpperLeftY>90.0</UpperLeftY> |
|---|
| | 64 | <LowerRightX>180.0</LowerRightX> |
|---|
| | 65 | <LowerRightY>-90.0</LowerRightY> |
|---|
| | 66 | <SizeX>268435456</SizeX> |
|---|
| | 67 | <SizeY>134217728</SizeY> |
|---|
| | 68 | <TileLevel>19</TileLevel> |
|---|
| | 69 | </DataWindow> |
|---|
| | 70 | <Projection>EPSG:4326</Projection> |
|---|
| | 71 | <OverviewCount>19</OverviewCount> |
|---|
| | 72 | <BlockSizeX>256</BlockSizeX> |
|---|
| | 73 | <BlockSizeY>256</BlockSizeY> |
|---|
| | 74 | <BandsCount>3</BandsCount> |
|---|
| | 75 | </GDAL_WMS> |
|---|
| | 76 | </pre> |
|---|
| | 77 | |
|---|
| | 78 | <h2>TileService</h2> |
|---|
| | 79 | <p> |
|---|
| | 80 | TileService is a specific type of request format used by WorldWind. |
|---|
| | 81 | It is described as being "a bunch of PHP scripts used to serve image data to |
|---|
| | 82 | World Wind, GDAL and some other software." |
|---|
| | 83 | </p> |
|---|
| | 84 | <p>Example TileService Configuration:</p> |
|---|
| | 85 | <pre> |
|---|
| | 86 | <GDAL_WMS> |
|---|
| | 87 | <Service name="TileService"> |
|---|
| | 88 | <Version>1</Version> |
|---|
| | 89 | <ServerUrl>http://s0.tileservice.worldwindcentral.com/getTile?</ServerUrl> |
|---|
| | 90 | <Dataset>za.johannesburg_2006_20cm</Dataset> |
|---|
| | 91 | </Service> |
|---|
| | 92 | <DataWindow> |
|---|
| | 93 | <UpperLeftX>-180.0</UpperLeftX> |
|---|
| | 94 | <UpperLeftY>90.0</UpperLeftY> |
|---|
| | 95 | <LowerRightX>180.0</LowerRightX> |
|---|
| | 96 | <LowerRightY>-90.0</LowerRightY> |
|---|
| | 97 | <SizeX>268435456</SizeX> |
|---|
| | 98 | <SizeY>134217728</SizeY> |
|---|
| | 99 | <TileLevel>19</TileLevel> |
|---|
| | 100 | </DataWindow> |
|---|
| | 101 | <Projection>EPSG:4326</Projection> |
|---|
| | 102 | <OverviewCount>16</OverviewCount> |
|---|
| | 103 | <BlockSizeX>512</BlockSizeX> |
|---|
| | 104 | <BlockSizeY>512</BlockSizeY> |
|---|
| | 105 | <BandsCount>3</BandsCount> |
|---|
| | 106 | </GDAL_WMS> |
|---|
| | 107 | </pre> |
|---|