Statistics
| Revision:

svn-gvsig-desktop / trunk / extensions / extWMS / src / com / iver / cit / gvsig / fmap / services / OGCWMSService.java @ 3333

History | View | Annotate | Download (1.33 KB)

1
/*
2
 * Created on 30-may-2005
3
 */
4
package com.iver.cit.gvsig.fmap.services;
5

    
6
import java.awt.Image;
7
import java.awt.geom.Rectangle2D;
8
import java.io.IOException;
9
import java.net.ProtocolException;
10
import java.net.URL;
11
import java.util.ArrayList;
12

    
13
import com.iver.cit.gvsig.fmap.drivers.WMSException;
14
import com.iver.wmsclient.WMSClient;
15

    
16
/**
17
 * @author luisw
18
 */
19
public interface OGCWMSService extends OGCService {
20
        public void setClient(WMSClient client);
21
        public String getLabel();
22
        public String getDescription();
23
        
24
        void getCapabilities(URL servidor) throws
25
                WMSException, IOException, ProtocolException;
26
        
27
        Image getMap(com.iver.wmsclient.MapQuery mapQuery)
28
        throws WMSException, IOException, ProtocolException;
29
        
30
        public String [] getLayerNames();
31

    
32
        /**
33
         * Obtiene la etiqueta de una capa espec?fica
34
         * @param nombre de la capa (string)
35
         * @return string
36
         */
37
        public String getLabel(String layerName);        
38

    
39
        /**
40
         * Obtiene la descripci?n de una capa espec?fica
41
         * @param Nombre de la capa (string)
42
         * @return string
43
         */
44
        public String getLayerDescription(String layerName);
45

    
46
        /**
47
         * Obtiene los SRS de una capa espec?fica
48
         * @param Nombre de la capa (string)
49
         * @return ArrayList
50
         */
51
        public ArrayList getSRSs(String layerName);
52
        public Rectangle2D getFullExtent(String layerName, String srs);
53
        public ArrayList getFormats(String layerName);        
54
}