Revision 43029

View differences:

tags/org.gvsig.desktop-2.0.159/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/taskplanning/retrieving/URLRetrieveTest.java
1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
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 3
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
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.remoteclient.taskplanning.retrieving;
25

  
26
import java.io.File;
27

  
28
import junit.framework.TestCase;
29

  
30
import org.gvsig.remoteclient.taskplanning.IQueue;
31
import org.gvsig.remoteclient.taskplanning.IRunnableTask;
32
/**
33
 * 
34
 * @author jaume
35
 *
36
 */
37
public class URLRetrieveTest extends TestCase {
38
	private final static String tempDirectoryPath = System.getProperty("java.io.tmpdir")+"tmp-andami";
39
	IQueue queue;
40
	IRunnableTask task1, task2, task3, task4;
41
	boolean finished1, finished2, finished3, finished4;
42
	RetrieveListener listener1 = new RetrieveListener() {
43
		public void transferEventReceived(RetrieveEvent event) {
44
			int e = event.getType();
45
			printMessage("listener1", event.getType());
46
			if (e==RetrieveEvent.REQUEST_FINISHED || e == RetrieveEvent.REQUEST_FAILED || e == RetrieveEvent.REQUEST_CANCELLED )
47
				finished1 = true;
48
		}
49
	};
50
	
51
	String protocol = URLRequest.HTTP;
52
	String host1 = "192.168.0.223";
53
	String page1 = "cgi-bin/mapserv_46.exe?map=c:\\ms4w\\Apache\\cgi-bin\\demo.map&&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=comunidades&SRS=EPSG:23030&BBOX=507522.0,4154976.282477341,942309.0,4552983.717522658&WIDTH=332&HEIGHT=305&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE";
54
	URLRequest request1;
55
	
56
	String host2 = "localhost";
57
	String page2 = "aegCapabilities1.3.xml";
58
	URLRequest request2;
59
	RetrieveListener listener2 = new RetrieveListener() {
60
		public void transferEventReceived(RetrieveEvent event) {
61
			int e = event.getType();
62
			printMessage("listener2", event.getType());
63
			if (e==RetrieveEvent.REQUEST_FINISHED || e == RetrieveEvent.REQUEST_FAILED || e==RetrieveEvent.REQUEST_CANCELLED )
64
				finished2 = true;
65

  
66
		}
67
	};
68
	
69
	String host3 = "localhost";
70
	String page3 = "avalencia.ecw";
71
	URLRequest request3;
72
	RetrieveListener listener3 = new RetrieveListener() {
73
		public void transferEventReceived(RetrieveEvent event) {
74
			int e = event.getType();
75
			printMessage("listener3", event.getType());
76
			if (e==RetrieveEvent.REQUEST_FINISHED || e == RetrieveEvent.REQUEST_FAILED  || e == RetrieveEvent.REQUEST_CANCELLED )
77
				finished3 = true;
78

  
79
		}
80
	};
81
	
82
	String host4 = "192.168.0.223";
83
	String page4 = "prueba.rar";
84
	URLRequest request4;
85
	RetrieveListener listener4 = new RetrieveListener() {
86
		public void transferEventReceived(RetrieveEvent event) {
87
			int e = event.getType();
88
			printMessage("listener4", event.getType());
89
			if (e==RetrieveEvent.REQUEST_FINISHED || e == RetrieveEvent.REQUEST_FAILED  || e == RetrieveEvent.REQUEST_CANCELLED )
90
				finished4 = true;
91

  
92
		}
93
	};
94
	{
95
		cleanFiles();
96
	}
97
	private static void cleanFiles(){
98
		try{
99
			File tempDirectory = new File(tempDirectoryPath);
100
			
101
			File[] files = tempDirectory.listFiles();
102
			if (files!=null) {
103
				for (int i = 0; i < files.length; i++) {
104
					// s?lo por si en un futuro se necesitan crear directorios temporales
105
					files[i].delete();
106
				}
107
			}
108
			tempDirectory.delete();
109
		} catch (Exception e) {	}
110
	}
111
	
112
	
113
	public void setUp() {
114
		File tmpDir = new File(tempDirectoryPath);
115
		if (!tmpDir.exists())
116
			tmpDir.mkdir();
117
		finished1 = finished2 = finished3 = finished4 = false;
118
		System.out.println("\n\n\nSetting up test..");
119
		queue = new RetrieveQueue("http://192.168.0.223/cgi-bin/mapserv_46.exe?map=c:\\ms4w\\Apache\\cgi-bin\\demo.map");
120
		
121
		request1 = new URLRequest();
122
		// http://192.168.0.223/cgi-bin/mapserv_46.exe?map=c:\\ms4w\\Apache\\cgi-bin\\demo.map&&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=comunidades&SRS=EPSG:23030&BBOX=507522.0,4154976.282477341,942309.0,4552983.717522658&WIDTH=332&HEIGHT=305&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE
123
		request1.setProtocol(protocol);
124
		request1.setHost(host1);
125
		request1.setFile(page1);
126
		request1.setFileName(tempDirectoryPath+File.separator+"task1");
127
		request1.setRequestType(URLRequest.GET);
128
		task1 = new URLRetrieveTask(request1, listener1); 
129
		
130
		request2 = new URLRequest();
131
		// http://localhost/aegCapabilities1.3.xml
132
		request2.setProtocol(protocol);
133
		request2.setHost(host2);
134
		request2.setFile(page2);
135
		request2.setFileName(tempDirectoryPath+File.separator+"task2");
136
		request2.setRequestType(URLRequest.GET);
137
		task2 = new URLRetrieveTask(request2, listener2);
138
		
139
		request3 = new URLRequest();
140
		// http://localhost/avalencia.ecw
141
		request3.setProtocol(protocol);
142
		request3.setHost(host3);
143
		request3.setFile(page3);
144
		request3.setFileName(tempDirectoryPath+File.separator+"task3");
145
		request3.setRequestType(URLRequest.GET);
146
		task3 = new URLRetrieveTask(request3, listener3);
147
		
148
		request4 = new URLRequest();
149
		// http://192.168.0.223/prueba.rar
150
		request4.setProtocol(protocol);
151
		request4.setHost(host4);
152
		request4.setFile(page4);
153
		request4.setFileName(tempDirectoryPath+File.separator+"task4");
154
		request4.setRequestType(URLRequest.GET);
155
		
156
		task4 = new URLRetrieveTask(request4, listener4);
157
		
158
	}
159
	
160
	public void testRetrieve() {
161
		queue.put(task1);
162
		queue.put(task2);
163
		
164
		while(!queue.isEmpty()) {		
165
		}
166
	}
167
	
168
	public void testCancelling() {
169
		long time = System.currentTimeMillis();
170
		
171
		queue.put(task1);
172
		queue.put(task2);
173
		boolean more = true;
174
		while (!queue.isEmpty()) {
175
			if (more && System.currentTimeMillis()-time > 1000) { // wait 1 seconds and cancel
176
				task2.cancel();
177
				more = false;
178
			}
179
		}
180
	}
181
	
182
	public void testRequestManager() {
183
		System.out.println("tests parallel downloading from different servers");
184
		request3.setFileName("task3");
185
		// http://localhost/avalencia.ecw
186
		
187
		request4.setFileName("task4");
188
		// http://192.168.0.223/prueba.rar
189
		RequestManager manager = RequestManager.getInstance();
190
		manager.addURLRequest(request3, listener3);
191
		manager.addURLRequest(request4, listener4);
192
		manager.addURLRequest(request4, listener1);
193
		while (!(finished1 && finished3 && finished4)) { 
194
			
195
		}
196
	}
197
	
198
	public void testCocurrentTransfers() {
199
		finished1 = finished2 = finished3 = finished4 = false;
200
		System.out.println("tests to merge two or more equivalent transfers into one");
201
		RequestManager manager = RequestManager.getInstance();
202
		//manager.removeURLRequest(request3);
203
		request3.setFileName("task3");
204
		
205
		manager.addURLRequest(request3, listener1);
206
		manager.addURLRequest(request3, listener2);
207
		manager.addURLRequest(request3, listener3);
208
		
209
		manager.addURLRequest(request3, listener4);
210
		while (!(finished1 && finished2 && finished3 && finished4)) { 
211
			
212
		}
213
	}
214
	
215
	public void printMessage(String who, int code) {
216
		switch (code) {
217
		case RetrieveEvent.CONNECTING:
218
			System.out.println(who+": connecting");
219
			break;
220
		case RetrieveEvent.TRANSFERRING:
221
			System.out.println(who+": transferring");
222
			break;
223
		case RetrieveEvent.REQUEST_CANCELLED:
224
			System.out.println(who+": cancelled");
225
			break;
226
		case RetrieveEvent.REQUEST_FINISHED:
227
			System.out.println(who+": finished");
228
			break;
229
		case RetrieveEvent.REQUEST_FAILED:
230
			System.err.println(who+": failed");
231
			break;
232
		case RetrieveEvent.NOT_STARTED:
233
			System.out.println(who+": not started");
234
			break;
235
		case RetrieveEvent.POSTPROCESSING:
236
			System.out.println(who+": postprocessing");
237
			break;
238
		}
239
	}
240
}
0 241

  
tags/org.gvsig.desktop-2.0.159/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/AllTests.java
1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
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 3
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
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.remoteclient;
25

  
26
import junit.framework.Test;
27
import junit.framework.TestSuite;
28

  
29
public class AllTests {
30

  
31
	public static Test suite() {
32
		TestSuite suite = new TestSuite("Test for org.gvsig.remoteClient");
33
		//$JUnit-BEGIN$
34
		suite.addTestSuite(Test.class);
35

  
36
		//commented until there is a way to simulate the needed servers.
37
		//suite.addTestSuite(URLRetrieveTest.class);
38
//		suite.addTestSuite(WCSProtocolHandler_1_0_0Test.class);
39

  
40
		//$JUnit-END$
41
		return suite;
42
	}
43

  
44
}
0 45

  
tags/org.gvsig.desktop-2.0.159/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/resources/wcs/WCS-simonCITCostasGetCapabilities.xml
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!--
3

  
4
    gvSIG. Desktop Geographic Information System.
