Andrea,

> Interesting, that might be useful. So the mosaic code would regenerate
the sample image only?
> That one is mandatory, it's used by the mosaic code to figure out color
and sample model for the mosaic without the overhead
> of opening a full granule.

Yes, the mosaic engine will use the shapefile (or the store referred by an
optional datastore.properties) to create the mosaic generating the
sample_image and the MOSAIC.properties files. You may found some test cade
about this feature using h2 db into the mosaic test code.
Note that this improvement is on 2.5.x don't think that was ported on the
2.4.x.

Carlo

>
>>
>> > * the mosaic reader looks at the directory, finds the mandatory
sample_image file is missing,
>> >   assumes the mosaic is uninitialized and overwrites both the property
and the shapefile
>> >
>> > Now.. I guess the mosaic logic could be modified to just generate
what's missing,
>> > but I don't get why so much code was written to duplicate the usual
mosaic behavior
>> > when one just has to setup the property collector files and let the
auto-generator work with it.
>>
>> You are talking about the test code right?
>
>
> Unfortunately no, it's the main importer code that duplicates the mosaic
internal machinery
> (a completely independent implementation, that covers only part of the
functionality provided
> by the original one).
>
> Cheers
> Andrea
>
> --
> == Our support, Your Success! Visit http://opensdi.geo-solutions.it 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
>
> -------------------------------------------------------
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to