On Sat, Jul 26, 2014 at 2:14 AM, Stephen Brooke <sbro...@mdacorporation.com>
wrote:

>
> What specific GeoTools tests are the ones that show how exactly to add
> “whatever extra attributes you want” to an ImageMosaic coverage?
>
> From geotools source the list of ImageMosaic tests is as follows:
>

If you look at how a mosaic is build, you'll see that a vector table is
built with the paths of the mosaic tiles and
their footprint. Any attribute associated in that same row is a "whatever
extra attribute you want" that you
can query with cql filter.

You have the option of setting up the table yourself, or have the image
mosaic fill the basic structure for you
and then add attributes your way, or you can setup property collectors to
gather attribute from the file names,
like in these examples:
https://github.com/geotools/geotools/tree/master/modules/plugin/imagemosaic/src/test/resources/org/geotools/gce/imagemosaic/test-data/time_additionaldomains
https://github.com/geotools/geotools/tree/master/modules/plugin/imagemosaic/src/test/resources/org/geotools/gce/imagemosaic/test-data/time_domainsRanges

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to