|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <!-- PyWPS {{ pywps_version }} --> |
3 | 3 | <wps:Capabilities xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:wps="http://www.opengis.net/wps/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/2.0 ../wps.xsd" service="WPS" version="2.0.0"> |
4 | | - <ows:ServiceIdentification> |
| 4 | + <ows:ServiceIdentification> |
5 | 5 | <ows:Title>{{ title }}</ows:Title> |
6 | 6 | <ows:Abstract>{{ abstract }}</ows:Abstract> |
7 | 7 | <ows:Keywords>{% for keyword in keywords %} |
8 | 8 | <ows:Keyword>{{ keyword }}</ows:Keyword>{% endfor %} |
9 | | - </ows:Keywords> |
10 | | - <ows:ServiceType>WPS</ows:ServiceType> |
11 | | - <ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion> |
| 9 | + </ows:Keywords> |
| 10 | + <ows:ServiceType>WPS</ows:ServiceType> |
| 11 | + <ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion> |
12 | 12 | <ows:Fees>{{ fees }}</ows:Fees> |
13 | 13 | <ows:AccessConstraints>{% for ac in accessconstraints %}{{ ac }} {% endfor %}</ows:AccessConstraints> |
14 | | - </ows:ServiceIdentification> |
15 | | - <ows:ServiceProvider> |
| 14 | + </ows:ServiceIdentification> |
| 15 | + <ows:ServiceProvider> |
16 | 16 | <ows:ProviderName>{{ provider.name }}</ows:ProviderName> |
17 | 17 | <ows:ProviderSite xlink:href="{{ provider.site }}"/> |
18 | | - <ows:ServiceContact> |
| 18 | + <ows:ServiceContact> |
19 | 19 | <ows:individualname>{{ provider.individual }}</ows:individualname> |
20 | 20 | <ows:positionname>{{ provider.position }}</ows:positionname> |
21 | | - <ows:ContactInfo> |
| 21 | + <ows:ContactInfo> |
22 | 22 | <ows:Phone> |
23 | 23 | <ows:Voice>{{ provider.voice }}</ows:Voice> |
24 | 24 | <ows:Facsimile>{{ provider.fascimile }}</ows:Facsimile> |
|
31 | 31 | <ows:Country>{{ provider.address.country }}</ows:Country> |
32 | 32 | <ows:ElectronicMailAddress>{{ provider.address.email }}</ows:ElectronicMailAddress> |
33 | 33 | </ows:Address> |
34 | | - </ows:ContactInfo> |
35 | | - </ows:ServiceContact> |
36 | | - </ows:ServiceProvider> |
37 | | - <ows:OperationsMetadata> |
38 | | - <ows:Operation name="GetCapabilities"> |
39 | | - <ows:DCP> |
40 | | - <ows:HTTP> |
| 34 | + </ows:ContactInfo> |
| 35 | + </ows:ServiceContact> |
| 36 | + </ows:ServiceProvider> |
| 37 | + <ows:OperationsMetadata> |
| 38 | + <ows:Operation name="GetCapabilities"> |
| 39 | + <ows:DCP> |
| 40 | + <ows:HTTP> |
41 | 41 | <ows:Get xlink:href="{{ serviceurl }}"/> |
42 | 42 | <ows:Post xlink:href="{{ serviceurl }}"/> |
43 | | - </ows:HTTP> |
44 | | - </ows:DCP> |
45 | | - </ows:Operation> |
46 | | - <ows:Operation name="DescribeProcess"> |
47 | | - <ows:DCP> |
48 | | - <ows:HTTP> |
| 43 | + </ows:HTTP> |
| 44 | + </ows:DCP> |
| 45 | + </ows:Operation> |
| 46 | + <ows:Operation name="DescribeProcess"> |
| 47 | + <ows:DCP> |
| 48 | + <ows:HTTP> |
49 | 49 | <ows:Get xlink:href="{{ serviceurl }}"/> |
50 | 50 | <ows:Post xlink:href="{{ serviceurl }}"/> |
51 | | - </ows:HTTP> |
52 | | - </ows:DCP> |
53 | | - </ows:Operation> |
54 | | - <ows:Operation name="Execute"> |
55 | | - <ows:DCP> |
56 | | - <ows:HTTP> |
| 51 | + </ows:HTTP> |
| 52 | + </ows:DCP> |
| 53 | + </ows:Operation> |
| 54 | + <ows:Operation name="Execute"> |
| 55 | + <ows:DCP> |
| 56 | + <ows:HTTP> |
57 | 57 | <ows:Post xlink:href="{{ serviceurl }}"/> |
58 | | - </ows:HTTP> |
59 | | - </ows:DCP> |
60 | | - </ows:Operation> |
61 | | - <ows:Operation name="GetStatus"> |
62 | | - <ows:DCP> |
63 | | - <ows:HTTP> |
| 58 | + </ows:HTTP> |
| 59 | + </ows:DCP> |
| 60 | + </ows:Operation> |
| 61 | + <ows:Operation name="GetStatus"> |
| 62 | + <ows:DCP> |
| 63 | + <ows:HTTP> |
64 | 64 | <ows:Get xlink:href="{{ serviceurl }}"/> |
65 | 65 | <ows:Post xlink:href="{{ serviceurl }}"/> |
66 | | - </ows:HTTP> |
67 | | - </ows:DCP> |
68 | | - </ows:Operation> |
69 | | - <ows:Operation name="GetResult"> |
70 | | - <ows:DCP> |
71 | | - <ows:HTTP> |
| 66 | + </ows:HTTP> |
| 67 | + </ows:DCP> |
| 68 | + </ows:Operation> |
| 69 | + <ows:Operation name="GetResult"> |
| 70 | + <ows:DCP> |
| 71 | + <ows:HTTP> |
72 | 72 | <ows:Get xlink:href="{{ serviceurl }}"/> |
73 | 73 | <ows:Post xlink:href="{{ serviceurl }}"/> |
74 | | - </ows:HTTP> |
75 | | - </ows:DCP> |
76 | | - </ows:Operation> |
77 | | - <ows:Operation name="Dismiss"> |
78 | | - <ows:DCP> |
79 | | - <ows:HTTP> |
| 74 | + </ows:HTTP> |
| 75 | + </ows:DCP> |
| 76 | + </ows:Operation> |
| 77 | + <ows:Operation name="Dismiss"> |
| 78 | + <ows:DCP> |
| 79 | + <ows:HTTP> |
80 | 80 | <ows:Get xlink:href="{{ serviceurl }}"/> |
81 | 81 | <ows:Post xlink:href="{{ serviceurl }}"/> |
82 | | - </ows:HTTP> |
83 | | - </ows:DCP> |
84 | | - </ows:Operation> |
85 | | - </ows:OperationsMetadata> |
| 82 | + </ows:HTTP> |
| 83 | + </ows:DCP> |
| 84 | + </ows:Operation> |
| 85 | + </ows:OperationsMetadata> |
86 | 86 | <wps:Contents>{% for process in processes %} |
87 | 87 | <wps:ProcessSummary jobControlOptions="{% for option in process.control_options %}{{ option }} {% endfor %}" wps:processVersion="{{ process.version }}"> |
88 | 88 |
|
89 | | - <ows:Title>process.title</ows:Title> |
90 | | - <ows:Identifier>process.identifier</ows:Identifier> |
| 89 | + <ows:Title>process.title</ows:Title> |
| 90 | + <ows:Identifier>process.identifier</ows:Identifier> |
91 | 91 | <ows:Abstract>{{ process.abstract }}</ows:Abstract>{% for metadata in process.metadata %} |
92 | 92 | <ows:Metadata xlink:title="{{ metadata.title }}" xlink:type="{{ metadata.type }}" |
93 | | - {% if metadata.href != None %} |
94 | | - xlink:href="{{ metadata.href }}" |
95 | | - {% endif %} |
96 | | - {% if metadata.role != None %} |
97 | | - xlink:role="{{ metadata.role }}" |
98 | | - {% endif %} |
99 | | - /> |
100 | | - {% endfor %} |
| 93 | + {% if metadata.href != None %} |
| 94 | + xlink:href="{{ metadata.href }}" |
| 95 | + {% endif %} |
| 96 | + {% if metadata.role != None %} |
| 97 | + xlink:role="{{ metadata.role }}" |
| 98 | + {% endif %} |
| 99 | + /> |
| 100 | + {% endfor %} |
101 | 101 | <ows:Keywords>{% for keyword in process.keywords %} |
102 | 102 | <ows:Keyword>{{ keyword }}</ows:Keyword>{% endfor %} |
103 | 103 | </ows:Keywords> |
104 | 104 | </wps:ProcessSummary>{% endfor %} |
105 | | - </wps:Contents> |
| 105 | + </wps:Contents> |
106 | 106 | </wps:Capabilities> |
0 commit comments