GeoServer DataStore Configuration for Complex Features

Document Information
Document ID: 
Implementation Type: 

This XML file configures a directory as a DataStore in GeoServer. Instead of containing explicitly the information GeoServer needs to make a connection to actual data, it invokes the app-schema extension and forwards us on to a "mapping file", described elsewhere.

The id element contains GeoServer's internal identifier for this datastore

The name element contains the human-readable name of the datastore

The workspace element contains a reference to the id of the workspace to which this datastore belongs

the connectionParameters element contains three important entries:


entry key="namespace": The URI of the namespace appropriate for this datastore

entry key="url": File path to the mapping file for this datastore. Path is relative to the geoserver\data directory

entry key="dbtype": Must read "app-schema" in order to initialize the app-schema extension











            <entry key="namespace">urn:cgi:xmlns:CGI:GeoSciML:2.0</entry>

            <entry key="url">file:workspaces/gsml/gsml_GeologicUnit/gsml_GeologicUnit.xml</entry>

            <entry key="dbtype">app-schema</entry>



Implementation Documents Type Applications Description Document #sort icon Posted by Update Average Rating
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
GeoServer FeatureType Configuration Server GeoServer This XML document tells GeoServer to treat a datastore as a featuretype -- that is, provide it as a featuretype that... imp2009-006 Ryan Clark 09/18/2009 - 3:01pm
Related Community Groups
Troubleshooting Web Service Deployment - Blog | 5 Posts | Join
This blog is for documenting our group's experiences with web service deployment.