[Geoserver-users] How to link attribut to geo data

Hi,

What is the best way, in geoserver to link attributes data to geographical data.
We have spatial database (Postgres/Postgis) with only an id and attributes in another Postgres database schema, and we need those attibuts to build rule in sld.
I read few post talking about views, is there a way to link data in geoserver like using a kind of join.
The SLD rules with thousand’s of feature id may be not a good solution…

Any suggestion or feedback

thank’s

David

David Audaire
Ingénieur d’étude
Systèmes d’Informations Techniques
Branche Solutions Progiciels

ARES
Filiale du Groupe ARES
3, av de Norvège Z.A. de Courtaboeuf
91140 Villebon/Yvette
Ligne Directe +33.(0).1.69.86.76.72
Fax +33.(0).1.69.86.76.69

Ce courriel ainsi que les pièces qui y seraient éventuellement jointes peuvent contenir des informations confidentielles et sont couverts par le secret des affaires. Si vous avez reçu ce message sans en être le destinataire, nous vous remercions de bien vouloir en informer immédiatement l’émetteur par courriel et supprimer celui-ci sans en conserver aucune copie, sous quelque forme que ce soit, ni en révéler le contenu à qui que ce soit. Ce courriel pouvant être altéré à notre insu, ARES ne peut pas garantir son intégrité.www.ares.fr

DAUDAIRE@anonymised.com ha scritto:

Hi,

What is the best way, in geoserver to link attributes data to geographical data.
We have spatial database (Postgres/Postgis) with only an id and attributes in another Postgres database schema, and we need those attibuts to build rule in sld.
I read few post talking about views, is there a way to link data in geoserver like using a kind of join.

Nope, views is the only way right now. It won't be any slower than
doing a join, thought I understand it's not very handy if you need
to perform various different joins against the same table to highlight
different information (to do so you would have to build a view for
each).

Cheers
Andrea