@mangosystem/ogc-schemas
Version:
Jsonix XML-JSON mappings for OGC Schemas.
560 lines • 13.6 kB
JavaScript
var GML_2_1_2_Module_Factory = function () {
var GML_2_1_2 = {
n: 'GML_2_1_2',
dens: 'http:\/\/www.opengis.net\/gml',
dans: 'http:\/\/www.w3.org\/1999\/xlink',
deps: ['XLink_1_0'],
tis: [{
ln: 'CoordType',
ps: [{
n: 'x',
rq: true,
en: 'X',
ti: 'Decimal'
}, {
n: 'y',
en: 'Y',
ti: 'Decimal'
}, {
n: 'z',
en: 'Z',
ti: 'Decimal'
}]
}, {
ln: 'CoordinatesType',
ps: [{
n: 'value',
t: 'v'
}, {
n: 'decimal',
an: {
lp: 'decimal'
},
t: 'a'
}, {
n: 'cs',
an: {
lp: 'cs'
},
t: 'a'
}, {
n: 'ts',
an: {
lp: 'ts'
},
t: 'a'
}]
}, {
ln: 'LinearRingMemberType',
bti: '.GeometryAssociationType'
}, {
ln: 'LinearRingType',
bti: '.AbstractGeometryType',
ps: [{
n: 'coord',
rq: true,
mno: 4,
col: true,
ti: '.CoordType'
}, {
n: 'coordinates',
rq: true,
ti: '.CoordinatesType'
}]
}, {
ln: 'BoundingShapeType',
ps: [{
n: 'box',
rq: true,
en: 'Box',
ti: '.BoxType'
}, {
n: '_null',
rq: true,
en: 'null'
}]
}, {
ln: 'MultiPolygonType',
bti: '.GeometryCollectionType'
}, {
ln: 'PolygonType',
bti: '.AbstractGeometryType',
ps: [{
n: 'outerBoundaryIs',
rq: true,
ti: '.LinearRingMemberType'
}, {
n: 'innerBoundaryIs',
mno: 0,
col: true,
ti: '.LinearRingMemberType'
}]
}, {
ln: 'LineStringType',
bti: '.AbstractGeometryType',
ps: [{
n: 'coord',
rq: true,
mno: 2,
col: true,
ti: '.CoordType'
}, {
n: 'coordinates',
rq: true,
ti: '.CoordinatesType'
}]
}, {
ln: 'AbstractGeometryType',
ps: [{
n: 'gid',
ti: 'ID',
an: {
lp: 'gid'
},
t: 'a'
}, {
n: 'srsName',
an: {
lp: 'srsName'
},
t: 'a'
}]
}, {
ln: 'AbstractFeatureCollectionBaseType',
bti: '.AbstractFeatureType'
}, {
ln: 'PointMemberType',
bti: '.GeometryAssociationType'
}, {
ln: 'AbstractFeatureType',
ps: [{
n: 'description'
}, {
n: 'name'
}, {
n: 'boundedBy',
ti: '.BoundingShapeType'
}, {
n: 'fid',
ti: 'ID',
an: {
lp: 'fid'
},
t: 'a'
}]
}, {
ln: 'PolygonMemberType',
bti: '.GeometryAssociationType'
}, {
ln: 'LineStringPropertyType',
bti: '.GeometryAssociationType'
}, {
ln: 'MultiLineStringType',
bti: '.GeometryCollectionType'
}, {
ln: 'MultiPointPropertyType',
bti: '.GeometryAssociationType'
}, {
ln: 'BoxType',
bti: '.AbstractGeometryType',
ps: [{
n: 'coord',
rq: true,
mno: 2,
mxo: 2,
col: true,
ti: '.CoordType'
}, {
n: 'coordinates',
rq: true,
ti: '.CoordinatesType'
}]
}, {
ln: 'MultiPointType',
bti: '.GeometryCollectionType'
}, {
ln: 'GeometryPropertyType',
ps: [{
n: 'geometry',
rq: true,
mx: false,
dom: false,
en: '_Geometry',
ti: '.AbstractGeometryType',
t: 'er'
}, {
n: 'remoteSchema',
an: {
lp: 'remoteSchema',
ns: 'http:\/\/www.opengis.net\/gml'
},
t: 'a'
}, {
n: 'type',
ti: 'XLink_1_0.TypeType',
t: 'a'
}, {
n: 'href',
t: 'a'
}, {
n: 'role',
t: 'a'
}, {
n: 'arcrole',
t: 'a'
}, {
n: 'title',
t: 'a'
}, {
n: 'show',
ti: 'XLink_1_0.ShowType',
t: 'a'
}, {
n: 'actuate',
ti: 'XLink_1_0.ActuateType',
t: 'a'
}]
}, {
ln: 'GeometryCollectionType',
bti: '.AbstractGeometryCollectionBaseType',
ps: [{
n: 'geometryMember',
rq: true,
col: true,
mx: false,
dom: false,
ti: '.GeometryAssociationType',
t: 'er'
}]
}, {
ln: 'GeometryAssociationType',
ps: [{
n: 'geometry',
rq: true,
mx: false,
dom: false,
en: '_Geometry',
ti: '.AbstractGeometryType',
t: 'er'
}, {
n: 'remoteSchema',
an: {
lp: 'remoteSchema',
ns: 'http:\/\/www.opengis.net\/gml'
},
t: 'a'
}, {
n: 'type',
ti: 'XLink_1_0.TypeType',
t: 'a'
}, {
n: 'href',
t: 'a'
}, {
n: 'role',
t: 'a'
}, {
n: 'arcrole',
t: 'a'
}, {
n: 'title',
t: 'a'
}, {
n: 'show',
ti: 'XLink_1_0.ShowType',
t: 'a'
}, {
n: 'actuate',
ti: 'XLink_1_0.ActuateType',
t: 'a'
}]
}, {
ln: 'PolygonPropertyType',
bti: '.GeometryAssociationType'
}, {
ln: 'FeatureAssociationType',
ps: [{
n: 'feature',
rq: true,
mx: false,
dom: false,
en: '_Feature',
ti: '.AbstractFeatureType',
t: 'er'
}, {
n: 'remoteSchema',
an: {
lp: 'remoteSchema',
ns: 'http:\/\/www.opengis.net\/gml'
},
t: 'a'
}, {
n: 'type',
ti: 'XLink_1_0.TypeType',
t: 'a'
}, {
n: 'href',
t: 'a'
}, {
n: 'role',
t: 'a'
}, {
n: 'arcrole',
t: 'a'
}, {
n: 'title',
t: 'a'
}, {
n: 'show',
ti: 'XLink_1_0.ShowType',
t: 'a'
}, {
n: 'actuate',
ti: 'XLink_1_0.ActuateType',
t: 'a'
}]
}, {
ln: 'AbstractFeatureCollectionType',
bti: '.AbstractFeatureCollectionBaseType',
ps: [{
n: 'featureMember',
mno: 0,
col: true,
mx: false,
dom: false,
ti: '.FeatureAssociationType',
t: 'er'
}]
}, {
ln: 'MultiLineStringPropertyType',
bti: '.GeometryAssociationType'
}, {
ln: 'MultiPolygonPropertyType',
bti: '.GeometryAssociationType'
}, {
ln: 'PointType',
bti: '.AbstractGeometryType',
ps: [{
n: 'coord',
rq: true,
ti: '.CoordType'
}, {
n: 'coordinates',
rq: true,
ti: '.CoordinatesType'
}]
}, {
ln: 'LineStringMemberType',
bti: '.GeometryAssociationType'
}, {
ln: 'AbstractGeometryCollectionBaseType',
bti: '.AbstractGeometryType'
}, {
ln: 'PointPropertyType',
bti: '.GeometryAssociationType'
}, {
ln: 'MultiGeometryPropertyType',
bti: '.GeometryAssociationType'
}, {
t: 'enum',
ln: 'NullType',
vs: ['inapplicable', 'unknown', 'unavailable', 'missing']
}],
eis: [{
en: 'MultiGeometry',
ti: '.GeometryCollectionType',
sh: '_Geometry'
}, {
en: '_GeometryCollection',
ti: '.GeometryCollectionType',
sh: '_Geometry'
}, {
en: 'extentOf',
ti: '.PolygonPropertyType',
sh: 'polygonProperty'
}, {
en: '_Feature',
ti: '.AbstractFeatureType'
}, {
en: 'multiCenterOf',
ti: '.MultiPointPropertyType',
sh: 'multiPointProperty'
}, {
en: 'featureMember',
ti: '.FeatureAssociationType'
}, {
en: '_FeatureCollection',
ti: '.AbstractFeatureCollectionType',
sh: '_Feature'
}, {
en: 'MultiLineString',
ti: '.MultiLineStringType',
sh: '_Geometry'
}, {
en: 'Point',
ti: '.PointType',
sh: '_Geometry'
}, {
en: 'polygonProperty',
ti: '.PolygonPropertyType',
sh: '_geometryProperty'
}, {
en: 'MultiPoint',
ti: '.MultiPointType',
sh: '_Geometry'
}, {
en: 'geometryMember',
ti: '.GeometryAssociationType'
}, {
en: 'pointMember',
ti: '.PointMemberType',
sh: 'geometryMember'
}, {
en: 'edgeOf',
ti: '.LineStringPropertyType',
sh: 'lineStringProperty'
}, {
en: 'lineStringProperty',
ti: '.LineStringPropertyType',
sh: '_geometryProperty'
}, {
en: 'otherFeatureMember',
ti: '.FeatureAssociationType',
sh: 'featureMember'
}, {
en: 'name'
}, {
en: 'lineStringMember',
ti: '.LineStringMemberType',
sh: 'geometryMember'
}, {
en: 'centerLineOf',
ti: '.LineStringPropertyType',
sh: 'lineStringProperty'
}, {
en: 'coverage',
ti: '.PolygonPropertyType',
sh: 'polygonProperty'
}, {
en: 'LinearRing',
ti: '.LinearRingType',
sh: '_Geometry'
}, {
en: 'pointProperty',
ti: '.PointPropertyType',
sh: '_geometryProperty'
}, {
en: 'polygonMember',
ti: '.PolygonMemberType',
sh: 'geometryMember'
}, {
en: '_Geometry',
ti: '.AbstractGeometryType'
}, {
en: 'multiCenterLineOf',
ti: '.MultiLineStringPropertyType',
sh: 'multiLineStringProperty'
}, {
en: 'description'
}, {
en: 'multiPolygonProperty',
ti: '.MultiPolygonPropertyType',
sh: '_geometryProperty'
}, {
en: 'multiGeometryProperty',
ti: '.MultiGeometryPropertyType',
sh: '_geometryProperty'
}, {
en: 'boundedBy',
ti: '.BoundingShapeType'
}, {
en: 'location',
ti: '.PointPropertyType',
sh: 'pointProperty'
}, {
en: 'coordinates',
ti: '.CoordinatesType'
}, {
en: 'multiEdgeOf',
ti: '.MultiLineStringPropertyType',
sh: 'multiLineStringProperty'
}, {
en: 'multiExtentOf',
ti: '.MultiPolygonPropertyType',
sh: 'multiPolygonProperty'
}, {
en: 'LineString',
ti: '.LineStringType',
sh: '_Geometry'
}, {
en: 'Box',
ti: '.BoxType'
}, {
en: 'multiLineStringProperty',
ti: '.MultiLineStringPropertyType',
sh: '_geometryProperty'
}, {
en: 'innerBoundaryIs',
ti: '.LinearRingMemberType'
}, {
en: 'centerOf',
ti: '.PointPropertyType',
sh: 'pointProperty'
}, {
en: 'multiPosition',
ti: '.MultiPointPropertyType',
sh: 'multiPointProperty'
}, {
en: 'Polygon',
ti: '.PolygonType',
sh: '_Geometry'
}, {
en: 'outerBoundaryIs',
ti: '.LinearRingMemberType'
}, {
en: '_geometryProperty',
ti: '.GeometryAssociationType'
}, {
en: 'multiCoverage',
ti: '.MultiPolygonPropertyType',
sh: 'multiPolygonProperty'
}, {
en: 'multiPointProperty',
ti: '.MultiPointPropertyType',
sh: '_geometryProperty'
}, {
en: 'position',
ti: '.PointPropertyType',
sh: 'pointProperty'
}, {
en: 'coord',
ti: '.CoordType'
}, {
en: 'MultiPolygon',
ti: '.MultiPolygonType',
sh: '_Geometry'
}, {
en: 'geometryProperty',
ti: '.GeometryAssociationType'
}, {
en: 'multiLocation',
ti: '.MultiPointPropertyType',
sh: 'multiPointProperty'
}]
};
return {
GML_2_1_2: GML_2_1_2
};
};
if (typeof define === 'function' && define.amd) {
define([], GML_2_1_2_Module_Factory);
}
else {
var GML_2_1_2_Module = GML_2_1_2_Module_Factory();
if (typeof module !== 'undefined' && module.exports) {
module.exports.GML_2_1_2 = GML_2_1_2_Module.GML_2_1_2;
}
else {
var GML_2_1_2 = GML_2_1_2_Module.GML_2_1_2;
}
}