5

  
6
    Copyright (C) 2007-2013 gvSIG Association.
7

  
8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12

  
13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17

  
18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22

  
23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25

  
26
-->
27
<WCS_Capabilities version="1.0.0" updateSequence="0" xmlns="http://www.opengis.net/wcs" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengeospatial.net/wcs/1.0.0/wcsCapabilities.xsd">
28
<Service>
29
  <name>MapServer WCS</name>
30
  <label>Servidor wcs simon</label>
31
  <keywords>
32
    <keyword>WCS</keyword>
33
  </keywords>
34
  <fees>NONE</fees>
35
  <accessConstraints>
36
    NONE
37
  </accessConstraints>
38
</Service>
39
<Capability>
40
  <Request>
41
    <GetCapabilities>
42
      <DCPType>
43
        <HTTP>
44
          <Get><OnlineResource xlink:type="simple" xlink:href="http://simon:2000/cgi-bin/mapserv?map=/etc/mapserver/interno/costas.map&amp;"/></Get>
45
        </HTTP>
46
      </DCPType>
47
      <DCPType>
48
        <HTTP>
49
          <Post><OnlineResource xlink:type="simple" xlink:href="http://simon:2000/cgi-bin/mapserv?map=/etc/mapserver/interno/costas.map&amp;"/></Post>
50
        </HTTP>
51
      </DCPType>
52
    </GetCapabilities>
53
    <DescribeCoverage>
54
      <DCPType>
55
        <HTTP>
56
          <Get><OnlineResource xlink:type="simple" xlink:href="http://simon:2000/cgi-bin/mapserv?map=/etc/mapserver/interno/costas.map&amp;"/></Get>
57
        </HTTP>
58
      </DCPType>
59
      <DCPType>
60
        <HTTP>
61
          <Post><OnlineResource xlink:type="simple" xlink:href="http://simon:2000/cgi-bin/mapserv?map=/etc/mapserver/interno/costas.map&amp;"/></Post>
62
        </HTTP>
63
      </DCPType>
64
    </DescribeCoverage>
65
    <GetCoverage>
66
      <DCPType>
67
        <HTTP>
68
          <Get><OnlineResource xlink:type="simple" xlink:href="http://simon:2000/cgi-bin/mapserv?map=/etc/mapserver/interno/costas.map&amp;"/></Get>
69
        </HTTP>
70
      </DCPType>
71
      <DCPType>
72
        <HTTP>
73
          <Post><OnlineResource xlink:type="simple" xlink:href="http://simon:2000/cgi-bin/mapserv?map=/etc/mapserver/interno/costas.map&amp;"/></Post>
74
        </HTTP>
75
      </DCPType>
76
    </GetCoverage>
77
  </Request>
78
  <Exception>
79
    <Format>application/vnd.ogc.se_xml</Format>
80
  </Exception>
81
  <VendorSpecificCapabilities/>
82
</Capability>
83
<ContentMetadata>
84
  <CoverageOfferingBrief>
85
  <description>Quickbird costas 2004</description>
86
  <name>Costas</name>
87
  <label>Costas</label>
88
    <lonLatEnvelope srsName="WGS84(DD)">
89
      <gml:pos>-0.769215668705582 37.8184338945691</gml:pos>
90
      <gml:pos>0.506868538627119 40.525456338613</gml:pos>
91
    </lonLatEnvelope>
92
  </CoverageOfferingBrief>
93
  <CoverageOfferingBrief>
94
  <name>orthop01_311104</name>
95
  <label>orthop01_311104</label>
96
    <lonLatEnvelope srsName="WGS84(DD)">
97
      <gml:pos>0.411953859600099 40.3952692250145</gml:pos>
98
      <gml:pos>0.506868538627582 40.498144970273</gml:pos>
99
    </lonLatEnvelope>
100
  </CoverageOfferingBrief>
101
  <CoverageOfferingBrief>
102
  <name>orthop02_041004</name>
103
  <label>orthop02_041004</label>
104
    <lonLatEnvelope srsName="WGS84(DD)">
105
      <gml:pos>0.161142185520058 40.1342857176869</gml:pos>
106
      <gml:pos>0.292548896326785 40.2560681974345</gml:pos>
107
    </lonLatEnvelope>
108
  </CoverageOfferingBrief>
109
  <CoverageOfferingBrief>
110
  <name>orthop03n_311004</name>
111
  <label>orthop03n_311004</label>
112
    <lonLatEnvelope srsName="WGS84(DD)">
113
      <gml:pos>0.147236128086632 40.111252474887</gml:pos>
114
      <gml:pos>0.209262927539442 40.1866363257871</gml:pos>
115
    </lonLatEnvelope>
116
  </CoverageOfferingBrief>
117
  <CoverageOfferingBrief>
118
  <name>orthop03s_311004_01</name>
119
  <label>orthop03s_311004_01</label>
120
    <lonLatEnvelope srsName="WGS84(DD)">
121
      <gml:pos>0.0872101105503621 40.0818258206747</gml:pos>
122
      <gml:pos>0.22114471507211 40.1932962005782</gml:pos>
123
    </lonLatEnvelope>
124
  </CoverageOfferingBrief>
125
  <CoverageOfferingBrief>
126
  <name>orthop03s_311004_02</name>
127
  <label>orthop03s_311004_02</label>
128
    <lonLatEnvelope srsName="WGS84(DD)">
129
      <gml:pos>0.030134915894617 40.0087916305901</gml:pos>
130
      <gml:pos>0.16383554256875 40.1202004185233</gml:pos>
131
    </lonLatEnvelope>
132
  </CoverageOfferingBrief>
133
  <CoverageOfferingBrief>
