Closed etj closed 11 years ago
The configuration:
<ImageMosaicActionConfiguration>
...
<DomainAttribute>
<dimensionName>time</dimensionName>
<regEx>.*</regEx>
</DomainAttribute>
<DomainAttribute>
<dimensionName>elevation</dimensionName>
<attribName>minz</attribName>
<regEx>.*</regEx>
<endRangeAttribName>maxz</endRangeAttribName>
<endRangeRegEx>.*</endRangeRegEx>
<type>DOUBLE</type>
</DomainAttribute>
<DomainAttribute>
<dimensionName>date</dimensionName>
<regEx>regexDATE</regEx>
<type>STRING</type>
</DomainAttribute>
<DomainAttribute>
<dimensionName>wavelenght</dimensionName>
<attribName>loww</attribName>
<regEx>...regexLO...</regEx>
<endRangeAttribName>highw</endRangeAttribName>
<endRangeRegEx>...regexHI...</endRangeRegEx>
<type>DOUBLE</type>
</DomainAttribute>
</ImageMosaicActionConfiguration>
will generate this indexer file:
TimeAttribute=time
ElevationAttribute=minz;maxz
AdditionalDomainAttributes=date,wavelenght(loww;highw)
Schema=*the_geom:Polygon,location:String,time:java.util.Date,minz:Double,maxz:Double,date:String,loww:Double,highw:Double
PropertyCollectors=TimestampFileNameExtractorSPI[timeregex](time);DoubleFileNameExtractorSPI[minzregex](minz)DoubleFileNameExtractorSPI[maxzregex](maxz);StringFileNameExtractorSPI[dateregex](date);DoubleFileNameExtractorSPI[lowwregex](loww)DoubleFileNameExtractorSPI[highwregex](highw)
and the related regex property files.
Old configuration will be read, parsed and translated. The log will show a warning asking to update the configuration files.
Ranges dimensions in mosaic are supported in GT10 and GS24x
ImageMosaicAction should be able to support ranged dimension for time, elevation and custom attribs.
Here's a sample
indexer
file: