gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.raster / org.gvsig.fmap.dal.raster / org.gvsig.fmap.dal.raster.api / src / main / java / org / gvsig / fmap / dal / raster / api / RasterStore.java @ 6298
History | View | Annotate | Download (2.76 KB)
1 |
/* gvSIG. Desktop Geographic Information System.
|
---|---|
2 |
*
|
3 |
* Copyright ? 2007-2016 gvSIG Association
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18 |
* MA 02110-1301, USA.
|
19 |
*
|
20 |
* For any additional information, do not hesitate to contact us
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
22 |
*/
|
23 |
package org.gvsig.fmap.dal.raster.api; |
24 |
|
25 |
import org.gvsig.fmap.dal.DataStore; |
26 |
import org.gvsig.fmap.dal.DataStoreParameters; |
27 |
import org.gvsig.fmap.dal.exception.DataException; |
28 |
import org.gvsig.fmap.geom.primitive.Envelope; |
29 |
import org.gvsig.tools.lang.Cloneable; |
30 |
|
31 |
/**
|
32 |
* Store for rasters
|
33 |
* @author dmartinezizquierdo
|
34 |
*
|
35 |
*/
|
36 |
public interface RasterStore extends DataStore, Cloneable{ |
37 |
|
38 |
/**
|
39 |
* May provide a dynamic method to get the legend
|
40 |
*/
|
41 |
final public static String DYNMETHOD_GETLEGEND_NAME = "getLegend"; |
42 |
|
43 |
/**
|
44 |
* May provide a dynamic method to get the Color Interpretation
|
45 |
*/
|
46 |
final public static String DYNMETHOD_GETCOLORINTERPRETATION_NAME = "getColorInterpretation"; |
47 |
|
48 |
/**
|
49 |
* May provide a dynamic method to get the Color Table
|
50 |
*/
|
51 |
final public static String DYNMETHOD_GETCOLORTABLE_NAME = "getColorTable"; |
52 |
/**
|
53 |
* Returns this store's parameters.
|
54 |
*
|
55 |
* @return
|
56 |
* {@link DataStoreParameters} containing this store's parameters
|
57 |
*/
|
58 |
public DataStoreParameters getParameters();
|
59 |
|
60 |
/**
|
61 |
* Returns all available data in the store
|
62 |
* @return RasterSet
|
63 |
* @throws DataException
|
64 |
*/
|
65 |
RasterSet getRasterSet() throws DataException;
|
66 |
|
67 |
/**
|
68 |
* Returns a subset of data taking into account the properties and
|
69 |
* restrictions of the RasterQuery.
|
70 |
* @param rasterQuery
|
71 |
* @param RasterQuery
|
72 |
* @return RasterSet
|
73 |
* @throws DataException
|
74 |
*/
|
75 |
RasterSet getRasterSet(RasterQuery rasterQuery) throws DataException;
|
76 |
|
77 |
/**
|
78 |
* Returns a new {@link RasterQuery} associated to this store.
|
79 |
* @return RasterQuery
|
80 |
*/
|
81 |
RasterQuery createRasterQuery(); |
82 |
|
83 |
/**
|
84 |
* Returns the envelope associated to this store buffer
|
85 |
* @return Envelope
|
86 |
* @throws DataException
|
87 |
*/
|
88 |
Envelope getEnvelope() throws DataException;
|
89 |
|
90 |
} |