134
  <name>orthop04_311004_01</name>
135
  <label>orthop04_311004_01</label>
136
    <lonLatEnvelope srsName="WGS84(DD)">
137
      <gml:pos>-0.064429002189167 39.8686021111024</gml:pos>
138
      <gml:pos>0.0391632263460172 39.9701456674512</gml:pos>
139
    </lonLatEnvelope>
140
  </CoverageOfferingBrief>
141
  <CoverageOfferingBrief>
142
  <name>orthop04_311004_02</name>
143
  <label>orthop04_311004_02</label>
144
    <lonLatEnvelope srsName="WGS84(DD)">
145
      <gml:pos>-0.0059801589732133 39.9589210820855</gml:pos>
146
      <gml:pos>0.0861765725681437 40.0602012338313</gml:pos>
147
    </lonLatEnvelope>
148
  </CoverageOfferingBrief>
149
  <CoverageOfferingBrief>
150
  <name>orthop05_311004_01</name>
151
  <label>orthop05_311004_01</label>
152
    <lonLatEnvelope srsName="WGS84(DD)">
153
      <gml:pos>-0.184109898221608 39.7358685309031</gml:pos>
154
      <gml:pos>-0.0750466714741807 39.8374622821562</gml:pos>
155
    </lonLatEnvelope>
156
  </CoverageOfferingBrief>
157
  <CoverageOfferingBrief>
158
  <name>orthop05_311004_02</name>
159
  <label>orthop05_311004_02</label>
160
    <lonLatEnvelope srsName="WGS84(DD)">
161
      <gml:pos>-0.117821241552359 39.8165947273632</gml:pos>
162
      <gml:pos>-0.00269513638604592 39.9183962094939</gml:pos>
163
    </lonLatEnvelope>
164
  </CoverageOfferingBrief>
165
  <CoverageOfferingBrief>
166
  <name>orthop06_311004_01</name>
167
  <label>orthop06_311004_01</label>
168
    <lonLatEnvelope srsName="WGS84(DD)">
169
      <gml:pos>-0.275219416965276 39.5950920024498</gml:pos>
170
      <gml:pos>-0.184155536472809 39.6871833112806</gml:pos>
171
    </lonLatEnvelope>
172
  </CoverageOfferingBrief>
173
  <CoverageOfferingBrief>
174
  <name>orthop06_311004_02</name>
175
  <label>orthop06_311004_02</label>
176
    <lonLatEnvelope srsName="WGS84(DD)">
177
      <gml:pos>-0.215882735212665 39.6816925812939</gml:pos>
178
      <gml:pos>-0.153792859579015 39.7776035452773</gml:pos>
179
    </lonLatEnvelope>
180
  </CoverageOfferingBrief>
181
  <CoverageOfferingBrief>
182
  <name>orthop07_311004_01</name>
183
  <label>orthop07_311004_01</label>
184
    <lonLatEnvelope srsName="WGS84(DD)">
185
      <gml:pos>-0.314134220213874 39.5389645252734</gml:pos>
186
      <gml:pos>-0.208807505395484 39.6457600608977</gml:pos>
187
    </lonLatEnvelope>
188
  </CoverageOfferingBrief>
189
  <CoverageOfferingBrief>
190
  <name>orthop07_311004_02</name>
191
  <label>orthop07_311004_02</label>
192
    <lonLatEnvelope srsName="WGS84(DD)">
193
      <gml:pos>-0.342128552498647 39.4528266976444</gml:pos>
194
      <gml:pos>-0.274745188591142 39.5443190026711</gml:pos>
195
    </lonLatEnvelope>
196
  </CoverageOfferingBrief>
197
  <CoverageOfferingBrief>
198
  <name>orthop08_081104</name>
199
  <label>orthop08_081104</label>
200
    <lonLatEnvelope srsName="WGS84(DD)">
201
      <gml:pos>0.12173136235497 38.7060005480509</gml:pos>
202
      <gml:pos>0.244722293013489 38.8396720246421</gml:pos>
203
    </lonLatEnvelope>
204
  </CoverageOfferingBrief>
205
  <CoverageOfferingBrief>
206
  <name>orthop09_081104_01</name>
207
  <label>orthop09_081104_01</label>
208
    <lonLatEnvelope srsName="WGS84(DD)">
209
      <gml:pos>0.088804767492067 38.6613849297483</gml:pos>
210
      <gml:pos>0.207196405070599 38.7454726610249</gml:pos>
211
    </lonLatEnvelope>
212
  </CoverageOfferingBrief>
213
  <CoverageOfferingBrief>
214
  <name>orthop09_081104_02</name>
215
  <label>orthop09_081104_02</label>
216
    <lonLatEnvelope srsName="WGS84(DD)">
217
      <gml:pos>0.00632349885466636 38.6164934605806</gml:pos>
218
      <gml:pos>0.106715050330735 38.6865464583593</gml:pos>
219
    </lonLatEnvelope>
220
  </CoverageOfferingBrief>
221
  <CoverageOfferingBrief>
222
  <name>orthop10_081104_01</name>
223
  <label>orthop10_081104_01</label>
224
    <lonLatEnvelope srsName="WGS84(DD)">
225
      <gml:pos>-0.136980485807463 38.5170546860605</gml:pos>
226
      <gml:pos>-0.0371101117727906 38.5806924900864</gml:pos>
227
    </lonLatEnvelope>
228
  </CoverageOfferingBrief>
229
  <CoverageOfferingBrief>
230
  <name>orthop10_081104_02</name>
231
  <label>orthop10_081104_02</label>
232
    <lonLatEnvelope srsName="WGS84(DD)">
233
      <gml:pos>-0.076735106882625 38.5664797341347</gml:pos>
234
      <gml:pos>0.0816807635068847 38.6559597659495</gml:pos>
235
    </lonLatEnvelope>
236
  </CoverageOfferingBrief>
237
  <CoverageOfferingBrief>
238
  <name>orthop11_081104</name>
239
  <label>orthop11_081104</label>
240
    <lonLatEnvelope srsName="WGS84(DD)">
241
      <gml:pos>-0.311501790904784 38.4707367989647</gml:pos>
242
      <gml:pos>-0.0783292130480387 38.5509769105466</gml:pos>
243
    </lonLatEnvelope>
244
  </CoverageOfferingBrief>
245
  <CoverageOfferingBrief>
246
  <name>orthop12_081104_01</name>
247
  <label>orthop12_081104_01</label>
248
    <lonLatEnvelope srsName="WGS84(DD)">
249
      <gml:pos>-0.434119927724276 38.3464080099809</gml:pos>
250
      <gml:pos>-0.361629767927456 38.4559730050029</gml:pos>
251
    </lonLatEnvelope>
252
  </CoverageOfferingBrief>
253
  <CoverageOfferingBrief>
254
  <name>orthop12_081104_02</name>
255
  <label>orthop12_081104_02</label>
256
    <lonLatEnvelope srsName="WGS84(DD)">
257
      <gml:pos>-0.378614997044234 38.4352112413258</gml:pos>
258
      <gml:pos>-0.255874384616388 38.5054927088623</gml:pos>
259
    </lonLatEnvelope>
260
  </CoverageOfferingBrief>
261
  <CoverageOfferingBrief>
262
  <name>orthop13_131104</name>
263
  <label>orthop13_131104</label>
264
    <lonLatEnvelope srsName="WGS84(DD)">
265
      <gml:pos>-0.348041797937859 39.3383153088596</gml:pos>
266
      <gml:pos>-0.281041463417471 39.5461928127946</gml:pos>
267
    </lonLatEnvelope>
268
  </CoverageOfferingBrief>
269
  <CoverageOfferingBrief>
270
  <name>orthop14_131104</name>
271
  <label>orthop14_131104</label>
272
    <lonLatEnvelope srsName="WGS84(DD)">
273
      <gml:pos>-0.339955238250429 39.2232477387865</gml:pos>
