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
/* 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
import java.net.URI;
27

    
28
import org.cresques.cts.IProjection;
29

    
30
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
        public static final String      FIELD_DIMENSION       = "dimension";
53
        public static final String      FIELD_DIMENSION_VALUE = "selected_dimension_value";
54

    
55
        /**
56
         * Gets the selected dimension
57
         * @return
58
         */
59
        public String getDimension();
60

    
61
        /**
62
         * Sets the selected dimension
63
         * @param dimension
64
         */
65
        public void setDimension(String dimension);
66

    
67
        /**
68
         * Gets the value for the selected dimension
69
         * @return
70
         */
71
        public String getDimensionSelectedValue();
72

    
73
        /**
74
         * Sets the value for the selected dimension
75
         * @param dimension
76
         */
77
        public void setDimensionSelectedValue(String dimension);
78

    
79
        /**
80
         * Sets the style selected
81
         * @param layer
82
         */
83
        public void setStyle(WMTSStyle layer);
84

    
85
        /**
86
         * Gets the style
87
         * @return
88
         */
89
        public WMTSStyle getStyle();
90

    
91
        /**
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

    
103
        /**
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

    
114
        /**
115
         * Sets the layer selected
116
         * @param layer
117
         */
118
        public void setLayer(WMTSLayer layer);
119

    
120
        /**
121
         * Gets the layer
122
         * @return
123
         */
124
        public WMTSLayer getLayer();
125

    
126
        /**
127
         * Devuelve el SRS.
128
         * @return SRS.
129
         */
130
        public String getSRSCode();
131

    
132
        public void setSRS(String m_srs);
133

    
134
        public void setSRS(IProjection srs);
135

    
136
        /**
137
         * Returns the projection
138
         * @return
139
         */
140
        public IProjection getSRS();
141

    
142
        /**
143
         * Returns true if the layer is projected
144
         * @return
145
         */
146
        public boolean isProjected();
147

    
148
        public String getSRSID();
149

    
150
        public void setSRSID(String srsid);
151

    
152
        /**
153
         * Returns the current selected SRS.
154
         * @return
155
         */
156
        public String getEPSG(String value);
157

    
158
        public String getName();
159

    
160
        public void setName(String name);
161

    
162
        public void setCancellable(ICancellable cancel);
163

    
164
        public ICancellable getCancellable();
165

    
166
        public boolean isOverridingHost();
167

    
168
        public void setOverrideHost(boolean over);
169
        /**
170
         * Assigns the extent.
171
         * When a provider is initialized this will need to know what is the extent before the request.
172
         *
173
         * @param bBox
174
         */
175
        public void setExtent(Rectangle2D bBox);
176

    
177
        /**
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

    
184
        /**
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

    
191
        /**
192
         * Gets the bounding box
193
         * @return
194
         */
195
        public Rectangle2D getExtent();
196

    
197
        /**
198
         * Gets the width
199
         * @return
200
         */
201
        public int getWidth();
202

    
203
        /**
204
         * Gets the height
205
         * @return
206
         */
207
        public int getHeight();
208

    
209
        public boolean isSizeFixed();
210

    
211
        public void setURI(URI uri);
212

    
213
        public URI getURI();
214

    
215
        public WMTSClient getOGCClient();
216

    
217
        public void setOGCClient(WMTSClient ogcClient);
218
}