|
From: Albrecht W. <we...@ge...> - 2005-12-30 08:28:39
|
Hi community,
although i get the advice from everywhre to use the manager for
configuration, i must add the feature types automitically (i use GeoServe=
r
within a platform, where somebody can upload geodata and store it
automatically in a PostGIS Database- for displaying the data, i must
acquaint the data with GeoServer automatically). So far so good-
i create a feature type after every upload in the data/FeatureTypes -
directory. Here comes the info.xml:
<featureType datastore=3D"localPostgis">
<name>hochwasser1983</name>
<SRS>31467</SRS>
<title>hochwasser1983_type</title>
<abstract>sorry, no special abstract yet</abstract>
<numDecimals value=3D"0"/>
<keywords>localPostgis hochwasser1983</keywords>
<latLonBoundingBox dynamic=3D"false" miny=3D"49.2706334254266" ma=
xy=3D"49.4056108965219" maxx=3D"8.53300933092924" minx=3D"8.4113825330473=
5"/>
</featureType>
As i can see, there is no mistake in the info.xml. the name of the
feature type is called the same like the name of the table in the
postgis database (hochwasser1983). So GeoServer should find that
feature. But when i make a GetCapabilities, the feature isn't beeing
found by GeoServer.
(I tested the connection to the PostGis database with another feature
i created with the config-manager and it is o.k. - so its not a problem
of the datastore-settings in the capabilities.xml)
Maybe there exists another file, where i have to register the feature
types? Or why can it be, that GeoServer doesn't find it?
Thanks in advance, i wish everybody a happy (and successful) new year
Albrecht
Albrecht Weiser, Dipl.-Ing (FH)
--------------------
Institut f=FCr Raumbezogene Informations- und Messtechnik, i3mainz=20
Fachhochschule Mainz
Holzstra=DFe 36
55116 Mainz
Tel.: 06131/2859-686
Fax: 06131/2859-699
mailto:we...@ge...
|