Create Time Enabled Image Service

331
2
11-18-2024 01:21 AM
Labels (1)
AlessioDiLorenzo
Regular Contributor

Hello everyone,

I have a folder of raster files in TIFF format on my computer's disk. I want to use Python APIs to create a time series, upload it to ArcGIS Online (I have an Image license, of course), and publish the dataset as a public ImageService, specifically a tiled image service.

Important detail: when I have a new raster (we produce one every week), I want to update the dataset, always via Python, by adding the latest data without overwriting the entire collection.

I couldn't figure out if this is possible and, if so, how I should proceed.

Thanks!

0 Kudos
2 Replies
AlessioDi_Lorenzo1
Occasional Contributor

I described the workflow here, with screenshots and code.

https://community.esri.com/t5/arcgis-image-for-arcgis-online-questions/add-attributes-to-image-colle...

@JeffreySwain please, tell me what's wrong. I followed the steps you described in your 2022 answer. Something changed in the meantime? I'm able to create the hosted collection but the attribute table of the mosaic dataset I'm using is not uploaded on AGOL so the resulting collection is not time enabled

0 Kudos
kaander08
Emerging Contributor

I have been working on a similar workflow. Currently, I convert all tiff files to netcdf files, add a time dimension  to each, and then combine them all into one netcdf file. You can add a new image to the same nc file weekly. I use GDAL for this workflow.  As for uploading it to ArcGIS Online, it is not possible to add images to a previous image service or to overwrite a previous image service, so a new one would have to be created weekly. 

0 Kudos