diff options
Diffstat (limited to 'petascope/src/petascope/wcs2/server/templates')
4 files changed, 0 insertions, 227 deletions
diff --git a/petascope/src/petascope/wcs2/server/templates/DescribeCoverageTemplate.xml b/petascope/src/petascope/wcs2/server/templates/DescribeCoverageTemplate.xml deleted file mode 100644 index c431723..0000000 --- a/petascope/src/petascope/wcs2/server/templates/DescribeCoverageTemplate.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wcs:CoverageDescriptions xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' - xmlns:gmlwcs='http://www.opengis.net/wcs/2.0/gml' - xmlns:gml='http://www.opengis.net/gml/3.2' - xmlns:wcs='http://www.opengis.net/wcs/2.0' - xmlns='http://www.opengis.net/gml/3.2' - xsi:schemaLocation='http://www.opengis.net/wcs/2.0 {wcsSchemaUrl}/wcsAll.xsd'> - {listOfCoverageDescriptions} - <wcs:CoverageDescription gml:id="{coverageId}"> - <domainSet> - <Grid dimension="{gridDimension}" gml:id="{gridId}"> - <limits> - <GridEnvelope> - <low>{low}</low> - <high>{high}</high> - </GridEnvelope> - </limits> - <axisLabels>{axisLabels}</axisLabels> - </Grid> - </domainSet> - <gmlwcs:rangeStructure> - <gmlwcs:RangeStructure gml:id="{rangeStructureId}"> - {rangeFields} - <gmlwcs:rangeField> - <gmlwcs:RangeField gml:id="{rangeFieldId}"> - <gml:name>{fieldName}</gml:name> - <gmlwcs:dataType>{datatype}</gmlwcs:dataType> - <gmlwcs:nilValueList>{nilValues}</gmlwcs:nilValueList> - </gmlwcs:RangeField> - </gmlwcs:rangeField> - </gmlwcs:RangeStructure> - </gmlwcs:rangeStructure> - <wcs:ServiceParameters> - <wcs:supportedCrsList/> - <wcs:supportedFormatList>{supportedFormats}</wcs:supportedFormatList> - </wcs:ServiceParameters> - </wcs:CoverageDescription> -</wcs:CoverageDescriptions> diff --git a/petascope/src/petascope/wcs2/server/templates/GetCapabilitiesTemplate.xml b/petascope/src/petascope/wcs2/server/templates/GetCapabilitiesTemplate.xml deleted file mode 100644 index 86631bf..0000000 --- a/petascope/src/petascope/wcs2/server/templates/GetCapabilitiesTemplate.xml +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wcs:Capabilities xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' - xmlns:ows='http://www.opengis.net/ows/1.1' - xmlns:wcs='http://www.opengis.net/wcs/2.0' - xmlns:gml='http://www.opengis.net/gml/3.2' - xmlns='http://www.opengis.net/ows/1.1' - xmlns:xlink='http://www.w3.org/1999/xlink' - xsi:schemaLocation='http://www.opengis.net/wcs/2.0 {wcsSchemaUrl}/wcsAll.xsd' version="2.0.0"> - <ServiceIdentification> - <Title>WCS 2.0 Coverage Server @ Jacobs University</Title> - <Abstract>WCS 2.0 Server developed at jacobs University</Abstract> - <ServiceType>OGC WCS</ServiceType> - <ServiceTypeVersion>2.0.0</ServiceTypeVersion> - <Profile>urn:ogc:def:extension:OGC-WCS:2.0:protocol:post</Profile> - <Profile>urn:ogc:def:extension:OGC-WCS:2.0:serviceModel:wcps:1.0</Profile> - <Profile>urn:ogc:def:extension:OGC-WCS:2.0:serviceModel:wcst:1.0</Profile> - </ServiceIdentification> - <ServiceProvider> - <ProviderName>Jacobs University Bremen</ProviderName> - <ows:ProviderSite xlink:href="http://www.petascope.org/"/> - <ServiceContact> - <ows:IndividualName>Prof. Dr. Peter Baumann</ows:IndividualName> - <ows:ContactInfo> - <ows:Address> - <ows:City>Bremen</ows:City> - <ows:PostalCode>28717</ows:PostalCode> - <ows:Country>Germany</ows:Country> - <ows:ElectronicMailAddress>p.baumann@jacobs-university.de</ows:ElectronicMailAddress> - </ows:Address> - </ows:ContactInfo> - <ows:Role>Project Leader</ows:Role> - </ServiceContact> - </ServiceProvider> - <OperationsMetadata> - <Operation name="GetCapabilities"> - <DCP> - <HTTP> - <Get xlink:href="{URL}"/> - </HTTP> - </DCP> - <Parameter name="Format"> - <AllowedValues> - <Value>text/xml</Value> - </AllowedValues> - </Parameter> - <Constraint name="PostEncoding"> - <AllowedValues> - <Value>XML</Value> - </AllowedValues> - </Constraint> - </Operation> - <Operation name="DescribeCoverage"> - <DCP> - <HTTP> - <Get xlink:href="{URL}"/> - </HTTP> - </DCP> - <Parameter name="Format"> - <AllowedValues> - <Value>text/xml</Value> - </AllowedValues> - </Parameter> - <Constraint name="PostEncoding"> - <AllowedValues> - <Value>XML</Value> - </AllowedValues> - </Constraint> - </Operation> - <Operation name="GetCoverage"> - <DCP> - <HTTP> - <Get xlink:href="{URL}"/> - </HTTP> - </DCP> - <Parameter name="Format"> - <AllowedValues> - <Value>text/xml</Value> - </AllowedValues> - </Parameter> - <Constraint name="PostEncoding"> - <AllowedValues> - <Value>XML</Value> - </AllowedValues> - </Constraint> - </Operation> - </OperationsMetadata> - <wcs:Contents> - {Coverages} - </wcs:Contents> - <wcs:WcsServiceMetadata /> - -</wcs:Capabilities> diff --git a/petascope/src/petascope/wcs2/server/templates/GetCoverageTemplate.xml b/petascope/src/petascope/wcs2/server/templates/GetCoverageTemplate.xml deleted file mode 100644 index 9b76cc9..0000000 --- a/petascope/src/petascope/wcs2/server/templates/GetCoverageTemplate.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<gmlwcs:GridCoverage xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' - xmlns:gml='http://www.opengis.net/gml/3.2' - xmlns='http://www.opengis.net/gml/3.2' - xmlns:gmlwcs='http://www.opengis.net/wcs/2.0/gml' - xsi:schemaLocation='http://www.opengis.net/wcs/2.0/gml {wcsSchemaUrl}/gml/gmlwcsAll.xsd' gml:id="{coverageId}"> - <domainSet> - <Grid dimension="{gridDimension}" gml:id="{gridId}"> - <limits> - <GridEnvelope> - <low>{low}</low> - <high>{high}</high> - </GridEnvelope> - </limits> - <axisLabels>{axisLabels}</axisLabels> - </Grid> - </domainSet> - <rangeSet> - <DataBlock> - <rangeParameters/> - <tupleList> - {coverageData} - </tupleList> - </DataBlock> - </rangeSet> - <gmlwcs:rangeStructure> - <gmlwcs:RangeStructure gml:id="{rangeStructureId}"> - {rangeFields} - <gmlwcs:rangeField> - <gmlwcs:RangeField gml:id="{rangeFieldId}"> - <gml:name>{fieldName}</gml:name> - <gmlwcs:dataType>{datatype}</gmlwcs:dataType> - <gmlwcs:nilValueList>{nilValues}</gmlwcs:nilValueList> - </gmlwcs:RangeField> - </gmlwcs:rangeField> - </gmlwcs:RangeStructure> - </gmlwcs:rangeStructure> -</gmlwcs:GridCoverage> diff --git a/petascope/src/petascope/wcs2/server/templates/WcsNamespaceContext.java b/petascope/src/petascope/wcs2/server/templates/WcsNamespaceContext.java deleted file mode 100644 index 1f713e4..0000000 --- a/petascope/src/petascope/wcs2/server/templates/WcsNamespaceContext.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * This file is part of rasdaman community. - * - * Rasdaman community is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Rasdaman community is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>. - * - * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann / - rasdaman GmbH. - * - * For more information please see <http://www.rasdaman.org> - * or contact Peter Baumann via <baumann@rasdaman.com>. - */ -package petascope.wcs2.server.templates; - -import java.util.Iterator; -import javax.xml.XMLConstants; -import javax.xml.namespace.NamespaceContext; - -/** - * - * @author Andrei Aiordachioaie - */ -public class WcsNamespaceContext implements NamespaceContext { - - @Override - public String getNamespaceURI(String prefix) { - if (prefix == null) { - throw new NullPointerException("Null prefix"); - } else if ("wcs".equals(prefix)) { - return "http://www.opengis.net/wcs/2.0"; - } else if ("gml".equals(prefix)) { - return "http://www.opengis.net/gml/3.2"; - } - - return XMLConstants.NULL_NS_URI; - } - - // This method isn't necessary for XPath processing. - @Override - public String getPrefix(String uri) { - throw new UnsupportedOperationException(); - } - - // This method isn't necessary for XPath processing either. - @Override - public Iterator getPrefixes(String uri) { - throw new UnsupportedOperationException(); - } -} |