On Fri, Jul 15, 2011 at 12:53 PM, Emmanuel Blondel <[email protected]> wrote: > Dear all, > > I started using Geotools & I have some issue in using the > CachingFeatureSource (presented here: > http://geotoolsnews.blogspot.com/2010_04_01_archive.html) > When I don't use the CachingFeatureSource, I can get all the features I > want. If I use the cache, I don't get all features. > Do you have any idea about how to solve this? You will find the code below.
Hi, I've just tried out a slightly modified example on trunk and it works fine (mind, on trunk the map and layer api changed a bit) Basically made two layers, one cached one not, one only fills the polygon outlines, the other just draws the border, one is straight from the WFS server, the other is cached, and they do line up properly... Not sure what is going on there. I also tried on 2.7.x but the examples won't even start. What version of GeoTools are you using? 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 -------------------------------------------------------
QuickstartWFS.java
Description: Binary data
<<attachment: cached-nq8.png>>
------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
