On Tue, Sep 2, 2014 at 11:13 PM, Stephen Brooke <[email protected]>
wrote:
> Jukka, thanks for your response. Yes, my aim is as you say, “to show a
> little bit less image data clipped with the BBOX in CQL_FILTER inside a
> bigger bbox that is defined by the basis WMS box” and be able to combine
> this with a temporal filter.
>
>
>
> For an ImageMosaic that can be filtered by TIME and any other custom
> attributes I define using the CQL_FILTER parameter, it seems silly to me
> that the ImageMosaic plugin cannot also use the spatial information that it
> has created to take advantage of CQL_FILTER geometry functions to filter
> results based on a user-defined BBOX for example.
>
By the stack trace, it's evident that this use case was simply never
considered, the code could
be expanded to care for it as well (a bounding box without the coordinate
reference system
specification).
Looking at the (E)CQL parser code it seems to be possible to specify a CRS
for the bounding
box, I guess in that case a ReferencedEnvelope will be created, worth a
try: add a fifth parameter
in your BBOX filter, something like 'EPSG:4326', and see if that works.
My guess is that the store will work correctly only if the bbox is
specified in the data native
coordinate system.
Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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
-------------------------------------------------------
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users