GeoServer FeatureType Configuration

Document Information
Document ID: 
imp2009-006
Implementation Type: 
Server

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>

Implementation Documents Type Applications Description Document #sort icon Posted by Update Average Rating
GeoServer DataStore Configuration for Complex Features Server GeoServer This XML file configures a directory as a DataStore in GeoServer. Instead of containing explicitly the information... imp2009-003 Ryan Clark 09/03/2010 - 8:29am
5
A Sample GeoServer Mapping file for NCGMP09 to GeoSciML Server GeoServer This is a snippet from a GeoServer/App-schema mapping file. The type mapping section is where you indicate what fields... imp2009-005 Ryan Clark 09/18/2009 - 3:23pm
3
Related Community Groups
Troubleshooting Web Service Deployment - Blog | 5 Posts | Join
This blog is for documenting our group's experiences with web service deployment.