274
      <gml:pos>-0.232429279860554 39.4011207166876</gml:pos>
275
    </lonLatEnvelope>
276
  </CoverageOfferingBrief>
277
  <CoverageOfferingBrief>
278
  <name>orthop15_131104</name>
279
  <label>orthop15_131104</label>
280
    <lonLatEnvelope srsName="WGS84(DD)">
281
      <gml:pos>-0.289235759595255 39.0872233017579</gml:pos>
282
      <gml:pos>-0.198718862025195 39.2746110942999</gml:pos>
283
    </lonLatEnvelope>
284
  </CoverageOfferingBrief>
285
  <CoverageOfferingBrief>
286
  <name>orthop16_131104_01</name>
287
  <label>orthop16_131104_01</label>
288
    <lonLatEnvelope srsName="WGS84(DD)">
289
      <gml:pos>-0.247058054572741 39.0510556962122</gml:pos>
290
      <gml:pos>-0.174196293066241 39.1427258689371</gml:pos>
291
    </lonLatEnvelope>
292
  </CoverageOfferingBrief>
293
  <CoverageOfferingBrief>
294
  <name>orthop16_131104_02</name>
295
  <label>orthop16_131104_02</label>
296
    <lonLatEnvelope srsName="WGS84(DD)">
297
      <gml:pos>-0.210822301766025 38.9726237490186</gml:pos>
298
      <gml:pos>-0.126828888562913 39.0555974632164</gml:pos>
299
    </lonLatEnvelope>
300
  </CoverageOfferingBrief>
301
  <CoverageOfferingBrief>
302
  <name>orthop17_131104_01</name>
303
  <label>orthop17_131104_01</label>
304
    <lonLatEnvelope srsName="WGS84(DD)">
305
      <gml:pos>-0.181657602795786 38.9357185021325</gml:pos>
306
      <gml:pos>-0.0746335106867938 39.0192845975789</gml:pos>
307
    </lonLatEnvelope>
308
  </CoverageOfferingBrief>
309
  <CoverageOfferingBrief>
310
  <name>orthop17_131104_02</name>
311
  <label>orthop17_131104_02</label>
312
    <lonLatEnvelope srsName="WGS84(DD)">
313
      <gml:pos>-0.117943002348703 38.868294412074</gml:pos>
314
      <gml:pos>-0.00576191400621702 38.9385565931551</gml:pos>
315
    </lonLatEnvelope>
316
  </CoverageOfferingBrief>
317
  <CoverageOfferingBrief>
318
  <name>orthop18_131104</name>
319
  <label>orthop18_131104</label>
320
    <lonLatEnvelope srsName="WGS84(DD)">
321
      <gml:pos>-0.0746928352616706 38.849326950655</gml:pos>
322
      <gml:pos>0.0832043718423081 38.9118300407968</gml:pos>
323
    </lonLatEnvelope>
324
  </CoverageOfferingBrief>
325
  <CoverageOfferingBrief>
326
  <name>orthop19_081104_01</name>
327
  <label>orthop19_081104_01</label>
328
    <lonLatEnvelope srsName="WGS84(DD)">
329
      <gml:pos>-0.528755271098844 38.2508371352818</gml:pos>
330
      <gml:pos>-0.430862375100228 38.3735051096161</gml:pos>
331
    </lonLatEnvelope>
332
  </CoverageOfferingBrief>
333
  <CoverageOfferingBrief>
334
  <name>orthop19_081104_02</name>
335
  <label>orthop19_081104_02</label>
336
    <lonLatEnvelope srsName="WGS84(DD)">
337
      <gml:pos>-0.434119991295443 38.3464062094665</gml:pos>
338
      <gml:pos>-0.362213489804466 38.4388675293538</gml:pos>
339
    </lonLatEnvelope>
340
  </CoverageOfferingBrief>
341
  <CoverageOfferingBrief>
342
  <name>orthop20_181104_01</name>
343
  <label>orthop20_181104_01</label>
344
    <lonLatEnvelope srsName="WGS84(DD)">
345
      <gml:pos>-0.649715059513851 38.1131199164285</gml:pos>
346
      <gml:pos>-0.505465344489574 38.2015894747853</gml:pos>
347
    </lonLatEnvelope>
348
  </CoverageOfferingBrief>
349
  <CoverageOfferingBrief>
350
  <name>orthop20_181104_02</name>
351
  <label>orthop20_181104_02</label>
352
    <lonLatEnvelope srsName="WGS84(DD)">
353
      <gml:pos>-0.542876572296919 38.1796186626201</gml:pos>
354
      <gml:pos>-0.490783803978381 38.3021933075773</gml:pos>
355
    </lonLatEnvelope>
356
  </CoverageOfferingBrief>
357
  <CoverageOfferingBrief>
358
  <name>orthop21_181104</name>
359
  <label>orthop21_181104</label>
360
    <lonLatEnvelope srsName="WGS84(DD)">
361
      <gml:pos>-0.70999963728032 37.9537566817542</gml:pos>
362
      <gml:pos>-0.618069622814675 38.1598790871345</gml:pos>
363
    </lonLatEnvelope>
364
  </CoverageOfferingBrief>
365
  <CoverageOfferingBrief>
366
  <name>orthop22_1811004</name>
367
  <label>orthop22_1811004</label>
368
    <lonLatEnvelope srsName="WGS84(DD)">
369
      <gml:pos>-0.769215668705582 37.8434482545183</gml:pos>
370
      <gml:pos>-0.647530102352871 37.9934296541121</gml:pos>
371
    </lonLatEnvelope>
372
  </CoverageOfferingBrief>
373
  <CoverageOfferingBrief>
374
  <name>orthop23_261104</name>
375
  <label>orthop23_261104</label>
376
    <lonLatEnvelope srsName="WGS84(DD)">
377
      <gml:pos>0.37345887604184 40.3368089707198</gml:pos>
378
      <gml:pos>0.448414395595265 40.4485879556897</gml:pos>
379
    </lonLatEnvelope>
380
  </CoverageOfferingBrief>
381
  <CoverageOfferingBrief>
382
  <name>orthop24_261104_01</name>
383
  <label>orthop24_261104_01</label>
384
    <lonLatEnvelope srsName="WGS84(DD)">
385
      <gml:pos>0.234463105473658 40.1856768191399</gml:pos>
386
      <gml:pos>0.356188772135398 40.278972533725</gml:pos>
387
    </lonLatEnvelope>
388
  </CoverageOfferingBrief>
389
  <CoverageOfferingBrief>
390
  <name>orthop24_261104_02</name>
391
  <label>orthop24_261104_02</label>
392
    <lonLatEnvelope srsName="WGS84(DD)">
393
      <gml:pos>0.296938622582628 40.2681463248799</gml:pos>
394
      <gml:pos>0.419350322091118 40.3705009241081</gml:pos>
395
    </lonLatEnvelope>
396
  </CoverageOfferingBrief>
397
  <CoverageOfferingBrief>
398
  <name>orthop25_191204</name>
399
  <label>orthop25_191204</label>
400
    <lonLatEnvelope srsName="WGS84(DD)">
401
      <gml:pos>0.0631186665735442 38.8067199905354</gml:pos>
402
      <gml:pos>0.197563116913112 38.863410634572</gml:pos>
403
    </lonLatEnvelope>
404
  </CoverageOfferingBrief>
405
</ContentMetadata>
406
</WCS_Capabilities>
0 407

  
tags/org.gvsig.desktop-2.0.159/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/resources/wcs/WCS-hypnosDescribeCoverage.xml
1
<?xml version='1.0' encoding="ISO-8859-1" ?>
2
<!--
3

  
4
    gvSIG. Desktop Geographic Information System.
5

  
6
    Copyright (C) 2007-2013 gvSIG Association.
7

  
8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12

  
13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17

  
18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22

  
23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25

  
26
-->
27
<CoverageDescription
28
   version="1.0.0" 
29
   updateSequence="0" 
30
   xmlns="http://www.opengis.net/wcs" 
31
   xmlns:xlink="http://www.w3.org/1999/xlink" 
32
   xmlns:gml="http://www.opengis.net/gml" 
33
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
34
   xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengeospatial.net/wcs/1.0.0/describeCoverage.xsd">
35
  <CoverageOffering>
36
  <name>ndvi</name>
37
  <label>North Central US MODIS-based NDVI Images for 2002</label>
38
    <lonLatEnvelope srsName="WGS84(DD)">
39
      <gml:pos>-97.7071758865421 41.0324719184183</gml:pos>
40
      <gml:pos>-80.6778361148771 49.6650665681236</gml:pos>
41
    </lonLatEnvelope>
42
    <domainSet>
43
      <spatialDomain>
44
        <gml:Envelope srsName="WGS84(DD)">
45
          <gml:pos>-97.7071758865421 41.0324719184183</gml:pos>
46
          <gml:pos>-80.6778361148771 49.6650665681236</gml:pos>
47
        </gml:Envelope>
48
        <gml:Envelope srsName="EPSG:26915">
49
          <gml:pos>159707 4597895</gml:pos>
50
          <gml:pos>1400207 5501395</gml:pos>
51
        </gml:Envelope>
52
        <gml:RectifiedGrid dimension="2">
53
          <gml:limits>
54
            <gml:GridEnvelope>
55
              <gml:low>0 0</gml:low>
56
              <gml:high>2480 1806</gml:high>
57
            </gml:GridEnvelope>
58
          </gml:limits>
59
          <gml:axisName>x</gml:axisName>
60
          <gml:axisName>y</gml:axisName>
61
          <gml:origin>
62
            <gml:pos>159707 5501395</gml:pos>
63
          </gml:origin>
64
          <gml:offsetVector>500 0</gml:offsetVector>
65
          <gml:offsetVector>0 -500</gml:offsetVector>
66
        </gml:RectifiedGrid>
67
      </spatialDomain>
68
      <temporalDomain>
69
        <gml:timePosition>2002-001</gml:timePosition>
70
        <gml:timePosition>2002-033</gml:timePosition>
71
        <gml:timePosition>2002-049</gml:timePosition>
72
        <gml:timePosition>2002-065</gml:timePosition>
73
        <gml:timePosition>2002-081</gml:timePosition>
74
        <gml:timePosition>2002-097</gml:timePosition>
75
        <gml:timePosition>2002-113</gml:timePosition>
76
        <gml:timePosition>2002-129</gml:timePosition>
77
        <gml:timePosition>2002-145</gml:timePosition>
78
        <gml:timePosition>2002-161</gml:timePosition>
79
        <gml:timePosition>2002-177</gml:timePosition>
80
        <gml:timePosition>2002-193</gml:timePosition>
81
      </temporalDomain>
82
    </domainSet>
83
    <rangeSet>
84
      <RangeSet>
85
<!-- WARNING: Mandatory metadata '..._rangeset_name' was missing in this context. -->
86
<!-- WARNING: Mandatory metadata '..._rangeset_label' was missing in this context. -->
87
      </RangeSet>
88
    </rangeSet>
89
    <supportedCRSs>
90
      <requestResponseCRSs>EPSG:26915 EPSG:2163 EPSG:4269 EPSG:4326</requestResponseCRSs>
91
      <nativeCRSs>EPSG:26915</nativeCRSs>
92
    </supportedCRSs>
93
    <supportedFormats nativeFormat="raw binary">
94
      <formats>GEOTIFF_INT16 HFA_INT16</formats>
95
    </supportedFormats>
96
  </CoverageOffering>
97
  <CoverageOffering>
98
  <name>fpar</name>
99
  <label>North Central US MODIS-based FPAR Images for 2002</label>
100
    <lonLatEnvelope srsName="WGS84(DD)">
101
      <gml:pos>-97.7071758865421 41.0324719184183</gml:pos>
102
      <gml:pos>-80.6778361148771 49.6650665681236</gml:pos>
103
    </lonLatEnvelope>
104
    <domainSet>
105
      <spatialDomain>
106
        <gml:Envelope srsName="WGS84(DD)">
107
          <gml:pos>-97.7071758865421 41.0324719184183</gml:pos>
108
          <gml:pos>-80.6778361148771 49.6650665681236</gml:pos>
109
        </gml:Envelope>
110
        <gml:Envelope srsName="EPSG:26915">
111
          <gml:pos>159707 4597895</gml:pos>
112
          <gml:pos>1400207 5501395</gml:pos>
113
        </gml:Envelope>
114
        <gml:RectifiedGrid dimension="2">
115
          <gml:limits>
116
            <gml:GridEnvelope>
117
              <gml:low>0 0</gml:low>
118
              <gml:high>1240 903</gml:high>
119
            </gml:GridEnvelope>
120
          </gml:limits>
121
          <gml:axisName>x</gml:axisName>
122
          <gml:axisName>y</gml:axisName>
123
          <gml:origin>
124
            <gml:pos>159707 5501395</gml:pos>
125
          </gml:origin>
126
          <gml:offsetVector>1000 0</gml:offsetVector>
127
          <gml:offsetVector>0 -1000</gml:offsetVector>
128
        </gml:RectifiedGrid>
129
      </spatialDomain>
130
      <temporalDomain>
131
        <gml:timePosition>2002-001</gml:timePosition>
132
        <gml:timePosition>2002-033</gml:timePosition>
133
        <gml:timePosition>2002-057</gml:timePosition>
134
        <gml:timePosition>2002-073</gml:timePosition>
135
        <gml:timePosition>2002-089</gml:timePosition>
136
        <gml:timePosition>2002-097</gml:timePosition>
137
        <gml:timePosition>2002-105</gml:timePosition>
138
        <gml:timePosition>2002-121</gml:timePosition>
139
        <gml:timePosition>2002-137</gml:timePosition>
140
        <gml:timePosition>2002-153</gml:timePosition>
141
        <gml:timePosition>2002-169</gml:timePosition>
142
        <gml:timePosition>2002-185</gml:timePosition>
143
        <gml:timePosition>2002-201</gml:timePosition>
144
      </temporalDomain>
145
    </domainSet>
146
    <rangeSet>
147
      <RangeSet>
148
        <name>rangeset name</name>
149
        <label>rangeset label</label>
150
      </RangeSet>
151
    </rangeSet>
152
    <supportedCRSs>
153
      <requestResponseCRSs>EPSG:26915 EPSG:2163 EPSG:4269 EPSG:4326</requestResponseCRSs>
154
      <nativeCRSs>EPSG:26915</nativeCRSs>
155
    </supportedCRSs>
156
    <supportedFormats nativeFormat="raw binary">
157
      <formats>GEOTIFF_INT16 HFA_INT16</formats>
158
    </supportedFormats>
159
  </CoverageOffering>
160
  <CoverageOffering>
161
  <name>modis</name>
162
  <label>North Central US MODIS Images for 2002</label>
163
    <lonLatEnvelope srsName="WGS84(DD)">
164
      <gml:pos>-97.7071758865421 41.0324719184183</gml:pos>
165
      <gml:pos>-80.6778361148771 49.6650665681236</gml:pos>
166
    </lonLatEnvelope>
167
    <domainSet>
168
      <spatialDomain>
169
        <gml:Envelope srsName="WGS84(DD)">
170
          <gml:pos>-97.7071758865421 41.0324719184183</gml:pos>
171
          <gml:pos>-80.6778361148771 49.6650665681236</gml:pos>
172
        </gml:Envelope>
173
        <gml:Envelope srsName="EPSG:26915">
174
          <gml:pos>159707 4597895</gml:pos>
175
          <gml:pos>1400207 5501395</gml:pos>
176
        </gml:Envelope>
177
        <gml:RectifiedGrid dimension="2">
178
          <gml:limits>
179
            <gml:GridEnvelope>
180
              <gml:low>0 0</gml:low>
