Stefan Krüger ha scritto: > At the moment an index is only used when it's a "file://" URL. > Is there a reason to only use indexes when we are really local? > Is there a reason to only use indexes when we the shapefile is writable?
Index access is performed exclusively via NIO, channels, and uses heavily random access. Can you do that over a classpath resource? The code that accesses the index also creates it if missing, that's probably the reason why writable access is required. The shapefile datastore code is quite messy, going to change those assumption might easily backfire on you. I don't have time to devote to try and use indexes out of the classpath, but if you try I'll be happy to review and merge your work Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ 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 _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
