GeoServer FeatureType Configuration
This XML document tells GeoServer to treat a datastore as a featuretype -- that is, provide it as a featuretype that can be requested via WFS.
For the most part, this document contains information that will be conveyed in your WFS's GetCapabilities document. Modify titles, abstracts and bounding boxes appropriately.
You do have to make sure that you're pointing at the right namespace and datastore by putting the correct ID's (these are the internal GeoServer ID strings) in under the namespace and store nodes.
<featureType>
<id>gsml_GeologicUnit_featuretype</id>
<name>GeologicUnit</name>
<nativeName>GeologicUnit</nativeName>
<namespace>
<id>gsml_namespace</id>
</namespace>
<title>... TITLE ...</title>
<abstract>... ABSTRACT ...</abstract>
<srs>EPSG:4326</srs>
<latLonBoundingBox>
<minx>-180</minx>
<maxx>180</maxx>
<miny>-90</miny>
<maxy>90</maxy>
<crs>EPSG:4326</crs>
</latLonBoundingBox>
<projectionPolicy>FORCE_DECLARED</projectionPolicy>
<enabled>true</enabled>
<metadata>
<entry key="kml.regionateFeatureLimit">10</entry>
<entry key="indexingEnabled">false</entry>
<entry key="cachingEnabled">false</entry>
</metadata>
<store class="dataStore">
<id>gsml_GeologicUnit_datastore</id>
</store>
<maxFeatures>0</maxFeatures>
<numDecimals>0</numDecimals>
</featureType>
- Login to post comments
Application Documents | Description | Document ID | Posted by | Update | Rating |
---|---|---|---|---|---|
More Documentation on ESRI Geoportal, ArcMap CSW Client and USGIN | Here is more documentation on how ESRI's GeoPortal, ESRI's ArcMap CSW Client, and the Arizona Geological Survey's USGIN... | app2010-017 | averill.cate | 12/29/2010 - 1:32pm | |
GeoServer Workspace Configuration | Workspace.xml is one of two configuration documents used to create a workspace in GeoServer The id element is GeoServer... | app2009-002 | Ryan Clark | 09/21/2009 - 3:41pm | |
GeoServer Namespace Configuration | The namespace.xml is one of two files that compose a workspace in GeoServer. This configures the namespace aspect of... | app2009-001 | Ryan Clark | 09/21/2009 - 3:38pm |
Related Community Groups |
---|
Troubleshooting Web Service Deployment - Blog | 5 Posts | Join This blog is for documenting our group's experiences with web service deployment. |