181
              <gml:high>2480 1806</gml:high>
182
            </gml:GridEnvelope>
183
          </gml:limits>
184
          <gml:axisName>x</gml:axisName>
185
          <gml:axisName>y</gml:axisName>
186
          <gml:origin>
187
            <gml:pos>159707 5501395</gml:pos>
188
          </gml:origin>
189
          <gml:offsetVector>500 0</gml:offsetVector>
190
          <gml:offsetVector>0 -500</gml:offsetVector>
191
        </gml:RectifiedGrid>
192
      </spatialDomain>
193
      <temporalDomain>
194
        <gml:timePosition>2002-001</gml:timePosition>
195
        <gml:timePosition>2002-033</gml:timePosition>
196
        <gml:timePosition>2002-057</gml:timePosition>
197
        <gml:timePosition>2002-073</gml:timePosition>
198
        <gml:timePosition>2002-089</gml:timePosition>
199
        <gml:timePosition>2002-097</gml:timePosition>
200
        <gml:timePosition>2002-105</gml:timePosition>
201
        <gml:timePosition>2002-121</gml:timePosition>
202
        <gml:timePosition>2002-153</gml:timePosition>
203
        <gml:timePosition>2002-169</gml:timePosition>
204
        <gml:timePosition>2002-185</gml:timePosition>
205
        <gml:timePosition>2002-201</gml:timePosition>
206
      </temporalDomain>
207
    </domainSet>
208
    <rangeSet>
209
      <RangeSet>
210
        <name>rangeset name</name>
211
        <label>rangeset label</label>
212
        <axisDescription>
213
          <AxisDescription semantic="http://terrasip.gis.umn.edu/" refSys="UTM Zone 15N, NAD83">
214
            <name>bands</name>
215
            <label>MODIS Bands</label>
216
            <values>
217
              <singleValue>1</singleValue>
218
              <singleValue>2</singleValue>
219
              <singleValue>3</singleValue>
220
              <singleValue>4</singleValue>
221
              <singleValue>5</singleValue>
222
              <singleValue>6</singleValue>
223
              <singleValue>7</singleValue>
224
            </values>
225
          </AxisDescription>
226
        </axisDescription>
227
      </RangeSet>
228
    </rangeSet>
229
    <supportedCRSs>
230
      <requestResponseCRSs>EPSG:26915 EPSG:2163 EPSG:4269 EPSG:4326</requestResponseCRSs>
231
      <nativeCRSs>EPSG:26915</nativeCRSs>
232
    </supportedCRSs>
233
    <supportedFormats nativeFormat="raw binary">
234
      <formats>GEOTIFF_RGB HFA_RGB GEOTIFF_16BIT HFA_16BIT</formats>
235
    </supportedFormats>
236
  </CoverageOffering>
237
</CoverageDescription>
0 238

  
tags/org.gvsig.desktop-2.0.159/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/resources/wcs/WCS-ionicDescribeCoverage.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3

  
4
    gvSIG. Desktop Geographic Information System.
5

  
6
    Copyright (C) 2007-2013 gvSIG Association.
7

  
8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12

  
13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17

  
18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22

  
23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25

  
26
-->
27
<CoverageDescription version="1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengis.net/wcs/1.0.0/describeCoverage.xsd" xmlns="http://www.opengis.net/wcs" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml">
28
    <CoverageOffering>
29
      <description>
30
      Coverage Data
31
      </description>
32
      <name>VNIR_Swath</name>
33
      <label>0 / VNIR_Swath</label>
34
      <lonLatEnvelope srsName="WGS84(DD)">
35
        <gml:pos>-87.052103 34.541414</gml:pos>
36
        <gml:pos>-86.310148 35.082561</gml:pos>
37
      </lonLatEnvelope>
38
      <domainSet>
39
        <spatialDomain>
40
          <gml:Envelope srsName="EPSG:4326">
41
            <gml:pos>-87.052103 34.541414</gml:pos>
42
            <gml:pos>-86.310148 35.082561</gml:pos>
43
          </gml:Envelope>
44
          <gml:RectifiedGrid dimension="2" srsName="EPSG:4326">
45
            <gml:limits>
46
              <gml:GridEnvelope>
47
                <gml:low>0 0</gml:low>
48
                <gml:high>4980 4200</gml:high>
49
              </gml:GridEnvelope>
50
            </gml:limits>
51
            <gml:axisName>X</gml:axisName>
52
            <gml:axisName>Y</gml:axisName>
53
            <gml:origin srsName="EPSG:4326">
54
              <gml:pos>-87.052103 35.082561</gml:pos>
55
            </gml:origin>
56
            <gml:offsetVector>1.5E-4 0</gml:offsetVector>
57
            <gml:offsetVector>0 -1.3E-4</gml:offsetVector>
58
          </gml:RectifiedGrid>
59
        </spatialDomain>
60
        <temporalDomain>
61
          <gml:timePosition>2003-06-08T16:36:15Z</gml:timePosition>
62
        </temporalDomain>
63
      </domainSet>
64
      <rangeSet>
65
        <RangeSet>
66
          <name>Range Set</name>
67
          <label>Range Set Description</label>
68
          <axisDescription>
69
            <AxisDescription>
70
              <name>Fields</name>
71
              <label>Field Sequence</label>
72
              <values>
73
                <singleValue>ImageData1</singleValue>
74
                <singleValue>ImageData2</singleValue>
75
                <singleValue>ImageData3N</singleValue>
76
                <singleValue>ImageData3B</singleValue>
77
              </values>
78
            </AxisDescription>
79
          </axisDescription>
80
          <axisDescription>
81
            <AxisDescription>
82
              <description>
83
              percent of area that is covered with clouds
84
              </description>
85
              <name>Cloud</name>
86
              <label>Percent of Cloud Cover</label>
87
              <values>
88
                <singleValue>3.0</singleValue>
89
              </values>
90
            </AxisDescription>
91
          </axisDescription>
92
          <nullValues>
93
            <singleValue>0</singleValue>
94
          </nullValues>
95
        </RangeSet>
96
      </rangeSet>
97
      <supportedCRSs>
98
        <requestResponseCRSs>EPSG:4326
99
        </requestResponseCRSs>
100
        <requestResponseCRSs>Image</requestResponseCRSs>
101
        <nativeCRSs>EPSG:4326</nativeCRSs>
102
      </supportedCRSs>
103
      <supportedFormats>
104
        <formats>GeoTIFF</formats>
105
        <formats>HDF-EOS</formats>
106
      </supportedFormats>
107
      <supportedInterpolations>
108
        <interpolationMethod>nearest neighbor</interpolationMethod>
109
        <interpolationMethod>bilinear</interpolationMethod>
110
        <interpolationMethod>bicubic</interpolationMethod>
111
      </supportedInterpolations>
112
    </CoverageOffering>
113
    <CoverageOffering>
114
      <description>
115
      Coverage Data
116
      </description>
117
      <name>SWIR_Swath</name>
118
      <label>1 / SWIR_Swath</label>
119
      <lonLatEnvelope srsName="WGS84(DD)">
120
        <gml:pos>-87.052048 34.541351</gml:pos>
121
        <gml:pos>-86.310093 35.082498</gml:pos>
122
      </lonLatEnvelope>
123
      <domainSet>
124
        <spatialDomain>
125
          <gml:Envelope srsName="EPSG:4326">
126
            <gml:pos>-87.052048 34.541351</gml:pos>
127
            <gml:pos>-86.310093 35.082498</gml:pos>
128
          </gml:Envelope>
129
          <gml:RectifiedGrid dimension="2" srsName="EPSG:4326">
130
            <gml:limits>
131
              <gml:GridEnvelope>
132
                <gml:low>0 0</gml:low>
133
                <gml:high>2490 2100</gml:high>
134
              </gml:GridEnvelope>
135
            </gml:limits>
136
            <gml:axisName>X</gml:axisName>
137
            <gml:axisName>Y</gml:axisName>
