Thanks heaps Andrea - that's exactly what I needed. Michael
On 28 July 2011 23:13, Andrea Aime <[email protected]> wrote: > On Thu, Jul 28, 2011 at 2:38 PM, Michael Bedward > <[email protected]> wrote: >> Dear all, especially Simone, Andrea and Daniele, >> >> I'm want to get the JMapPane InfoTool thing working properly with >> GridReaderLayers. I'd be grateful for any advice on how to query >> values at point locations from the underlying grid coverage reader in >> the most efficient manner, by which I guess I mean best trade-off of >> memory use and performance. > > See > http://svn.codehaus.org/geoserver/trunk/src/wms/src/main/java/org/geoserver/wms/GetFeatureInfo.java > in particular the identifyRasterLayer method. > > In short: > - to perform a identify on the raster you have to load the coverage > - some coverage stores do not have inner tiling and/or cannot lazy load them > - you don't want to load a massive amount of raster data in memory > -> the solution is to load a coverage which is a very small subset of > the raster, > in the area where you need it > > Hope this helps > > Cheers > Andrea > > > -- > ------------------------------------------------------- > Ing. Andrea Aime > GeoSolutions S.A.S. > Tech lead > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ------------------------------------------------------- > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
