# ogc-schemas

> Jsonix XML-JSON mappings for OGC Schemas.

Latest version **2.6.1** (published 2016-02-26) · 0 weekly downloads

## Install

```sh
npm install ogc-schemas
pnpm add ogc-schemas
yarn add ogc-schemas
bun add ogc-schemas
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.6.1 |
| Published | 2016-02-26 |
| First published | 2014-08-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 85 |
| Author | Alexey Valikov |
| Maintainers | highsource, tastle |
| Keywords | json, xml, unmarshal, unmarshalling, marshal, marshalling, parse, parsing, serialize, serializing, javascript, objects, dom, util, utility, jaxb, jsonix, mapping, OGC, ARML, WMC, CityGML, CSW, EOP, Earth Observation, EOSPS, Filter, Filter Encoding, GML, GMLCOV, GMLCOV GeoTIFF, GML Application Schema for Coverages, GMLJP2, GML in JPEG 2000 Encoding Standard, IC, IndoorGML, ISO19139, ISO 19139, ISO19139-2, ISO 19139-2, KML, OLS, OM, OMEO, Observations & Measurements Earth Observation, OMX, OSEO, Ordering Services for Earth Observation, OWS, Sampling, SamplingSpatial, Sampling Spatial, SE, Symbology Encoding, SensorML, SLD, SOS, SPS, SWE, SWE Common, SWES, SWE Service Model, TJS, TML, WAMI, WaterML, WCPS, WCS, WCS CRS, WCS Interpolation, WCS Processing, WCS Range Subsetting, WCS Scaling, WCS WCSEO, WCSEO, WCS Earth Observation, WCST, WFS, WMS, WMSC, WMTS, WPS |

## Links

- npm: https://www.npmjs.com/package/ogc-schemas
- Repository: https://github.com/highsource/ogc-schemas
- Issues: http://github.com/highsource/ogc-schemas/issues
- npm.io page: https://npm.io/package/ogc-schemas

## Dependencies (2)

- [jsonix](https://npm.io/package/jsonix.md) >=2.4.0
- [w3c-schemas](https://npm.io/package/w3c-schemas.md) >=1.4.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 2.6.1 (latest) — 2016-02-26
- 2.6.0 — 2015-12-29
- 2.5.4 — 2015-12-01
- 2.5.3 — 2015-11-27
- 2.5.2 — 2015-10-31
- 2.5.1 — 2015-09-24
- 2.5.0 — 2015-09-12
- 2.4.0 — 2015-08-28
- 2.3.0 — 2015-07-05
- 2.2.0 — 2015-04-16
- 2.1.0 — 2015-03-28
- 2.0.2 — 2015-01-18
- 2.0.1 — 2014-12-29
- 2.0.0 — 2014-08-31

## README

# OGC Schemas

`ogc-schemas` package provides [Jsonix](https://github.com/highsource/jsonix) XML-JSON bindings for some of the XML Schemas defined by OGC.

This allows converting between XML (conforming to one of these schemas) and JSON in pure JavaScript.

Supports the following schemas:

* `ARML_2_0`
* `CityGML_1_0`
  * `CityGML_Appearance_1_0`
  * `CityGML_Building_1_0`
  * `CityGML_CityFuntiture_1_0`
  * `CityGML_CityObjectGroup_1_0`
  * `CityGML_Generics_1_0`
  * `CityGML_LandUse_1_0`
  * `CityGML_Relief_1_0`
  * `CityGML_TexturedSurface_1_0`
  * `CityGML_Transportation_1_0`
  * `CityGML_Vegetation_1_0`
  * `CityGML_Waterbody_1_0 `
* `CityGML_2_0`
  * `CityGML_Appearance_2_0`
  * `CityGML_Bridge_2_0`
  * `CityGML_Building_2_0`
  * `CityGML_CityFuntiture_2_0`
  * `CityGML_CityObjectGroup_2_0`
  * `CityGML_Generics_2_0`
  * `CityGML_LandUse_2_0`
  * `CityGML_Relief_2_0`
  * `CityGML_TexturedSurface_2_0`
  * `CityGML_Transportation_2_0`
  * `CityGML_Tunnel_2_0`
  * `CityGML_Vegetation_2_0`
  * `CityGML_Waterbody_2_0 `
* `CSW_2_0_2`
  * `DC_1_1`
  * `DCT`
* `EOP_1_0`
* `EOP_ATM_1_0`
* `EOP_OPT_1_0`
* `EOP_SAR_1_0`
* `EOSPS_2_0`
* `Filter_1_0_0`
* `Filter_1_1_0`
* `Filter_2_0`
* `GML_1_0_0`
* `GML_2_1_2`
* `GML_3_1_1`
* `GML_3_2_0`
* `GML_3_2_1`
* `GML_CE_3_3`
* `GML_EXR_3_3`
* `GML_LR_3_3`
* `GML_LRO_3_3`
* `GML_LROV_3_3`
* `GML_LRTR_3_3`
* `GML_RGRID_3_3`
* `GML_TIN_3_3`
* `GML_XBT_3_3`
* `GMLCOV_1_0`
* `GMLCOV_GeoTIFF_1_0`
* `GMLJP2_2_0`
* `SMIL_2_0`
* `SMIL_2_0_Language`
* `IC_2_0`
* `IC_2_1`
* `IndoorGML_Core_1_0`
* `IndoorGML_Naviagation_1_0`
* `ISO19139_GCO_20070417`
* `ISO19139_GMD_20070417`
* `ISO19139_GMX_20070417`
* `ISO19139_GSR_20070417`
* `ISO19139_GSS_20070417`
* `ISO19139_GTS_20070417`
* `ISO19139_GCO_20060504`
* `ISO19139_GMD_20060504`
* `ISO19139_GMX_20060504`
* `ISO19139_GSR_20060504`
* `ISO19139_GSS_20060504`
* `ISO19139_GTS_20060504`
* `ISO19139_SRV_20060504`
* `KML_2_1`
* `KML_2_2_0`
* `KML_2_3`
* `OLS_1_1_0`
* `OLS_1_2`
* `OLS_NAV_1_3`
* `OM_1_0_0`
* `OM_2_0`
* `OMEO_ALT_2_0`
* `OMEO_ATM_2_0`
* `OMEO_EOP_2_0`
* `OMEO_LMB_2_0`
* `OMEO_OPT_2_0`
* `OMEO_SAR_2_0`
* `OMEO_SEN1_2_0`
* `OMEO_ALT_2_0`
* `OMEO_SSP_2_0`
* `OMX_1_0_0`
* `OSEO_1_0`
* `OWC_0_3_1`
* `OWS_1_0_0`
* `OWS_1_1_0`
* `OWS_2_0`
* `Sampling_1_0_0`
* `Sampling_2_0`
* `SamplingSpatial_2_0`
* `SamplingSpecimen_2_0`
* `SE_1_1_0`
* `SensorML_1_0_0`
* `SensorML_1_0_1`
* `SensorML_2_0`
* `SLD_1_0_0`
* `SLD_1_0_0_GeoServer`
* `SLD_1_1_0`
* `SPS_1_0_0`
* `SPS_2_0`
* `SOS_1_0_0`
* `SOS_1_0_0_Filter`
* `SOS_2_0`
* `SWE_1_0_0`
* `SWE_1_0_1`
* `SWE_2_0`
* `SWES_2_0`
  * `WSN_T_1`
* `TJS_1_0`
* `TML_1_0_0`
* `WAMI_1_0_0`
* `WAMI_1_0_1`
  * `WAMI_Common_1_0_1`
* `WAMI_1_0_2`
  * `WAMI_Common_1_0_0`
* `WaterML_2_0`
* `WCPS_1_0`
* `WCS_1_0_0`
  * `GML4WCS_1_0_0`
* `WCS_1_1`
* `WCS_2_0`
* `WCS_CRS_1_0`
* `WCS_Interpolation_1_0`
* `WCS_Processing_2_0`
* `WCS_Range_Subsetting_1_0`
* `WCS_Scaling_1_0`
* `WCS_WCSEO_1_0`
* `WCST_1_1`
* `WFS_1_0_0`
* `WFS_1_1_0`
* `WFS_2_0`
* `WMS_1_0_0`
* `WMS_1_1_0`
* `WMS_1_1_1`
* `WMS_1_3_0`
* `WMS_1_3_0_Exceptions`
* `WMSC_1_1_1`
* `WPS_1_0_0`
* `WPS_2_0_0`
* `xAL_2_0`

# Example

```javascript

var XLink_1_0 = require('w3c-schemas').XLink_1_0;
var OWS_1_1_0 = require('ogc-schemas').OWS_1_1_0;
var WPS_1_0_0 = require('ogc-schemas').WPS_1_0_0;

var context =  new Jsonix.Context([XLink_1_0, OWS_1_1_0, WPS_1_0_0]);
var unmarshaller = context.createUnmarshaller();
unmarshaller.unmarshalFile("tests/WPS/1.0.0/execute-01.xml", function(result) {
	test.equal("geom", result.value.dataInputs.input[0].title.value);
	test.done();
});
```

---
_Source: https://npm.io/package/ogc-schemas · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
