Yup, I implemented the mosaic support and that is code that I am not
familiar with so not surprised there are issues with the implementation. I
cobbled it together based on the docs and code samples i could find.
Improvements very welcome, I'll delegate to you and the mosaic experts as
to what is appropriate.
On Sun, Jan 12, 2014 at 6:54 AM, carlo cancellieri <
[email protected]> wrote:
>
> 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
>
>
--
*Justin Deoliveira*
Vice President, Engineering | Boundless
[email protected]
@j_deolive <https://twitter.com/j_deolive>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel