Suspect cache?

854
4
01-21-2022 02:09 AM
GWaltersOZ
New Contributor III

Hi all,

I am hoping you can tell what might have caused this look? As I zoom in cache levels are available but not all there. 

GWaltersOZ_0-1642759580451.png

This is a tile image (single image). I uploaded a Tiff (see below in ArcGIS PRo)

GWaltersOZ_1-1642759698455.png

 

Is this a case of simply republish or something more sinister?

Thanks in advance,

Gareth

 

 

Tags (1)
0 Kudos
4 Replies
David_Brooks
MVP Regular Contributor

@GWaltersOZ so did you share the Tiff to AGOL in Pro using "Share as Web Layer"? Assuming you defined the cache correctly at the point of sharing in Pro, setting a range of cache levels, then the TPK should upload to AGOL and begin building the hosted cache.

David_Brooks_0-1642762278300.png

If you didn't set the tiling scheme to match agols standard scheme, then it wont display properly in AGOL if you add it in as a layer, as the zoom levels wont match the tiling scheme of the basemap. If that's the problem, you can confirm this by adding your tiff tile layer as a basemap into the new map viewer:

David_Brooks_1-1642762548172.png

 

If that hasn't worked, then you can check if the cache has completed building by inspecting it in the settings of the hosted tile layer:

David_Brooks_2-1642762676442.png

All the tiles should have completed before they'll display correctly.


David
..Maps with no limits..
JeffreySwain
Esri Regular Contributor

Hey Gareth, 

So to recap, you published the image via ArcGIS Image for ArcGIS Online? If so what can you indicate if tiled/dynamic and which layer configuration you chose? Or indicate what method you used to publish it? Also what do you mean 'they are all available, but not there.' Are you talking about overviews not being published?

0 Kudos
GWaltersOZ
New Contributor III

Hi @JeffreySwain, thank you for your response. This was my attempt at making a tiled layer via the ArcGIS Online interface.

I went with something simple to begin with and below I have copied the json for you to look at. I did manage to create a dynamic imagery service of the image and am now currently publishing that to a tiled service.

When I said 'they are all available, but not there.' I meant that the tiles were not visibile, as you could see from the original screenshot, but as I zoomed in different layers had been rendered.

 

