hi,
in order to visualize a feature what king of attributes do i need?
public ArrayList<FeatureCollection> getTable(PostgisDataStore dataStore)
throws IOException{
String typeName;
//Filter filter = null;
this.dataStore = dataStore;
for(Iterator<String> itr = options.iterator(); itr.hasNext();){
typeName = itr.next().toString();
featureSource = dataStore.getFeatureSource(typeName);
featureCollection = featureSource.getFeatures();
tables.add(featureCollection);
}
return tables;
}
i have writen this code to read tables in my postgis db. Then i think of
reading my features one by one and extract the feature type. Do you think
it's sufficient or i have to do some other treatment
thanks for advising me
regards
Aymen
--
View this message in context:
http://www.nabble.com/how-to-exploite-data-retrieved-from-postgis--tp17147567p17147567.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users