Hi,
Is it possible to create a database index on one of the columns in a schema
being defined via indexer.xml and _auxiliary.xml when creating an ImageMosaic
store?
Let's use an example from the docs....say we wanted to create a database index
on "updated" is there a way to define that in the config below?
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Indexer>
<domains>
<domain name="time">
<attributes><attribute>time</attribute></attributes>
</domain>
<domain name="elevation">
<attributes><attribute>elevation</attribute></attributes>
</domain>
<domain name="fileDate">
<attributes><attribute
ref="fileDateCollector">fileDate</attribute></attributes>
</domain>
<domain name="updated">
<attributes><attribute
ref="updatedCollector">updated</attribute></attributes>
</domain>
</domains>
<schemas>
<schema name="default">
<attributes>the_geom:Polygon,location:String,imageindex:Integer,time:java.util.Date,elevation:Double,fileDate:java.util.Date,updated:java.util.Date</attributes>
</schema>
</schemas>
<coverages>
<coverage>
<name>V</name>
<schema ref="default"></schema>
<domains>
<domain ref="time" />
<domain ref="elevation" />
<domain ref="fileDate" />
<domain ref="updated" />
</domains>
</coverage>
<coverage>
<name>O3</name>
<schema ref="default" />
<domains>
<domain ref="time" />
<domain ref="elevation" />
<domain ref="fileDate" />
<domain ref="updated" />
</domains>
</coverage>
<coverage>
<name>NO2</name>
<schema ref="default" />
<domains>
<domain ref="time" />
<domain ref="elevation" />
<domain ref="fileDate" />
<domain ref="updated" />
</domains>
</coverage>
</coverages>
<collectors>
<collector name="fileDateCollector">
<value>[0-9]{8}</value>
<spi>TimestampFileNameExtractorSPI</spi>
<mapped>fileDate</mapped>
</collector>
<collector name="updatedCollector">
<value>MODIFY_TIME</value>
<spi>RuntimeExtractorSPI</spi>
<mapped>updated</mapped>
</collector>
</collectors>
<parameters>
<parameter name="AuxiliaryFile" value="polyphemus-test.xml" />
<parameter name="AbsolutePath" value="true" />
</parameters>
</Indexer>
thanks,
Marc
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users