{
  "currentVersion" : 10.81, 
  "name" : "WarburtonClip", 
  "serviceDescription" : "", 
  "description" : "", 
  "type" : "ImageServer", 
  "capabilities" : "Image,TilesOnly", 
  "copyrightText" : "", 
  "serviceItemId" : "", 
  "server" : "4tSb2ckxLuMgd7le", 
  "created" : null, 
  "modified" : null, 
  "status" : "created", 
  "access" : "SECURE", 
  "allowAnalysis" : true, 
  "allowCopy" : false, 
  "spatialReference" : {
    "wkid" : 7852, 
    "latestWkid" : 7852
  }, 
  "extent" : {
    "xmin" : 247824.3, 
    "ymin" : 7103635.8, 
    "xmax" : 259079.53071080663, 
    "ymax" : 7109912.1055984944, 
    "spatialReference" : {
      "wkid" : 7852, 
      "latestWkid" : 7852
    }
  }, 
  "initialExtent" : {
    "xmin" : 247824.3, 
    "ymin" : 7103635.8, 
    "xmax" : 259079.53071080663, 
    "ymax" : 7109912.1055984944, 
    "spatialReference" : {
      "wkid" : 7852, 
      "latestWkid" : 7852
    }
  }, 
  "fullExtent" : {
    "xmin" : 247824.3, 
    "ymin" : 7103635.8, 
    "xmax" : 259079.53071080663, 
    "ymax" : 7109912.1055984944, 
    "spatialReference" : {
      "wkid" : 7852, 
      "latestWkid" : 7852
    }
  }, 
  "datasetFormat" : "Cache/LERC2D", 
  "compressionType" : "LERC", 
  "uncompressedSize" : 28256906808, 
  "pixelSizeX" : 0.099998495929123937, 
  "pixelSizeY" : 0.099998495929123826, 
  "blockWidth" : 256, 
  "blockHeight" : 256, 
  "bandCount" : 4, 
  "bandNames" : [
    "Band_1", 
    "Band_2", 
    "Band_3", 
    "Band_4"
  ], 
  "pixelType" : "U8", 
  "minPixelSize" : 0.099998495929123826, 
  "maxPixelSize" : 25.5996149578557, 
  "minScale" : 96754.256725514773, 
  "maxScale" : 377.94631533404208, 
  "serviceDataType" : "esriImageServiceDataTypeGeneric", 
  "noDataValue" : 255, 
  "noDataValues" : [
    255, 
    255, 
    255, 
    255
  ], 
  "minValues" : [
    0, 0, 0, 222
  ], 
  "maxValues" : [
    254, 254, 254, 254
  ], 
  "meanValues" : [
    173.561732418858, 125.40593482242753, 90.246434780468491, 253.074727482525
  ], 
  "stdvValues" : [
    31.33985391139894, 22.388075201311967, 19.655610556704815, 1.0859981743196756
  ], 
  "objectIdField" : "", 
  "fields" : [
    
  ], 
  "defaultMosaicMethod" : "", 
  "allowedMosaicMethods" : "", 
  "sortField" : "", 
  "sortValue" : null, 
  "sortAscending" : true, 
  "singleFusedMapCache" : true, 
  "tileInfo" : {
    "rows" : 256, 
    "cols" : 256, 
    "dpi" : 96, 
    "preciseDpi" : 96, 
    "format" : "LERC2D", 
    "storageFormat" : "esriMapCacheStorageModeCompactV2", 
    "packetSize" : 16, 
    "compressionQuality" : 0, 
    "antialiasing" : false, 
    "origin" : {
      "x" : 247824.3, 
      "y" : 7109912.1055984953
    }, 
    "spatialReference" : {
      "wkid" : 7852, 
      "latestWkid" : 7852
    }, 
    "lods" : [{
        "level" : 0, 
        "resolution" : 25.5996149578557, 
        "scale" : 96754.256725514773
      }, 
      {
        "level" : 1, 
        "resolution" : 12.79980747892785, 
        "scale" : 48377.128362757387
      }, 
      {
        "level" : 2, 
        "resolution" : 6.3999037394639249, 
        "scale" : 24188.564181378693
      }, 
      {
        "level" : 3, 
        "resolution" : 3.1999518697319624, 
        "scale" : 12094.282090689348
      }, 
      {
        "level" : 4, 
        "resolution" : 1.5999759348659812, 
        "scale" : 6047.1410453446733
      }, 
      {
        "level" : 5, 
        "resolution" : 0.79998796743299061, 
        "scale" : 3023.5705226723367
      }, 
      {
        "level" : 6, 
        "resolution" : 0.3999939837164953, 
        "scale" : 1511.7852613361683
      }, 
      {
        "level" : 7, 
        "resolution" : 0.19999699185824765, 
        "scale" : 755.89263066808417
      }, 
      {
        "level" : 8, 
        "resolution" : 0.099998495929123826, 
        "scale" : 377.94631533404208
      }
    ]
  }, 
  "cacheType" : "Raster", 
  "allowRasterFunction" : false, 
  "hasHistograms" : true, 
  "hasColormap" : false, 
  "hasRasterAttributeTable" : false, 
  "exportTilesAllowed" : false, 
  "maxExportTilesCount" : 100000, 
  "hasMultidimensions" : false
}

 

0 Kudos
JeffreySwain
Esri Regular Contributor

Thanks for the JSON. Ok so you created a Dynamic Imagery layer via ArcGIS Image for ArcGIS Online and then turning that into a tiled service that doesn't display at all zoom levels. I am curious about your workflow.  Why are you creating the tiled cache on a imagery layer? Is there a particular workflow you are looking to use?  The imagery layer is designed to be available to you in any online application ( Map Viewer - ArcGIS Online), App (Field Maps,Survey123, etc) , or desktop application (ArcMap, ArcGIS Pro). If you are chasing performance perhaps a Tiled Imagery layer will meet those needs. 

0 Kudos