Changes between Version 1 and Version 2 of SoCTMSDriver


Ignore:
Timestamp:
Mar 26, 2008, 10:13:00 AM (16 years ago)
Author:
keo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SoCTMSDriver

    v1 v2  
    2323== Work plan ==
    2424
    25 The work is divided into several steps. First two are essential, all others
     25The work is divided into several steps. First three are essential, all others
    2626are optional.
    2727
     
    3636to the way the WMS driver works.
    3737
    38 Although the tiled map has several zooming levels, only the lowest one will be used.
    39 `IReadBlock` requests will be handled by loading data from the files representing
    40 the selected area using existing PNG driver.
     38`RasterIO` method will determine the appropriate zooming level from which to get the tiles
     39so that their number won't be too big (e.g. 9 at most). `GetBlockSize` will report the size
     40as the dimensions of one tile and `GetXSize` and `GetYSize` will report the size of the map
     41on the lowest zooming level.
    4142
    42 === Write driver ===
     43=== Write driver with `CreateCopy` ===
    4344
    44 Next on plan is the writing part. The driver will support the
     45Next on plan is the writing part. The driver will at first support the
    4546`CreateCopy` method returning the created dataset as `ReadOnly` (implemented in previous step).
    46 This will allow to export existing datasets in tiled format. Creation options will include
    47 the dimensions of tiles, number of zooming levels and the zooming ratio between them.
     47Creation options will include the dimensions of tiles, number of zooming levels and the zooming
     48ratio between them.
    4849
    49 Implementing `Create` method and `Update` mode dataset is questionable.
    50 The PNG driver has this mode controlled by compile time option, so the
    51 TMS driver would have to do the same. Even then, the PNG driver imposes some
    52 restrictions on the calling side: ''"Note: callers must provide blocks in increasing Y order."'',
    53 from `pngdataset.cpp`. This would translate to the TMS driver itself and its users too.
    54 JPEG drivers have `CreateCopy` method only.
     50=== Write driver with `Create` ===
     51
     52In this step the driver will also feature the `Create` method and `Update` mode datasets.
     53Upon writing, the `RasterIO` method will load all affected tiles from all zooming levels
     54into memory, perform the write operation and then write the tiles back to file system.
     55
    5556
    5657=== Performance tuning ===