Hi Andrea 

At the moment I try to implement an universal DataStore supporting 
Hints.GEOMETRY_DISTANCE.
The configuration is read from an XML file (Default Implementation) 

Each pregeneralized feature type  (or vector pyramid) has the following 
properties 

1) distance
2) name of the geometry property
3) name of feature type where the pregeneralized geoms are stored
4) name of the datastore (e. g. for shape files, each feature typ has its 
own datastore) 

The problem at the moment is how to find a path  from a datastore name to a 
datastore object. 

For geoserver, I assume the Catalog>>getDataStoreByName(String name) is my 
friend. 

For geotools, I did not find anything comparable except the 
FeatureSourceRepository, Clients must create a proper 
FeatureSourceRepository object and initialize the new DataStore object. 

And finally, if I this is correct, I have to implement a plugin mechanism 
for finding data stores.
(I have no idea how UDig works, I assume a catalog approach) 

christian

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to