sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1832810 - in /sis/branches/JDK8/storage/sis-storage: pom.xml src/main/java/org/apache/sis/storage/GridCoverageResource.java
Date Mon, 04 Jun 2018 10:30:34 GMT
Author: desruisseaux
Date: Mon Jun  4 10:30:34 2018
New Revision: 1832810

URL: http://svn.apache.org/viewvc?rev=1832810&view=rev
Log:
First draft of a GridCoverageResource interface.

Added:
    sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/GridCoverageResource.java
  (with props)
Modified:
    sis/branches/JDK8/storage/sis-storage/pom.xml

Modified: sis/branches/JDK8/storage/sis-storage/pom.xml
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-storage/pom.xml?rev=1832810&r1=1832809&r2=1832810&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-storage/pom.xml (original)
+++ sis/branches/JDK8/storage/sis-storage/pom.xml Mon Jun  4 10:30:34 2018
@@ -126,6 +126,11 @@
       <artifactId>sis-feature</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.sis.core</groupId>
+      <artifactId>sis-raster</artifactId>
+      <version>${project.version}</version>
+    </dependency>
 
     <!-- Test dependencies -->
     <dependency>

Added: sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/GridCoverageResource.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/GridCoverageResource.java?rev=1832810&view=auto
==============================================================================
--- sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/GridCoverageResource.java
(added)
+++ sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/GridCoverageResource.java
[UTF-8] Mon Jun  4 10:30:34 2018
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.storage;
+
+import org.apache.sis.coverage.grid.GridGeometry;
+
+
+/**
+ * Access to data values in a <var>n</var>-dimensional grid.
+ * A coverage resource may be a member of {@link Aggregate} if a single file can provide
many images.
+ *
+ * @author  Martin Desruisseaux (Geomatys)
+ * @version 1.0
+ * @since   1.0
+ * @module
+ */
+public interface GridCoverageResource extends Resource {
+    /**
+     * Returns the valid extent of grid coordinates together with the transform
+     * from those grid coordinates to real world coordinates.
+     *
+     * @return grid coordinates valid extent and their mapping to "real world" coordinates.
+     * @throws DataStoreException if an error occurred while reading definitions from the
underlying data store.
+     */
+    GridGeometry getGridGeometry() throws DataStoreException;
+}

Propchange: sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/GridCoverageResource.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/GridCoverageResource.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8



Mime
View raw message