OGC Format Infrastructure #602

Closed
bartvde opened this Issue Apr 19, 2013 · 1 comment

Projects

None yet

1 participant

Owner
bartvde commented Apr 19, 2013

create an infrastructure / skeleton for adding OGC formats

@bartvde bartvde was assigned Apr 19, 2013
Owner
bartvde commented Apr 19, 2013

This was basically done when the WMS GetCapabilities parser was created.

We have a base class for XML parsing: https://github.com/openlayers/ol3/blob/master/src/ol/parser/xml.js
We have a base class for Versioned OGC Formats (where the library supports multiple versions and the correct parser can be chosen automatically based on the output XML): https://github.com/openlayers/ol3/blob/master/src/ol/parser/ogc/versioned.js

We have a parser for exception formats (for generic exception handling) just like in OL2: https://github.com/openlayers/ol3/blob/master/src/ol/parser/ogc/exceptionreport.js

To see an implementation of a versioned OGC parser please check out:

https://github.com/openlayers/ol3/blob/master/src/ol/parser/ogc/wmscapabilities.js

We use constants to decide what versions of the parsers need to be included in the build, e.g. ol.ENABLE_WMSCAPS_1_1_0

@bartvde bartvde closed this Apr 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment