Hi all,

As per the data access irc breakout i have created a spike which employs 
the changes. The spike is available at:

http://svn.geotools.org/geotools/trunk/spike/jdeolive

Its a maven project so you can build it and load it into your ide if you 
wish. However you need to have a geotools trunk already built in your 
local repo. And if you do built it you want to clear out the api module 
to get yoru local repo back to workign order.

Here are the relevant links for those who just want to browse:

http://svn.geotools.org/geotools/trunk/spike/jdeolive/api/src/main/java/org/geotools/data/DataAccess.java
http://svn.geotools.org/geotools/trunk/spike/jdeolive/api/src/main/java/org/geotools/data/DataStore.java
http://svn.geotools.org/geotools/trunk/spike/jdeolive/api/src/main/java/org/geotools/data/FeatureSource.java
http://svn.geotools.org/geotools/trunk/spike/jdeolive/api/src/main/java/org/geotools/data/FeatureReader.java
http://svn.geotools.org/geotools/trunk/spike/jdeolive/api/src/main/java/org/geotools/data/FeatureCollection.java

And the example:

http://svn.geotools.org/geotools/trunk/spike/jdeolive/example/src/main/java/Example.java

Doing this has been a useful exercise. I am not even more convinced that 
this is the way to go for the following reasons:

* All the code changes are mechanical and users have a choice to:

   1) parameterize FeatureSource/FeatureReader/FeatureCollection
   2) cast when getting features out of an iterator

* The update path to Feature (complex) seems quite clean. No changing 
classes or references

Anywho, if people want to see more examples just ask or feel free to add 
them to the spike as you please.

-Justin


-- 
Justin Deoliveira
The Open Planning Project
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to