138
            <gml:origin srsName="EPSG:4326">
139
              <gml:pos>-87.052048 35.082498</gml:pos>
140
            </gml:origin>
141
            <gml:offsetVector>3.0E-4 0</gml:offsetVector>
142
            <gml:offsetVector>0 -2.6E-4</gml:offsetVector>
143
          </gml:RectifiedGrid>
144
        </spatialDomain>
145
        <temporalDomain>
146
          <gml:timePosition>2003-06-08T16:36:15Z</gml:timePosition>
147
        </temporalDomain>
148
      </domainSet>
149
      <rangeSet>
150
        <RangeSet>
151
          <name>Range Set</name>
152
          <label>Range Set Description</label>
153
          <axisDescription>
154
            <AxisDescription>
155
              <name>Fields</name>
156
              <label>Field Sequence</label>
157
              <values>
158
                <singleValue>ImageData4</singleValue>
159
                <singleValue>ImageData5</singleValue>
160
                <singleValue>ImageData6</singleValue>
161
                <singleValue>ImageData7</singleValue>
162
                <singleValue>ImageData8</singleValue>
163
                <singleValue>ImageData9</singleValue>
164
              </values>
165
            </AxisDescription>
166
          </axisDescription>
167
          <axisDescription>
168
            <AxisDescription>
169
              <description>
170
              percent of area that is covered with clouds
171
              </description>
172
              <name>Cloud</name>
173
              <label>Percent of Cloud Cover</label>
174
              <values>
175
                <singleValue>3.0</singleValue>
176
              </values>
177
            </AxisDescription>
178
          </axisDescription>
179
          <nullValues>
180
            <singleValue>0</singleValue>
181
          </nullValues>
182
        </RangeSet>
183
      </rangeSet>
184
      <supportedCRSs>
185
        <requestResponseCRSs>EPSG:4326
186
        </requestResponseCRSs>
187
        <requestResponseCRSs>Image</requestResponseCRSs>
188
        <nativeCRSs>EPSG:4326</nativeCRSs>
189
      </supportedCRSs>
190
      <supportedFormats>
191
        <formats>GeoTIFF</formats>
192
        <formats>HDF-EOS</formats>
193
      </supportedFormats>
194
      <supportedInterpolations>
195
        <interpolationMethod>nearest neighbor</interpolationMethod>
196
        <interpolationMethod>bilinear</interpolationMethod>
197
        <interpolationMethod>bicubic</interpolationMethod>
198
      </supportedInterpolations>
199
    </CoverageOffering>
200
    <CoverageOffering>
201
      <description>
202
      Coverage Data
203
      </description>
204
      <name>TIR_Swath</name>
205
      <label>2 / TIR_Swath</label>
206
      <lonLatEnvelope srsName="WGS84(DD)">
207
        <gml:pos>-87.051827 34.541099</gml:pos>
208
        <gml:pos>-86.309874 35.082247</gml:pos>
209
      </lonLatEnvelope>
210
      <domainSet>
211
        <spatialDomain>
212
          <gml:Envelope srsName="EPSG:4326">
213
            <gml:pos>-87.051827 34.541099</gml:pos>
214
            <gml:pos>-86.309874 35.082247</gml:pos>
215
          </gml:Envelope>
216
          <gml:RectifiedGrid dimension="2" srsName="EPSG:4326">
217
            <gml:limits>
218
              <gml:GridEnvelope>
219
                <gml:low>0 0</gml:low>
220
                <gml:high>830 700</gml:high>
221
              </gml:GridEnvelope>
222
            </gml:limits>
223
            <gml:axisName>X</gml:axisName>
224
            <gml:axisName>Y</gml:axisName>
225
            <gml:origin srsName="EPSG:4326">
226
              <gml:pos>-87.051827 35.082247</gml:pos>
227
            </gml:origin>
228
            <gml:offsetVector>8.9E-4 0</gml:offsetVector>
229
            <gml:offsetVector>0 -7.7E-4</gml:offsetVector>
230
          </gml:RectifiedGrid>
231
        </spatialDomain>
232
        <temporalDomain>
233
          <gml:timePosition>2003-06-08T16:36:15Z</gml:timePosition>
234
        </temporalDomain>
235
      </domainSet>
236
      <rangeSet>
237
        <RangeSet>
238
          <name>Range Set</name>
239
          <label>Range Set Description</label>
240
          <axisDescription>
241
            <AxisDescription>
242
              <name>Fields</name>
243
              <label>Field Sequence</label>
244
              <values>
245
                <singleValue>ImageData10</singleValue>
246
                <singleValue>ImageData11</singleValue>
247
                <singleValue>ImageData12</singleValue>
248
                <singleValue>ImageData13</singleValue>
249
                <singleValue>ImageData14</singleValue>
250
              </values>
251
            </AxisDescription>
252
          </axisDescription>
253
          <axisDescription>
254
            <AxisDescription>
255
              <description>
256
              percent of area that is covered with clouds
257
              </description>
258
              <name>Cloud</name>
259
              <label>Percent of Cloud Cover</label>
260
              <values>
261
                <singleValue>3.0</singleValue>
262
              </values>
263
            </AxisDescription>
264
          </axisDescription>
265
          <nullValues>
266
            <singleValue>0</singleValue>
267
          </nullValues>
268
        </RangeSet>
269
      </rangeSet>
270
      <supportedCRSs>
271
        <requestResponseCRSs>EPSG:4326
272
        </requestResponseCRSs>
273
        <requestResponseCRSs>Image</requestResponseCRSs>
274
        <nativeCRSs>EPSG:4326</nativeCRSs>
275
      </supportedCRSs>
276
      <supportedFormats>
277
        <formats>GeoTIFF</formats>
278
        <formats>HDF-EOS</formats>
279
      </supportedFormats>
280
      <supportedInterpolations>
281
        <interpolationMethod>nearest neighbor</interpolationMethod>
282
        <interpolationMethod>bilinear</interpolationMethod>
283
        <interpolationMethod>bicubic</interpolationMethod>
284
      </supportedInterpolations>
285
    </CoverageOffering>
286
  </CoverageDescription>
0 287

  
tags/org.gvsig.desktop-2.0.159/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/resources/wcs/WCS-simonCITCostasDescribeCoverage.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!--
3

  
4
    gvSIG. Desktop Geographic Information System.
5

  
6
    Copyright (C) 2007-2013 gvSIG Association.
7

  
8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12

  
13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17

  
18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22

  
23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25

  
26
-->
27
<CoverageDescription version="1.0.0" updateSequence="0" xmlns="http://www.opengis.net/wcs" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengeospatial.net/wcs/1.0.0/describeCoverage.xsd">
28
  <CoverageOffering>
29
  <description>Quickbird costas 2004</description>
30
  <name>Costas</name>
31
  <label>Costas</label>
32
    <lonLatEnvelope srsName="WGS84(DD)">
33
      <gml:pos>-0.769215668705582 37.8184338945691</gml:pos>
34
      <gml:pos>0.506868538627119 40.525456338613</gml:pos>
35
    </lonLatEnvelope>
36
    <domainSet>
37
      <spatialDomain>
38
        <gml:Envelope srsName="WGS84(DD)">
39
          <gml:pos>-0.769215668705582 37.8184338945691</gml:pos>
40
          <gml:pos>0.506868538627119 40.525456338613</gml:pos>
41
        </gml:Envelope>
42
        <gml:Envelope srsName="EPSG:23030">
43
          <gml:pos>696287.65 4191112.35</gml:pos>
44
          <gml:pos>797213.426521 4488737.845669</gml:pos>
45
        </gml:Envelope>
46
        <gml:RectifiedGrid dimension="2">
47
          <gml:limits>
48
            <gml:GridEnvelope>
49
              <gml:low>0 0</gml:low>
50
              <gml:high>144179 425177</gml:high>
51
            </gml:GridEnvelope>
52
          </gml:limits>
