gvsig-raster / org.gvsig.raster.wmts / trunk / org.gvsig.raster.wmts / org.gvsig.raster.wmts.ogc / org.gvsig.raster.wmts.ogc.api / src / main / java / org / gvsig / raster / wmts / ogc / struct / WMTSLayer.java @ 2613
History | View | Annotate | Download (1.92 KB)
1 |
package org.gvsig.raster.wmts.ogc.struct; |
---|---|
2 |
|
3 |
import java.awt.geom.Rectangle2D; |
4 |
import java.util.List; |
5 |
|
6 |
import org.gvsig.raster.wmts.ogc.WMTSStatus; |
7 |
|
8 |
|
9 |
public interface WMTSLayer { |
10 |
public WMTSBoundingBox getWGS84BBox();
|
11 |
|
12 |
public Rectangle2D getWGS84BBoxTransformed(String epsg); |
13 |
|
14 |
public String getMetadata(); |
15 |
|
16 |
public List<String> getFormat(); |
17 |
|
18 |
public List<String> getInfoFormat(); |
19 |
|
20 |
public List<String> getKeywords(); |
21 |
|
22 |
public abstract WMTSBoundingBox getBBox(); |
23 |
|
24 |
public List<WMTSStyle> getStyle(); |
25 |
|
26 |
public List<WMTSTileMatrixSetLink> getTileMatrixSetLink(); |
27 |
|
28 |
/**
|
29 |
* Returns the initial level of this layer inside the matrix set.
|
30 |
* @return
|
31 |
*/
|
32 |
public int getInitialLevel(String tileMatrixSetId); |
33 |
|
34 |
/**
|
35 |
* Gets the list of srs's supported
|
36 |
* @return
|
37 |
*/
|
38 |
public List<String> getSrsList(); |
39 |
|
40 |
public String getIdentifier(); |
41 |
|
42 |
public String getTitle(); |
43 |
|
44 |
public String getAbstract(); |
45 |
|
46 |
public List<WMTSResourceURL> getResourceURL(); |
47 |
|
48 |
/**
|
49 |
* Gets dimensions
|
50 |
* @return
|
51 |
*/
|
52 |
public List<WMTSDimension> getDimensions(); |
53 |
|
54 |
/**
|
55 |
* If the layer has a template to build the URL, this method checks whether
|
56 |
* the format requested needs a template. If the template is needed the entire
|
57 |
* URL will be returned.
|
58 |
* @param defaultDimension. If this parameter is null, the default dimension will be used
|
59 |
* Parameters needed
|
60 |
* <UL>
|
61 |
* <LI> Image format: Format to check if supports templates</LI>
|
62 |
* <LI> Style identifier: Format to check if supports templates</LI>
|
63 |
* <LI> Dimension: Parameter to build the URL replacing the dimension label</LI>
|
64 |
* <LI> Tilematrixset: Parameter to build the URL replacing {TileMatrixSet}</LI>
|
65 |
* <LI> tilematrix: Parameter to build the URL replacing {TileMatrix}</LI>
|
66 |
* <LI> Tilerow: Parameter to build the URL replacing {TileRow}</LI>
|
67 |
* <LI> Tilecol: Parameter to build the URL replacing {TileCol}</LI>
|
68 |
* </UL>
|
69 |
* @return
|
70 |
*/
|
71 |
public void buildResourceURLListFromTemplate(WMTSStatus status); |
72 |
} |