Hi Dries,
not sure about how much work is required to let your reader work inside the
current imageMosaic. I should take a look to both your code and the
imageMosaic together.
However, these days I'm heavily busy with some priority works so I can't
give you a quick answer although the integration with your code would be
very interesting.
Cheers,
Daniele
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
On Wed, Aug 7, 2013 at 11:17 AM, Andrea Aime
<[email protected]>wrote:
> On Wed, Aug 7, 2013 at 10:46 AM, Dries Jeroen <[email protected]>wrote:
>
>> Hi Andrea,
>>
>>
>>
>> thanks, I tested using a single image and I indeed see the coverage names
>> that are returned by that method in geoserver.
>>
>>
>>
>> Do you think it should be feasible for the mosaic to work with readers
>> that are not a StructuredGridCoverage2DReader? Do you think it should be
>> feasible for me to fix this, or would this require a lot of rewriting?
>>
>
> It should work, but I don't know how much of an effort would be. Cc'ed
> Daniele, the main module maintainer, maybe he's got a feeling about how hard
> that would be.
>
>
>>
>>
>> In the code of ImageMosaicWalker, I indeed found an instanceof check
>> which might indicate an unwanted dependency on the
>> StructuredGridCoverage2DReader interface:
>>
>>
>>
>> String [] coverageNames = coverageReader.getGridCoverageNames();
>>
>> CatalogBuilderConfiguration catalogConfig;
>>
>> for (String cvName : coverageNames) {
>>
>> final String inputCoverageName = cvName;
>>
>> String coverageName = coverageReader instanceof
>> StructuredGridCoverage2DReader ? inputCoverageName
>>
>> : indexName;
>>
>>
>>
>> Would you consider this unintended contamination a bug?
>>
>
> Yes and no, the mosaic is also a structured reader, so it has to make
> checks in order to expose the granule internal
> structure itself (something it does with netcdf data).
> But I don't know if that particular one would have to be modified or not
>
> 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
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users