Hi, Unfortunately the simple GeoServer data model is not set up to do this sort of data access across data stores or multiple hosts. However app-schema allows you to set up a single feature type that is data mapped from multiple other feature types (possibly coming from different databases/datastores).
Past that I am not sure. I know some databases support the notion of linked tables. Perhaps you could try something that. -Justin On Sun, Aug 8, 2010 at 4:22 PM, Allen.oz <[email protected]> wrote: > > I am trying to use geoserver to map to our database in a different way. > > Because our current database is distributed in different server. So we have > a group database which stores all the real geometry database details. And > the schema of this database is something like: hostname, databasename, > user, > pwd. > > So now, we really want to map this database to the geoserver, then when we > receive the wms/wfs request, we want to get the database detail from the > group database and open the dbconnection to the real geometry database and > generate the map overlay or other feature response which is supported by > the > geoserver. > > Is there an easy way to do this database redirection? Or the only way is to > change the source code of geoserver? > -- > View this message in context: > http://old.nabble.com/Geoserver-database-mapping-problem-tp29383578p29383578.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial.
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
