[Geoserver-users] Schemas for geoserver configuration files

Hi,

Where would I find the schemas for the various configuration files (config.xml, services.xml, info.xml for feature types)? I’m working on converting configuration files and would like to be able to figure out the mappings (e.g. Mapserver to Geoserver).

John Anvik
Latitude Geographics Group Ltd.
janvik@anonymised.com418… www.latitudegeo.com
Head Office: 204 Market Square Victoria, BC Canada V8W 3C6
Tel: (250) 381-8130 Fax: (250) 381-8132

Geocortex Internet Mapping (www.geocortex.com) - Helping people succeed with web-based geography

As far as I know, GeoServer 1.6 just reads bits of the DOM. There are no schemas for these files, nor is any schema validation performed. I do not know if this has changed on later releases.

For example, the code that reads catalog.xml:
https://svn.codehaus.org/geoserver/branches/1.6.x/geoserver/data/src/main/java/org/geoserver/data/CatalogReader.java

John Anvik wrote:

Hi,

Where would I find the schemas for the various configuration files
(config.xml, services.xml, info.xml for feature types)? I'm working on
converting configuration files and would like to be able to figure out
the mappings (e.g. Mapserver to Geoserver).

John Anvik
Latitude Geographics Group Ltd.
janvik@anonymised.com <mailto:janvik@anonymised.com>
www.latitudegeo.com <http://www.latitudegeo.com/&gt; Head Office: 204 Market Square Victoria, BC Canada V8W 3C6
Tel: (250) 381-8130 Fax: (250) 381-8132

Geocortex Internet Mapping (www.geocortex.com <http://www.geocortex.com>
) - Helping people succeed with web-based geography

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

Ben is correct, there is no schema for the various .xml files. I admit that having one around for validation purposes would be useful but it is just not something that has come up a lot.

If you feel that this would be extremely useful John feel free to file a feature request in the tracker. Or better yet if you wanted to come up with the schema reverse engineering the files we would gladly add it int o the mix.

-Justin

Ben Caradoc-Davies wrote:

As far as I know, GeoServer 1.6 just reads bits of the DOM. There are no schemas for these files, nor is any schema validation performed. I do not know if this has changed on later releases.

For example, the code that reads catalog.xml:
https://svn.codehaus.org/geoserver/branches/1.6.x/geoserver/data/src/main/java/org/geoserver/data/CatalogReader.java

John Anvik wrote:

Hi,

Where would I find the schemas for the various configuration files
(config.xml, services.xml, info.xml for feature types)? I'm working on
converting configuration files and would like to be able to figure out
the mappings (e.g. Mapserver to Geoserver).

John Anvik
Latitude Geographics Group Ltd.
janvik@anonymised.com <mailto:janvik@anonymised.com>
www.latitudegeo.com <http://www.latitudegeo.com/&gt; Head Office: 204 Market Square Victoria, BC Canada V8W 3C6
Tel: (250) 381-8130 Fax: (250) 381-8132

Geocortex Internet Mapping (www.geocortex.com <http://www.geocortex.com>
) - Helping people succeed with web-based geography

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

I'd be happy to help with this. I've opened a New Feature task in Jira:

http://jira.codehaus.org/browse/GEOS-2270

  With a couple of people helping we can split up the relevant files and it should be no work at all. I'm putting dibs on info.xml. {grin}

---
A. Soroka / Digital Scholarship Services R & D
the University of Virginia Library

On Oct 6, 2008, at 11:47 PM, Justin Deoliveira wrote:

Ben is correct, there is no schema for the various .xml files. I admit
that having one around for validation purposes would be useful but it is
just not something that has come up a lot.

If you feel that this would be extremely useful John feel free to file a
feature request in the tracker. Or better yet if you wanted to come up
with the schema reverse engineering the files we would gladly add it int
o the mix.

-Justin

Ben Caradoc-Davies wrote:

As far as I know, GeoServer 1.6 just reads bits of the DOM. There are no
schemas for these files, nor is any schema validation performed. I do
not know if this has changed on later releases.

For example, the code that reads catalog.xml:
https://svn.codehaus.org/geoserver/branches/1.6.x/geoserver/data/src/main/java/org/geoserver/data/CatalogReader.java

John Anvik wrote:

Hi,

Where would I find the schemas for the various configuration files
(config.xml, services.xml, info.xml for feature types)? I'm working on
converting configuration files and would like to be able to figure out
the mappings (e.g. Mapserver to Geoserver).

John Anvik
Latitude Geographics Group Ltd.
janvik@anonymised.com <mailto:janvik@anonymised.com>
www.latitudegeo.com <http://www.latitudegeo.com/&gt;
Head Office: 204 Market Square Victoria, BC Canada V8W 3C6
Tel: (250) 381-8130 Fax: (250) 381-8132

Geocortex Internet Mapping (www.geocortex.com <http://www.geocortex.com>
) - Helping people succeed with web-based geography