Statistics
| Revision:

gvsig-raster / org.gvsig.raster.wmts / trunk / org.gvsig.raster.wmts / org.gvsig.raster.wmts.io / src / main / java / org / gvsig / raster / wmts / io / WMTSDataParameters.java @ 4272

History | View | Annotate | Download (5.05 KB)

1 2485 nbrodin
/* gvSIG. Geographic Information System of the Valencian Government
2
*
3
* Copyright (C) 2007-2008 Infrastructures and Transports Department
4
* of the Valencian Government (CIT)
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
* MA  02110-1301, USA.
20
*
21
*/
22
23
package org.gvsig.raster.wmts.io;
24
25
import java.awt.geom.Rectangle2D;
26 4272 fdiaz
import java.net.URI;
27 2485 nbrodin
28
import org.cresques.cts.IProjection;
29 4272 fdiaz
30 2485 nbrodin
import org.gvsig.compat.net.ICancellable;
31
import org.gvsig.fmap.dal.coverage.store.parameter.RemoteStoreParameters;
32
import org.gvsig.raster.wmts.ogc.WMTSClient;
33
import org.gvsig.raster.wmts.ogc.struct.WMTSLayer;
34
import org.gvsig.raster.wmts.ogc.struct.WMTSStyle;
35
36
/**
37
 * Parameters for the WMTS provider
38
 * @author Nacho Brodin (nachobrodin@gmail.com)
39
 */
40
public interface WMTSDataParameters extends RemoteStoreParameters {
41
        public static final String      DYNCLASS_NAME         = "WMTSDataParameters";
42
        public static final String      FIELD_IMAGE_FORMAT    = "imageformat";
43
        public static final String      FIELD_INFO_FORMAT     = "infoformat";
44
        public static final String      FIELD_NAME            = "name";
45
        public static final String      FIELD_SRSSTR          = "srsstr";
46
        public static final String      FIELD_OVERRIDE        = "override";
47
        public static final String      FIELD_WIDTH           = "width";
48
        public static final String      FIELD_HEIGHT          = "height";
49
        public static final String      FIELD_DELETECACHE     = "deletecache";
50
        public static final String      FIELD_STYLE_NAME      = "style";
51
        public static final String      FIELD_EXTENT          = "extent";
52 2613 nbrodin
        public static final String      FIELD_DIMENSION       = "dimension";
53
        public static final String      FIELD_DIMENSION_VALUE = "selected_dimension_value";
54 4272 fdiaz
55 2485 nbrodin
        /**
56 2613 nbrodin
         * Gets the selected dimension
57
         * @return
58
         */
59
        public String getDimension();
60 4272 fdiaz
61 2613 nbrodin
        /**
62
         * Sets the selected dimension
63
         * @param dimension
64
         */
65
        public void setDimension(String dimension);
66 4272 fdiaz
67 2613 nbrodin
        /**
68
         * Gets the value for the selected dimension
69
         * @return
70
         */
71
        public String getDimensionSelectedValue();
72 4272 fdiaz
73 2613 nbrodin
        /**
74
         * Sets the value for the selected dimension
75
         * @param dimension
76
         */
77
        public void setDimensionSelectedValue(String dimension);
78 4272 fdiaz
79 2613 nbrodin
        /**
80 2485 nbrodin
         * Sets the style selected
81
         * @param layer
82
         */
83
        public void setStyle(WMTSStyle layer);
84 4272 fdiaz
85 2485 nbrodin
        /**
86
         * Gets the style
87
         * @return
88
         */
89
        public WMTSStyle getStyle();
90 4272 fdiaz
91 2485 nbrodin
        /**
92
         * Gets the image format
93
         * @return Format
94
         */
95
        public String getImageFormat();
96
97
        /**
98
         * Sets the image format
99
         * @param format
100
         */
101
        public void setImageFormat(String format);
102 4272 fdiaz
103 2485 nbrodin
        /**
104
         * Gets the format of the info by point
105
         * @return
106
         */
107
        public String getInfoFormat();
108
109
        /**
110
         * Sets the format of the info by point
111
         */
112
        public void setInfoFormat(String format);
113 4272 fdiaz
114 2485 nbrodin
        /**
115
         * Sets the layer selected
116
         * @param layer
117
         */
118
        public void setLayer(WMTSLayer layer);
119 4272 fdiaz
120 2485 nbrodin
        /**
121
         * Gets the layer
122
         * @return
123
         */
124
        public WMTSLayer getLayer();
125 4272 fdiaz
126 2485 nbrodin
        /**
127
         * Devuelve el SRS.
128
         * @return SRS.
129
         */
130
        public String getSRSCode();
131 4272 fdiaz
132 2485 nbrodin
        public void setSRS(String m_srs);
133 4272 fdiaz
134 2485 nbrodin
        public void setSRS(IProjection srs);
135
136
        /**
137
         * Returns the projection
138
         * @return
139
         */
140
        public IProjection getSRS();
141 4272 fdiaz
142 2485 nbrodin
        /**
143
         * Returns true if the layer is projected
144
         * @return
145
         */
146
        public boolean isProjected();
147 4272 fdiaz
148 2485 nbrodin
        public String getSRSID();
149
150
        public void setSRSID(String srsid);
151 4272 fdiaz
152 2485 nbrodin
        /**
153
         * Returns the current selected SRS.
154
         * @return
155
         */
156
        public String getEPSG(String value);
157 4272 fdiaz
158 2485 nbrodin
        public String getName();
159
160
        public void setName(String name);
161 4272 fdiaz
162 2485 nbrodin
        public void setCancellable(ICancellable cancel);
163 4272 fdiaz
164 2485 nbrodin
        public ICancellable getCancellable();
165 4272 fdiaz
166 2485 nbrodin
        public boolean isOverridingHost();
167 4272 fdiaz
168 2485 nbrodin
        public void setOverrideHost(boolean over);
169
        /**
170 4272 fdiaz
         * Assigns the extent.
171 2485 nbrodin
         * When a provider is initialized this will need to know what is the extent before the request.
172 4272 fdiaz
         *
173 2485 nbrodin
         * @param bBox
174
         */
175
        public void setExtent(Rectangle2D bBox);
176 4272 fdiaz
177 2485 nbrodin
        /**
178
         * Sets the width
179
         * When a provider is initialized this will need to know what is the width before the request.
180
         * @param w
181
         */
182
        public void setWidth(int w);
183 4272 fdiaz
184 2485 nbrodin
        /**
185
         * Sets the height
186
         * When a provider is initialized this will need to know what is the height before the request.
187
         * @param h
188
         */
189
        public void setHeight(int h);
190 4272 fdiaz
191 2485 nbrodin
        /**
192
         * Gets the bounding box
193
         * @return
194
         */
195
        public Rectangle2D getExtent();
196 4272 fdiaz
197 2485 nbrodin
        /**
198
         * Gets the width
199
         * @return
200
         */
201
        public int getWidth();
202 4272 fdiaz
203 2485 nbrodin
        /**
204
         * Gets the height
205
         * @return
206
         */
207
        public int getHeight();
208 4272 fdiaz
209 2485 nbrodin
        public boolean isSizeFixed();
210
211 4272 fdiaz
        public void setURI(URI uri);
212 2485 nbrodin
213 4272 fdiaz
        public URI getURI();
214
215 2485 nbrodin
        public WMTSClient getOGCClient();
216 4272 fdiaz
217 2485 nbrodin
        public void setOGCClient(WMTSClient ogcClient);
218
}