Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-05-11 Thread Devon Tucker
Hi all, Still plugging away at this. I have a rough prototype mostly done that reprojects on the fly. Been working out of this branch: https://github.com/dvntucker/geotools/tree/gt-dem-scratch Keep in mind that's pretty much all prototyping. Some of the things I've done: - Update mosaic config

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-29 Thread Devon Tucker
Hi Andrea, Thanks for the feedback and braindump, much appreciated. I'm back in town this week and looking further into this next week. I think we are going to be trying to achieve a rough, throw away first pass at this and let that inform the existing ImageMosaic API change proposal and further w

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-19 Thread Andrea Aime
On Sun, Apr 17, 2016 at 12:10 AM, Jody Garnett wrote: > Thanks for the brain dump Andrea (and to Devon for starting this > conversation). The key reason we are reaching out to geotools-devel is the > sheer wasted disk space represented by a static "gdal command line" > solution (which no doubt wo

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-16 Thread Jody Garnett
Thanks for the brain dump Andrea (and to Devon for starting this conversation). The key reason we are reaching out to geotools-devel is the sheer wasted disk space represented by a static "gdal command line" solution (which no doubt would perform better). Devon has been exploring the dynamic appro

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-16 Thread Jody Garnett
Thanks Simone, answers inline. > Got a question about that, when the granules overlap we make use of the > > attribute based sort order. Does that sample all overlapping granules in > a > > location - or can we think of a way to limit what is sampled based on > sort > > order. > > I am not sure I

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-13 Thread Andrea Aime
On Tue, Apr 12, 2016 at 7:17 PM, Devon Tucker wrote: > Hi all, > > We've been looking into doing on-the-fly reprojection in image mosaic to > handle multiple projections dynamically (kinda similar to what QGIS can > do). Some of the issues with this we've worked out already, but one thing > I've

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-13 Thread Simone Giannecchini
Ciao Jody, please, read below... Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +3

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-13 Thread Simone Giannecchini
Ciao Devon, I might not have expressed correctly myself there. I did not mean to suggest you to look at the streaming renderer, I wanted to say that an example of the _easy_ way to mosaick raster in different CRSs is done at an higher level than the ImageMosaic itself which is using the Streaming

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-12 Thread Jody Garnett
> We have implemented something similar a few times in the past for > clients specific customizations so we have a pretty clear idea on what > to do. > We have an outline that does static gdal command line transformation on ingest (resulting in a duplication of data - but an opportunity to improve

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-12 Thread Devon Tucker
Hi Simone, Thanks for the input. I'll take a look at StreamingRenderer although according to Jody it may not be appropriate since we would like to do WCS output as well. Your advice for initially mosaicking by CRS is definitely well-received. Good idea. Cheers, Devon On Tue, Apr 12, 2016 at 11:

Re: [Geotools-devel] On-the-fly reprojection in ImageMosaic

2016-04-12 Thread Simone Giannecchini
Ciao Devon, quick answer, andrea will provide more. We have implemented something similar a few times in the past for clients specific customizations so we have a pretty clear idea on what to do. First thing, GeoServer is already able to mosaic raster in different CRS but at an higher level, insid