Ciao Alex, can you open up a Jira with your patch so that I can play with it?
Simone. ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://simboss.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini ------------------------------------------------------- On Thu, Aug 20, 2009 at 9:26 PM, Alexander Petkov<[email protected]> wrote: > Hi Simone: > > After I read your message I attempted to add the filtering > capabilities to the imagemosaic module. I worked using geoserver > 2.0-RC1 and geotools trunk. The filtering seems to work--I had to > modify the imagemosaic plugin a little, as well as GetMapResponse.java > in geoserver's WMS module. > Here is a sample request: > > http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=sf:WorldCountries,nurc:mosaic&styles=&bbox=6.34617490847439,36.4917718219401,20.8296831527815,46.5907669751351&width=512&height=357&srs=EPSG:4326&format=image/png&cql_filter=INCLUDE;location=%27global_mosaic_9.png%27+OR+location=%27global_mosaic_1.png%27 > > The result from the request can be seen here: > > http://www.smoke-fire.us/misc/mosaic_filtered.png > > Should I make a JIRA to see if the code can be included in svn? > > Thanks, > Alex > > > On Thu, Aug 13, 2009 at 3:10 AM, Simone > Giannecchini<[email protected]> wrote: >> Ciao Alex, >> actually there is no such a capability in the currecnt version of the >> imagemosaic, but it would be fairly easy to add it since internally >> there is an index visitor that visit each feature in the JTS in memory >> index, we could simply add the filter evaluation there. >> >> Simone. >> ------------------------------------------------------- >> Ing. Simone Giannecchini >> GeoSolutions S.A.S. >> Owner - Software Engineer >> Via Carignoni 51 >> 55041 Camaiore (LU) >> Italy >> >> phone: +39 0584983027 >> fax: +39 0584983027 >> mob: +39 333 8128928 >> >> >> http://www.geo-solutions.it >> http://geo-solutions.blogspot.com/ >> http://simboss.blogspot.com/ >> http://www.linkedin.com/in/simonegiannecchini >> >> ------------------------------------------------------- >> >> >> >> On Wed, Aug 12, 2009 at 10:08 PM, Alexander Petkov<[email protected]> wrote: >>> Hi: >>> >>> Is it possible to filter an imagemosaic-configured coverage (or >>> imagemosaic-jdbc for that matter) with a filter or a cql_filter? >>> Similar to: >>> ....&cql_filter=location='global_mosaic_9.png' >>> >>> The reason I am asking is that I have overlapping images in my mosaic, >>> and would like to filter out images that are from say a single date. >>> This is the request returning the full contents of the mosaic: >>> >>> http://www.smoke-fire.us:8080/geoserver/wms?bbox=-4995663.0,-1749623.0,2009396.0,4386310.0&styles=&Format=image/png&request=GetMap&version=1.1.1&layers=topp:tiles&width=800&height=657&srs=EPSG:41110 >>> >>> >>> Thanks, >>> Alex >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus >>> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Geoserver-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >> > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
