UNPKG

@mangosystem/ogc-schemas

Version:

Jsonix XML-JSON mappings for OGC Schemas.

60 lines (59 loc) 2.31 kB
<?xml version="1.0" encoding="UTF-8"?> <!-- This example illustrates how to use the XML Schema Document that defines the GMLJP2 XML encoding described in OGC 08-085r4. GMLJP2 is an OGC Standard. Copyright (c) 2014 Open Geospatial Consortium. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/. --> <!-- It illustrates a minimal instance with a single codestream with its georeference information in a GMLJP2RectifiedGridCoverage. --> <gmljp2:GMLJP2CoverageCollection gml:id="JPEG2000_0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:gmljp2="http://www.opengis.net/gmljp2/2.0" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/gmljp2/2.0 ../gmljp2.xsd"> <gml:gridDomain/> <gml:rangeSet> <gml:File> <gml:rangeParameters/> <gml:fileName>gmljp2://codestream</gml:fileName> <gml:fileStructure>inapplicable</gml:fileStructure> </gml:File> </gml:rangeSet> <gmlcov:rangeType/> <gmljp2:featureMember> <gmljp2:GMLJP2RectifiedGridCoverage gml:id="CodeStream"> <gml:domainSet> <gml:RectifiedGrid gml:id="rg0001_C0002" dimension="2" srsName="http://www.opengis.net/def/crs/EPSG/0/4326"> <gml:limits> <gml:GridEnvelope> <gml:low>0 0</gml:low> <gml:high>8718 7812</gml:high> </gml:GridEnvelope> </gml:limits> <gml:axisLabels>Lat Long</gml:axisLabels> <gml:origin> <gml:Point gml:id="P0001" srsName="http://www.opengis.net/def/crs/EPSG/0/4326"> <!-- "Upper-left" image origin --> <gml:pos>9.9 9.9</gml:pos> </gml:Point> </gml:origin> <gml:offsetVector srsName="http://www.opengis.net/def/crs/EPSG/0/4326">0 1</gml:offsetVector> <gml:offsetVector srsName="http://www.opengis.net/def/crs/EPSG/0/4326">-1 0</gml:offsetVector> </gml:RectifiedGrid> </gml:domainSet> <gml:rangeSet> <gml:File> <gml:rangeParameters/> <gml:fileName>gmljp2://codestream</gml:fileName> <gml:fileStructure>inapplicable</gml:fileStructure> </gml:File> </gml:rangeSet> <gmlcov:rangeType/> </gmljp2:GMLJP2RectifiedGridCoverage> </gmljp2:featureMember> </gmljp2:GMLJP2CoverageCollection>