53
          <gml:axisName>x</gml:axisName>
54
          <gml:axisName>y</gml:axisName>
55
          <gml:origin>
56
            <gml:pos>696287.65 4488737.845669</gml:pos>
57
          </gml:origin>
58
          <gml:offsetVector>0.7 0</gml:offsetVector>
59
          <gml:offsetVector>0 -0.7</gml:offsetVector>
60
        </gml:RectifiedGrid>
61
      </spatialDomain>
62
    </domainSet>
63
    <rangeSet>
64
      <RangeSet>
65
        <name>bands</name>
66
<!-- WARNING: Mandatory metadata '..._rangeset_label' was missing in this context. -->
67
        <axisDescription>
68
          <AxisDescription>
69
            <name>bands</name>
70
            <label>Bands/Channels/Samples</label>
71
            <values>
72
              <singleValue>1</singleValue>
73
              <singleValue>2</singleValue>
74
              <singleValue>3</singleValue>
75
            </values>
76
          </AxisDescription>
77
        </axisDescription>
78
      </RangeSet>
79
    </rangeSet>
80
    <supportedCRSs>
81
      <requestResponseCRSs>EPSG:23030</requestResponseCRSs>
82
      <nativeCRSs>EPSG:23030</nativeCRSs>
83
    </supportedCRSs>
84
    <supportedFormats>
85
      <formats>GEOTIFF_INT16</formats>
86
    </supportedFormats>
87
  </CoverageOffering>
88
  <CoverageOffering>
89
  <name>orthop01_311104</name>
90
  <label>orthop01_311104</label>
91
    <lonLatEnvelope srsName="WGS84(DD)">
92
      <gml:pos>0.411953859600099 40.3952692250145</gml:pos>
93
      <gml:pos>0.506868538627582 40.498144970273</gml:pos>
94
    </lonLatEnvelope>
95
    <domainSet>
96
      <spatialDomain>
97
        <gml:Envelope srsName="WGS84(DD)">
98
          <gml:pos>0.411953859600099 40.3952692250145</gml:pos>
99
          <gml:pos>0.506868538627582 40.498144970273</gml:pos>
100
        </gml:Envelope>
101
        <gml:Envelope srsName="EPSG:23030">
102
          <gml:pos>789586.421644 4477596.64567</gml:pos>
103
          <gml:pos>797213.426521 4488737.84567</gml:pos>
104
        </gml:Envelope>
105
        <gml:RectifiedGrid dimension="2">
106
          <gml:limits>
107
            <gml:GridEnvelope>
108
              <gml:low>0 0</gml:low>
109
              <gml:high>10887 15914</gml:high>
110
            </gml:GridEnvelope>
111
          </gml:limits>
112
          <gml:axisName>x</gml:axisName>
113
          <gml:axisName>y</gml:axisName>
114
          <gml:origin>
115
            <gml:pos>789586.421644 4488737.84567</gml:pos>
116
          </gml:origin>
117
          <gml:offsetVector>0.700496406856 0</gml:offsetVector>
118
          <gml:offsetVector>0 -0.7</gml:offsetVector>
119
        </gml:RectifiedGrid>
120
      </spatialDomain>
121
    </domainSet>
122
    <rangeSet>
123
      <RangeSet>
124
        <name>bands</name>
125
<!-- WARNING: Mandatory metadata '..._rangeset_label' was missing in this context. -->
126
        <axisDescription>
127
          <AxisDescription>
128
            <name>bands</name>
129
            <label>Bands/Channels/Samples</label>
130
            <values>
131
              <singleValue>1</singleValue>
132
              <singleValue>2</singleValue>
133
              <singleValue>3</singleValue>
134
            </values>
135
          </AxisDescription>
136
        </axisDescription>
137
      </RangeSet>
138
    </rangeSet>
139
    <supportedCRSs>
140
      <requestResponseCRSs>EPSG:23030</requestResponseCRSs>
141
      <nativeCRSs>EPSG:23030</nativeCRSs>
142
    </supportedCRSs>
143
    <supportedFormats nativeFormat="ecw">
144
      <formats>GEOTIFF_INT16</formats>
145
    </supportedFormats>
146
  </CoverageOffering>
147
  <CoverageOffering>
148
  <name>orthop02_041004</name>
149
  <label>orthop02_041004</label>
150
    <lonLatEnvelope srsName="WGS84(DD)">
151
      <gml:pos>0.161142185520058 40.1342857176869</gml:pos>
152
      <gml:pos>0.292548896326785 40.2560681974345</gml:pos>
153
    </lonLatEnvelope>
154
    <domainSet>
155
      <spatialDomain>
156
        <gml:Envelope srsName="WGS84(DD)">
157
          <gml:pos>0.161142185520058 40.1342857176869</gml:pos>
158
          <gml:pos>0.292548896326785 40.2560681974345</gml:pos>
159
        </gml:Envelope>
160
        <gml:Envelope srsName="EPSG:23030">
161
          <gml:pos>769326.530394 4447918.95274</gml:pos>
162
          <gml:pos>780051.230394 4461067.75274</gml:pos>
163
        </gml:Envelope>
164
        <gml:RectifiedGrid dimension="2">
165
          <gml:limits>
166
            <gml:GridEnvelope>
167
              <gml:low>0 0</gml:low>
168
              <gml:high>15320 18782</gml:high>
169
            </gml:GridEnvelope>
170
          </gml:limits>
171
          <gml:axisName>x</gml:axisName>
172
          <gml:axisName>y</gml:axisName>
173
          <gml:origin>
174
            <gml:pos>769326.530394 4461067.75274</gml:pos>
175
          </gml:origin>
176
          <gml:offsetVector>0.7 0</gml:offsetVector>
177
          <gml:offsetVector>0 -0.7</gml:offsetVector>
178
        </gml:RectifiedGrid>
179
      </spatialDomain>
180
    </domainSet>
181
    <rangeSet>
182
      <RangeSet>
183
        <name>bands</name>
184
<!-- WARNING: Mandatory metadata '..._rangeset_label' was missing in this context. -->
185
        <axisDescription>
186
          <AxisDescription>
187
            <name>bands</name>
188
            <label>Bands/Channels/Samples</label>
189
            <values>
190
              <singleValue>1</singleValue>
191
              <singleValue>2</singleValue>
192
              <singleValue>3</singleValue>
193
            </values>
194
          </AxisDescription>
195
        </axisDescription>
196
      </RangeSet>
197
    </rangeSet>
198
    <supportedCRSs>
199
      <requestResponseCRSs>EPSG:23030</requestResponseCRSs>
200
      <nativeCRSs>EPSG:23030</nativeCRSs>
201
    </supportedCRSs>
202
    <supportedFormats nativeFormat="ecw">
203
      <formats>GEOTIFF_INT16</formats>
204
    </supportedFormats>
205
  </CoverageOffering>
206
  <CoverageOffering>
207
  <name>orthop03n_311004</name>
208
  <label>orthop03n_311004</label>
209
    <lonLatEnvelope srsName="WGS84(DD)">
210
      <gml:pos>0.147236128086632 40.111252474887</gml:pos>
211
      <gml:pos>0.209262927539442 40.1866363257871</gml:pos>
212
    </lonLatEnvelope>
213
    <domainSet>
214
      <spatialDomain>
215
        <gml:Envelope srsName="WGS84(DD)">
216
          <gml:pos>0.147236128086632 40.111252474887</gml:pos>
217
          <gml:pos>0.209262927539442 40.1866363257871</gml:pos>
218
        </gml:Envelope>
219
        <gml:Envelope srsName="EPSG:23030">
220
          <gml:pos>768239.61427 4445109.29255</gml:pos>
221
          <gml:pos>773240.41427 4453310.49255</gml:pos>
222
        </gml:Envelope>
223
        <gml:RectifiedGrid dimension="2">
224
          <gml:limits>
225
            <gml:GridEnvelope>
226
              <gml:low>0 0</gml:low>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff