So right now I don’t really have a working mapfile and am waiting on some guidance from the mapserver folks: https://lists.osgeo.org/pipermail/mapserver-users/2019-December/081517.html
The main issues (besides my lack of experience with mapserver and tiledb) I have are that the data I want to serve is in a non-EPSG projection and I would like to avoid resampling it. The other issue is not knowing what’s possible by pointing to a TileDB backend. I liked what I saw from TileDB and where it seems TileDB is going so wanted to try it out. The other is really not understanding if or how mapserver supports updating data sources in the time dimension (wms_timeextent
).
I based what I have so far on the existing example on the tiledb docs:
LAYER
NAME "goes16_fldk_true_color"
TYPE RASTER
DATA "/data/goes16_fldk_true_color"
OFFSITE 0 0 0
PROJECTION
# "+proj=geos +sweep=x +lon_0=-75 +h=35786023 +x_0=0 +y_0=0 +ellps=GRS80 +units=m +no_defs"
AUTO
END
METADATA
"wms_title" "CSPP Geo Geo2Grid GOES-16 Full Disk True Color"
"wms_timeextent" "2019-01-01/2021-01-01"
#"wms_timedefault" "2019-05-01 10:11:12"
"wms_timeitem" "TIFFTAG_DATETIME"
"wms_enable_request" "*"
END
FILTER (`[TIFFTAG_DATETIME]`=`2019-02-01 01:02:03`)
END
If I have to make a shapefile to specify the time indexing then that’s too bad but I understand. I wonder if the TileDB GDAL driver could be updated/changed (if needed) to filter queries by dimension (like time or elevation) like PostGIS can (from what I’ve read).