[gdal-dev] IIP: unable to translate if handled by openseadragon

Carlo A. Bertelli (Charta s.r.l.) bertelli at chartasrl.eu
Tue Sep 3 14:23:07 PDT 2024


Hello,
I tried to use GDAL to translate an iIIF image:
https://ianua.arianna4.cloud/patrimonio/1ec6a87e-c5ff-4156-a495-9e08f399a6ba/16-carta-topografica-del-territorio-di-serravalle-%5B1804-set-22%5D

OpenSeaDragon disables the direct link to the tiles, substituting it with
an indirect connection to the image server:
https://asge.jarvis.memooria.org/images/iiif/db/d4eca4e9-d5e9-4db7-9586-9ec0ff49d8c4/0,0,2048,2048/256,256/0/default.jpg

I couldn't manage to get something out of it with the IIP WMS micro-driver.

A hint, suggested by the documentation of OpenSeaDragon, led me to:
https://asge.jarvis.memooria.org/images/iiif/db/d4eca4e9-d5e9-4db7-9586-9ec0ff49d8c4/info.json
which is informative:

{
  "@context" : "http://iiif.io/api/image/3/context.json",
  "protocol" : "http://iiif.io/api/image",
  "width" : 8721,
  "height" : 13120,
  "sizes" : [
     { "width" : 136, "height" : 205 },
     { "width" : 272, "height" : 410 },
     { "width" : 545, "height" : 820 },
     { "width" : 1090, "height" : 1640 },
     { "width" : 2180, "height" : 3280 },
     { "width" : 4360, "height" : 6560 }
  ],
  "tiles" : [
     { "width" : 256, "height" : 256, "scaleFactors" : [ 1, 2, 4, 8,
16, 32, 64 ] }
  ],
  "id" : "https://asge.jarvis.memooria.org/images/iiif/db/d4eca4e9-d5e9-4db7-9586-9ec0ff49d8c4",
  "type": "ImageService3",
  "profile" : "level1",
  "maxWidth" : 8000,
  "maxHeight" : 8000,
  "extraQualities": ["color","gray","bitonal"],
  "extraFeatures":
["regionByPct","sizeByForcedWh","sizeByWh","sizeAboveFull","sizeUpscaling","rotationBy90s","mirroring"],
  "service": [
    {
      "@context": "http://iiif.io/api/annex/services/physdim/1/context.json",
      "profile": "http://iiif.io/api/annex/services/physdim",
      "physicalScale": 0.1,
      "physicalUnits": "cm"
    }
  ]

}

But I couldn't go further.

TIA for any help
c

-- 
--------------------------------------------------------------------------
Carlo A. Bertelli
   Charta servizi e sistemi per il territorio e la storia ambientale srl
          Dipendenze del palazzo Doria,
          vc. alla Chiesa della Maddalena 9/2 16124      Genova (Italy)
          tel./fax +39(0)10 2475439  +39 0108566195  mobile:+39 393 1590711
   e-mail: bertelli at chartasrl.eu      http://www.chartasrl.eu
--------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240903/49cb7d65/attachment.htm>


More information about the gdal-dev mailing list