[udig-devel] Datastores & co
Andrea Antonello
andrea.antonello at gmail.com
Tue Jan 15 05:39:22 PST 2008
I have a problem with the thousand levels of abstraction for feature
data.
After running up and down the line, I decided that DataStore could be a
good interface to use to get a whole pile of data types from which to
get features.
But right after that thought, I noticed that:
DataStore tmpStore = tmpLayer.getResource(DataStore.class, null);
does return null for the first thing I tried, i.e. the
ShapefileDataStore. This happens because it doesn't resolve to it.
So I don't understand if I got the thing wrong and if yes, what should
I take to be able to define an item that deals with most possible
features types? This should apply from the layers but also from the
catalog resources.
Thanks,
Andrea
More information about the udig-devel
mailing list