| | 5 | Primary goal of the project is to allow remote access to geospatial image data using WMS protocol. The driver will be compatible at least with version 1.3.0, 1.1.1 and 1.1.0 specifications. |
| | 6 | Secondary goal is to allow remote access using other WMS-like or tile protocols including WMS-C, TMS, TileService. |
| | 7 | |
| | 8 | === Details === |
| | 9 | * server address and parameters via xml file and embedded in dataset name |
| | 10 | * complete information in xml file |
| | 11 | * example1.xml |
| | 12 | {{{ |
| | 13 | <GDAL_WMS_Driver> |
| | 14 | <Service name="WMS"> |
| | 15 | <Version>1.3.0</Version> |
| | 16 | <ServerUrl>http://127.0.0.1/mapserv.cgi</ServerUrl> |
| | 17 | <CRS>CRS:83</CRS> |
| | 18 | <ImageFormat>image/png</ImageFormat> |
| | 19 | <Layers>layer1,layer2</Layers> |
| | 20 | <Styles>style1,style2</Styles> |
| | 21 | <DataWindow> |
| | 22 | <MinX>-180.0</MinX> |
| | 23 | <MaxX>180.0</MaxX> |
| | 24 | <MinY>-90.0</MinY> |
| | 25 | <MaxY>90.0</MaxY> |
| | 26 | <ResolutionX>0.01</ResolutionX> |
| | 27 | <ResolutionY>0.01</ResolutionY> |
| | 28 | </DataWindow> |
| | 29 | <DataAccess type="tiled"> |
| | 30 | <TileSizeX>256</TileSizeX> |
| | 31 | <TileSizeY>256</TileSizeY> |
| | 32 | </DataAccess> |
| | 33 | </Service> |
| | 34 | <Cache> |
| | 35 | <Path>/tmp/example1_cache</Path> |
| | 36 | </Cache> |
| | 37 | </GDAL_WMS_Driver> |
| | 38 | }}} |
| | 39 | * dataset name |
| | 40 | {{{ |
| | 41 | WMS:example1.xml |
| | 42 | }}} |
| | 43 | * minimal information in xml file (other values extracted from GetCapabilities response / defaults) |
| | 44 | * example2.xml |
| | 45 | {{{ |
| | 46 | <GDAL_WMS_Driver> |
| | 47 | <Service name="WMS"> |
| | 48 | <ServerUrl>http://127.0.0.1/mapserv.cgi</ServerUrl> |
| | 49 | <Layers>layer1,layer2</Layers> |
| | 50 | </Service> |
| | 51 | </GDAL_WMS_Driver> |
| | 52 | }}} |
| | 53 | * dataset name |
| | 54 | {{{ |
| | 55 | WMS:example2.xml |
| | 56 | }}} |
| | 57 | * minimal information in xml file, layers selection in dataset name |
| | 58 | * example3.xml |
| | 59 | {{{ |
| | 60 | <GDAL_WMS_Driver> |
| | 61 | <Service name="WMS"> |
| | 62 | <ServerUrl>http://127.0.0.1/mapserv.cgi</ServerUrl> |
| | 63 | </Service> |
| | 64 | </GDAL_WMS_Driver> |
| | 65 | }}} |
| | 66 | * dataset name |
| | 67 | {{{ |
| | 68 | WMS:example3.xml:Service,Layers=layer1,layer2,layer3 |
| | 69 | }}} |
| | 70 | |
| | 71 | * issue and parse GetCapabilities requests |
| | 72 | * provide simplified human-readable version for gdalinfo |
| | 73 | * store layer/style name, description, legend url, etc. in GDAL dataset meta-data fields |
| | 74 | |
| | 75 | === External links === |
| | 76 | * [http://www.opengeospatial.org/standards/wms#downloads OGC WMS Specification] |
| | 77 | |
| | 78 | === People === |
| | 79 | * Adam Nowacki (student) |
| | 80 | * email nowak@xpam.de |
| | 81 | * talk using irc.freenode.net, channel #gdal, nick Nowak |
| | 82 | * Daniel Morissette (mentor) |