|
From: Justin D. <jde...@un...> - 2005-12-07 22:47:36
|
Hi Albrecht, Adding the datastore is only the first step. Now you need to add the feature types from within your datastore. Also, unless you have a particular reason, I recommend using the configuration user interface to add your datastores/feature types as opposed to editing the configuration files manually. Here is some documentation. http://docs.codehaus.org/display/GEOSDOC/Data+Configuration Justin Albrecht Weiser wrote: > Hello geoserver-community, > i've installed a PostGreSQL8.0/PostGIS-database-server at localhost and now want to > use it with geoserver. I've configurated the db-connection in the > catalog.xml and it looks something like this: > > <datastore enabled="true" id="localPostgis" namespace="geo"> > <connectionParams> > <parameter name="user" value="gpuser"/> > <parameter name="passwd" value="pass"/> > <parameter name="host" value="localhost"/> > <parameter name="port" value="5432"/> > <parameter name="database" value="gpgeodata"/> > <parameter name="dbtype" value="postgis"/> > </connectionParams> > </datastore> > i'd like to test it now e.g. with a GetCapabilities Request like > http://localhost:8080/geoserver/wms?SERVICE=WMS&REQUEST=GetCapabilities > and it should return the contained features. But it doesn't. Maybe i > have to make some additional settings in another configuration file? > Maybe i forgot something else? > > Thanks in advance > > Albrecht Weiser > > mailto:we...@ge... > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Justin Deoliveira The Open Planning Project http://topp.openplans.org |