Thanks for your help guys - I knew this had to be possible. For anyone who stumbles on this thread latter the correct syntax for the sorting param is varname (ingestion) D (that is space D) - I'll try to update the docs later as there is currently no mention of the sorting param.
[image: Inline images 1] Thanks Ian On 18 November 2013 13:50, Daniele Romagnoli < [email protected]> wrote: > Hi guys, > There is a SORTING parameter in the MosaicConfiguration exposed by the GS > GUI which should do that. > > 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 Mon, Nov 18, 2013 at 2:41 PM, Andrea Aime <[email protected] > > wrote: > >> On Mon, Nov 18, 2013 at 2:25 PM, Ian Turton <[email protected]> wrote: >> >>> >>> On 18 Nov 2013 13:21, "Andrea Aime" <[email protected]> >>> wrote: >>> > >>> > Hi Ian, >>> > did you enable the time dimension in the "dimensions" tab of the layer >>> configuration? >>> > >>> >>> Yes and I've been experimenting with the presentation choice but it >>> seems to make no difference. >>> >> >> Sorry, trying to help but really doing something else, so I may be >> missing something. >> The black areas you have in the original images, are they really >> transparent? >> If so I guess the code it's working as expected, it's mosaicking on all >> the granules >> in the time range you specified, with no particular order. >> >> The notion of "give me the most recent in the range" is understandable, >> but I don't believe >> it's part of the standard, and maybe not always desirable either. >> That said, we have a variable to control how many granules are >> used, MAX_ALLOWED_TILES, >> which can be set to 1, and then you can use SORT_BY, where you can set >> the value >> "sortVariable" or "sortVariable,A", "sortVariable,D" to control the >> sorting order. >> >> I just don't remember if they are both exposed by the GeoServer UI >> >> 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 >> >> ------------------------------------------------------- >> >> >> ------------------------------------------------------------------------------ >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >> Free app hosting. Or install the open source package on any LAMP server. >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >> _______________________________________________ >> Geoserver-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> >> > -- Ian Turton
<<correct.png>>
------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
