Changes between Version 10 and Version 11 of SoCWMSDriver


Ignore:
Timestamp:
Jul 16, 2007, 9:00:41 AM (17 years ago)
Author:
nowakpl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SoCWMSDriver

    v10 v11  
    5050        };
    5151}}}
    52 ===Dataset open===
     52=== Dataset open ===
    5353 1. open, verify and read XML configuration file into CPL MiniXML tree
    5454 2. update XML tree with arguments specified in dataset name
    5555 3. create instance of mini-driver and pass in the XML tree
    56 ===Dataset image request===
     56=== Dataset image request ===
    5757 1. validate the request
    5858 2. check if request can be satisfied from block cache only and return the data to user if possible
     
    6161 5. update block cache wherever possible (resolution match, complete coverage)
    6262 6. return the data to user
    63 ===Download cache===
     63=== Download cache ===
    6464If enabled in XML configuration file and allowed by mini-driver, downloaded images will be written to disk for future use. This should reduce load on the WMS server or even allow off-line operation.
    6565HTTP download queue
    6666Download queue is implemented using libcurl (http://curl.haxx.se/libcurl/), running in dedicated background thread to allow data preloading (AdviseRead or guessed). Can be configured to use HTTP pipelining and multiple connections.
    67 ===XML configuration file===
     67=== XML configuration file ===
    6868{{{
    6969        <GDALWMS>
     
    129129        </Cache>
    130130}}}
    131 ===Mini-driver===
     131=== Mini-driver ===
    132132'''Image download request''', filled in by mini-driver and returned to interface layer.
    133133{{{
     
    183183}}}
    184184
    185 ===Planned mini-drivers===
     185=== Planned mini-drivers ===
    186186 * OGC WMS (http://www.opengeospatial.org/standards/wms)
    187187 * TMS (http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification)
     
    190190 * World Wind tiled datasets, both remote http and local file versions (http://issues.worldwind.arc.nasa.gov/confluence/download/attachments/394/world+wind+tile+systemt.gif)
    191191 * TileService (no docs, similar to World Wind, example http://s0.tileservice.worldwindcentral.com/getTile?interface=map&version=1&dataset=bmng.topo.bathy.200401&level=0&x=0&y=0)
    192 ===OGC WMS mini-driver===
    193 The driver will not issue GetCapabilities requests, all information has to be stored in XML configuration file. Small utility program will be provided (probably a script) to handle GetCapabilities requests and write configuration file.
    194 Arbitrary overviews handled by WMS server.
    195 Custom arguments in server URL (for example WMS Time)
    196 Many download patterns:
    197  1. one download (light green) per image request (dark green), partial block cache (gray), disk cache not allowed
    198  2. one download per image request, extended to block cache grid, disk cache not allowed
    199  3. many downloads per image request (tiled), full block cache, disk cache allowed
     192=== OGC WMS mini-driver ===
     193 * The driver will not issue GetCapabilities requests, all information has to be stored in XML configuration file.
     194 * Small utility program will be provided (probably a script) to handle GetCapabilities requests and write configuration file.
     195 * Arbitrary overviews handled by WMS server.
     196 * Custom arguments in server URL (for example WMS Time)
     197 * Many download patterns:
     198  1. one download (light green) per image request (dark green), partial block cache (gray), disk cache not allowed
     199  2. one download per image request, extended to block cache grid, disk cache not allowed
     200  3. many downloads per image request (tiled), full block cache, disk cache allowed
    200201'''OGC WMS mini-driver configuration'''
    201202{{{
     
    212213        </DataSource>
    213214}}}
    214 ===Example mini-driver implementation===
     215=== Example mini-driver implementation ===
    215216Mini-driver for a WMS-like service with requests in format:
    216217http://server/file?width=...&height=...&bbox=...