Are Dimensions/Attributes Other Than Time and Elevation Possible

المشرف العام

Administrator
طاقم الإدارة
I have Time Dimension Working with an Image Mosaic layer. Is it possible to add dimensions other than time/elevation? For example the files in my mosaic are named as follows where rtma or pris represents a "climate" attribute:

pristmax_20150115.tifpristmax_20150115.tifrtmatmax_20150116.tifrtmatmax_20150116.tifIn my mosaic directory, I now have two regex property files (one for time dimension and one for climatesource dimension):

timeregex.properties containing regex=[0-9]{8}climateregex.properties containing regex=^.{4}I modified my indexer.properties property file look like so:

TimeAttribute=ingestionClimateAttribute=climatesourceSchema=*the_geom:polygon,location:String,ingestion:java.util.Date,climatesource:StringPropertyCollectors=TimestampFileNameExtractorSPI[timeregex](ingestion),StringFileNameExtractorSPI[climateregex](climatesource)I also tried modifying postgis_rasters.properties to have a ClimateAttribute:

#-Automagically created from GeoTools-#Wed Nov 25 13:16:00 MST 2015Levels=0.026578191679850746,0.026578191679850746Heterogeneous=falseTimeAttribute=ingestionClimateAttribute=climatesourceAbsolutePath=falseName=postgis_rastersTypeName=postgis_rastersCaching=falseExpandToRGB=falseLocationAttribute=locationSuggestedSPI=it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReaderSpiCheckAuxiliaryMetadata=falseLevelsNum=1Geoserver created a table in Postgis as expected:

1 | 0103... | rtmatmax_20150115.tif | 2015-01-14 17:00:00.000000 | rtma2 | 0103... | pristmax_20150115.tif | 2015-01-14 17:00:00.000000 | prisBut using &climate=rtma or &climate=pris in my url doesn't effect which raster is retrieved, whereas &time=2015-01-14 or &time=2015-01-15 selects the raster from that day. How can I get the climate attribute to function?



أكثر...
 
أعلى