Nikos ha scritto:
> Hi. I was wondering if there is a way to do something like this :
> feature_source.getFeatures("typeName1 JOIN typeName2 ON typeName1.a =
> typeName2.b"). I know this doesn't work as I've put it, but I am
> looking for a way to achieve this functionality. Thanks for any help

Not from the Geotools API, at least until we setup complex features (to
be coming in the next months). What you can do today is to create a
view in your database that does the join, register it against the
geometry metadata tables (each database has its own way of doing that)
and the use the view as your featuretype.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to