]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/server/dist/share/gdal/ogrvrt.xsd
Adding pkg-precompiled tileserver-mapnik to avoid npm install
[simantics/district.git] / org.simantics.maps.server / server / dist / share / gdal / ogrvrt.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 /******************************************************************************
4  * $Id: ogrvrt.xsd 34203 2016-05-10 14:06:35Z rouault $
5  *
6  * Project:  GDAL/OGR
7  * Purpose:  XML Schema for OGR VRT files.
8  * Author:   Even Rouault, <even dot rouault at mines dash paris dot org>
9  *
10  **********************************************************************
11  * Copyright (c) 2012, Even Rouault
12  *
13  * Permission is hereby granted, free of charge, to any person obtaining a
14  * copy of this software and associated documentation files (the "Software"),
15  * to deal in the Software without restriction, including without limitation
16  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17  * and/or sell copies of the Software, and to permit persons to whom the
18  * Software is furnished to do so, subject to the following conditions:
19  *
20  * The above copyright notice and this permission notice shall be included
21  * in all copies or substantial portions of the Software.
22  *
23  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29  * DEALINGS IN THE SOFTWARE.
30  ****************************************************************************/
31 -->
32 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.0">
33     <xs:element name="OGRVRTDataSource">
34         <xs:complexType>
35             <xs:sequence>
36                 <xs:choice minOccurs="0" maxOccurs="unbounded">
37                     <xs:element name="Metadata" type="MetadataType"/> <!-- may be repeated -->
38                     <xs:element name="OGRVRTLayer" type="OGRVRTLayerType"/>
39                     <xs:element name="OGRVRTWarpedLayer" type="OGRVRTWarpedLayerType"/>
40                     <xs:element name="OGRVRTUnionLayer" type="OGRVRTUnionLayerType"/>
41                 </xs:choice>
42             </xs:sequence>
43         </xs:complexType>
44     </xs:element>
45
46     <xs:complexType name="MetadataType">
47         <xs:sequence>
48             <!--<xs:choice>-->
49                 <!--<xs:element name="MDI" type="MDIType" minOccurs="0" maxOccurs="unbounded"/>-->
50                 <xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
51             <!--</xs:choice>-->
52         </xs:sequence>
53         <xs:attribute name="domain" type="xs:string"/>
54         <xs:attribute name="format" type="xs:string"/>
55     </xs:complexType>
56
57     <xs:complexType name="OGRVRTLayerType">
58         <xs:sequence>
59             <xs:choice minOccurs="0" maxOccurs="unbounded">
60                 <xs:element name="Metadata" type="MetadataType"/> <!-- may be repeated -->
61                 <xs:element name="SrcDataSource" type="SrcDataSourceType">
62                     <xs:annotation>
63                         <xs:documentation>Required element</xs:documentation>
64                     </xs:annotation>
65                 </xs:element>
66                 <xs:element name="OpenOptions" type="OpenOptionsType">
67                     <xs:annotation>
68                         <xs:documentation>Optional element</xs:documentation>
69                     </xs:annotation>
70                 </xs:element>
71                 <xs:element name="SrcLayer" type="nonEmptyStringType">
72                     <xs:annotation>
73                         <xs:documentation>SrcLayer or(eclusive) SrcSQL are required elements</xs:documentation>
74                     </xs:annotation>
75                 </xs:element>
76                 <xs:element name="SrcSQL">
77                     <xs:complexType>
78                         <xs:simpleContent>
79                             <xs:extension base="nonEmptyStringType">
80                                 <xs:attribute name="dialect" type="nonEmptyStringType"/>
81                             </xs:extension>
82                         </xs:simpleContent>
83                     </xs:complexType>
84                 </xs:element>
85                 <xs:element name="FID" type="FIDType"/>
86                 <xs:element name="Style" type="nonEmptyStringType"/>
87                 <xs:element name="GeometryType" type="GeometryTypeType">
88                     <xs:annotation>
89                         <xs:documentation>Use GeometryField.GeometryType for multi-geometry field support.</xs:documentation>
90                     </xs:annotation>
91                 </xs:element>
92                 <xs:element name="LayerSRS" type="nonEmptyStringType">
93                     <xs:annotation>
94                         <xs:documentation>Use GeometryField.SRS for multi-geometry field support.</xs:documentation>
95                     </xs:annotation>
96                 </xs:element>
97                 <xs:element name="Field" type="FieldType">
98                     <xs:annotation>
99                         <xs:documentation>May be repeated</xs:documentation>
100                     </xs:annotation>
101                 </xs:element>
102                 <xs:element name="GeometryField" type="GeometryFieldType">
103                     <xs:annotation>
104                         <xs:documentation>May be repeated</xs:documentation>
105                     </xs:annotation>
106                 </xs:element>
107                 <xs:element name="SrcRegion" type="SrcRegionType">
108                     <xs:annotation>
109                         <xs:documentation>Use GeometryField.SrcRegion for multi-geometry field support.</xs:documentation>
110                     </xs:annotation>
111                 </xs:element>
112                 <xs:element name="attrFilterPassThrough" type="OGRBooleanType">
113                     <xs:annotation>
114                         <xs:documentation>Default to FALSE.</xs:documentation>
115                     </xs:annotation>
116                 </xs:element>
117                 <xs:element name="FeatureCount" type="xs:integer"/>
118                 <xs:group ref="ExtentType">
119                     <xs:annotation>
120                         <xs:documentation>Use GeometryField.ExtentXMin, etc... for multi-geometry field support.</xs:documentation>
121                     </xs:annotation>
122                 </xs:group>
123             </xs:choice>
124         </xs:sequence>
125         <xs:attribute name="name" type="nonEmptyStringType" use="required"/>
126     </xs:complexType>
127
128     <xs:complexType name="OpenOptionsType">
129         <xs:sequence>
130             <xs:element name="OOI" type="OOIType" minOccurs="0" maxOccurs="unbounded"/>
131         </xs:sequence>
132     </xs:complexType>
133
134     <xs:complexType name="OOIType">
135         <xs:simpleContent>
136             <xs:extension base="nonEmptyStringType">
137                 <xs:attribute name="key" type="xs:string"/>
138             </xs:extension>
139         </xs:simpleContent>
140     </xs:complexType>
141
142     <xs:complexType name="FIDType">
143         <xs:simpleContent>
144             <xs:extension base="nonEmptyStringType">
145                 <xs:attribute name="name" type="xs:string">
146                     <xs:annotation>
147                         <xs:documentation>A user-facing name can be specified here so that a FID column name is reported even if it is not reported as a regular field.</xs:documentation>
148                     </xs:annotation>
149                 </xs:attribute>
150             </xs:extension>
151         </xs:simpleContent>
152     </xs:complexType>
153
154     <xs:group name="ExtentType">
155         <xs:sequence>
156             <xs:element name="ExtentXMin" type="xs:double" minOccurs="1" maxOccurs="1"/>
157             <xs:element name="ExtentYMin" type="xs:double" minOccurs="1" maxOccurs="1"/>
158             <xs:element name="ExtentXMax" type="xs:double" minOccurs="1" maxOccurs="1"/>
159             <xs:element name="ExtentYMax" type="xs:double" minOccurs="1" maxOccurs="1"/>
160         </xs:sequence>
161     </xs:group>
162
163     <xs:complexType name="SrcDataSourceType">
164         <xs:simpleContent>
165             <xs:extension base="nonEmptyStringType">
166                 <xs:attribute name="relativeToVRT" type="OGRBooleanType" default="FALSE">
167                     <xs:annotation>
168                         <xs:documentation>Default to FALSE.</xs:documentation>
169                     </xs:annotation>
170                 </xs:attribute>
171                 <!-- alternate case -->
172                 <xs:attribute name="relativetoVRT" type="OGRBooleanType" default="FALSE">
173                     <xs:annotation>
174                         <xs:documentation>Default to FALSE.</xs:documentation>
175                     </xs:annotation>
176                 </xs:attribute>
177                 <xs:attribute name="shared" type="OGRBooleanType"/>
178             </xs:extension>
179         </xs:simpleContent>
180     </xs:complexType>
181
182     <xs:simpleType name="nonEmptyStringType">
183         <xs:restriction base="xs:string">
184             <xs:minLength value="1"/>
185         </xs:restriction>
186     </xs:simpleType>
187
188     <xs:simpleType name="GeometryTypeType">
189         <xs:restriction base="xs:string">
190             <xs:enumeration value="wkbNone"/>
191             <xs:enumeration value="wkbUnknown"/>
192             <xs:enumeration value="wkbPoint"/>
193             <xs:enumeration value="wkbLineString"/>
194             <xs:enumeration value="wkbPolygon"/>
195             <xs:enumeration value="wkbMultiPoint"/>
196             <xs:enumeration value="wkbMultiLineString"/>
197             <xs:enumeration value="wkbMultiPolygon"/>
198             <xs:enumeration value="wkbGeometryCollection"/>
199             <xs:enumeration value="wkbCircularString"/> <!-- new in GDAL 2.0 -->
200             <xs:enumeration value="wkbCompoundCurve"/> <!-- new in GDAL 2.0 -->
201             <xs:enumeration value="wkbCurvePolygon"/> <!-- new in GDAL 2.0 -->
202             <xs:enumeration value="wkbMultiCurve"/> <!-- new in GDAL 2.0 -->
203             <xs:enumeration value="wkbMultiSurface"/> <!-- new in GDAL 2.0 -->
204             <xs:enumeration value="wkbCurve"/> <!-- new in GDAL 2.1 -->
205             <xs:enumeration value="wkbSurface"/> <!-- new in GDAL 2.1 -->
206             <xs:enumeration value="wkbPoint25D"/>
207             <xs:enumeration value="wkbLineString25D"/>
208             <xs:enumeration value="wkbPolygon25D"/>
209             <xs:enumeration value="wkbMultiPoint25D"/>
210             <xs:enumeration value="wkbMultiLineString25D"/>
211             <xs:enumeration value="wkbMultiPolygon25D"/>
212             <xs:enumeration value="wkbGeometryCollection25D"/>
213             <xs:enumeration value="wkbCircularStringZ"/> <!-- new in GDAL 2.0 -->
214             <xs:enumeration value="wkbCompoundCurveZ"/> <!-- new in GDAL 2.0 -->
215             <xs:enumeration value="wkbCurvePolygonZ"/> <!-- new in GDAL 2.0 -->
216             <xs:enumeration value="wkbMultiCurveZ"/> <!-- new in GDAL 2.0 -->
217             <xs:enumeration value="wkbMultiSurfaceZ"/> <!-- new in GDAL 2.0 -->
218             <xs:enumeration value="wkbCurveZ"/> <!-- new in GDAL 2.1 -->
219             <xs:enumeration value="wkbSurfaceZ"/> <!-- new in GDAL 2.1 -->
220
221             <!-- below is new in GDAL 2.1 -->
222             <xs:enumeration value="wkbPointM"/>
223             <xs:enumeration value="wkbLineStringM"/>
224             <xs:enumeration value="wkbPolygonM"/>
225             <xs:enumeration value="wkbMultiPointM"/>
226             <xs:enumeration value="wkbMultiLineStringM"/>
227             <xs:enumeration value="wkbMultiPolygonM"/>
228             <xs:enumeration value="wkbGeometryCollectionM"/>
229             <xs:enumeration value="wkbCircularStringM"/>
230             <xs:enumeration value="wkbCompoundCurveM"/>
231             <xs:enumeration value="wkbCurvePolygonM"/>
232             <xs:enumeration value="wkbMultiCurveM"/>
233             <xs:enumeration value="wkbMultiSurfaceM"/>
234             <xs:enumeration value="wkbCurveM"/>
235             <xs:enumeration value="wkbSurfaceM"/>
236
237             <xs:enumeration value="wkbPointZM"/>
238             <xs:enumeration value="wkbLineStringZM"/>
239             <xs:enumeration value="wkbPolygonZM"/>
240             <xs:enumeration value="wkbMultiPointZM"/>
241             <xs:enumeration value="wkbMultiLineStringZM"/>
242             <xs:enumeration value="wkbMultiPolygonZM"/>
243             <xs:enumeration value="wkbGeometryCollectionZM"/>
244             <xs:enumeration value="wkbCircularStringZM"/>
245             <xs:enumeration value="wkbCompoundCurveZM"/>
246             <xs:enumeration value="wkbCurvePolygonZM"/>
247             <xs:enumeration value="wkbMultiCurveZM"/>
248             <xs:enumeration value="wkbMultiSurfaceZM"/>
249             <xs:enumeration value="wkbCurveZM"/>
250             <xs:enumeration value="wkbSurfaceZM"/>
251
252         </xs:restriction>
253     </xs:simpleType>
254
255     <xs:complexType name="FieldTypeWithoutSrc">
256         <xs:attribute name="name" type="nonEmptyStringType" use="required"/>
257         <xs:attribute name="type" type="OGRFieldTypeType" default="String"/>
258         <xs:attribute name="subtype" type="OGRFieldSubTypeType" default="None"/>  <!-- new in GDAL 2.0 -->
259         <xs:attribute name="width" type="xs:nonNegativeInteger"/>
260         <xs:attribute name="precision" type="xs:nonNegativeInteger"/>
261         <xs:attribute name="nullable" type="OGRBooleanType" default="true"/>  <!-- new in GDAL 2.0 -->
262         <xs:attribute name="default" type="xs:string"/>  <!-- new in GDAL 2.0 -->
263     </xs:complexType>
264
265     <xs:complexType name="FieldType">
266         <xs:complexContent>
267             <xs:extension base="FieldTypeWithoutSrc">
268                 <xs:attribute name="src" type="nonEmptyStringType">
269                     <xs:annotation>
270                         <xs:documentation>Defaults to the value of "name" if not specified.</xs:documentation>
271                     </xs:annotation>
272                 </xs:attribute>
273             </xs:extension>
274         </xs:complexContent>
275     </xs:complexType>
276
277     <xs:simpleType name="OGRFieldTypeType">
278         <xs:restriction base="xs:string">
279             <xs:enumeration value="Integer"/>
280             <xs:enumeration value="integer"/>
281             <xs:enumeration value="Integer64"/>
282             <xs:enumeration value="integer64"/>
283             <xs:enumeration value="Real"/>
284             <xs:enumeration value="real"/>
285             <xs:enumeration value="String"/>
286             <xs:enumeration value="string"/>
287             <xs:enumeration value="IntegerList"/>
288             <xs:enumeration value="integerlist"/>
289             <xs:enumeration value="Integer64List"/>
290             <xs:enumeration value="integer64list"/>
291             <xs:enumeration value="RealList"/>
292             <xs:enumeration value="reallist"/>
293             <xs:enumeration value="StringList"/>
294             <xs:enumeration value="stringlist"/>
295             <xs:enumeration value="Binary"/>
296             <xs:enumeration value="binary"/>
297             <xs:enumeration value="Date"/>
298             <xs:enumeration value="date"/>
299             <xs:enumeration value="Time"/>
300             <xs:enumeration value="time"/>
301             <xs:enumeration value="DateTime"/>
302             <xs:enumeration value="datetime"/>
303         </xs:restriction>
304     </xs:simpleType>
305
306     <xs:simpleType name="OGRFieldSubTypeType">
307         <xs:restriction base="xs:string">
308             <xs:enumeration value="None"/>
309             <xs:enumeration value="Boolean"/>
310             <xs:enumeration value="Int16"/>
311             <xs:enumeration value="Float32"/>
312         </xs:restriction>
313     </xs:simpleType>
314
315     <xs:simpleType name="EncodingType">
316         <xs:restriction base="xs:string">
317             <xs:enumeration value="Direct"/>
318             <xs:enumeration value="None"/>
319             <xs:enumeration value="WKT"/>
320             <xs:enumeration value="WKB"/>
321             <xs:enumeration value="Shape"/>
322             <xs:enumeration value="shape"/>
323             <xs:enumeration value="PointFromColumns"/>
324         </xs:restriction>
325     </xs:simpleType>
326
327     <xs:attributeGroup name="GeometryFieldTypeAttrGroupWithoutSrc">
328         <xs:attribute name="encoding" type="EncodingType">
329             <xs:annotation>
330                 <xs:documentation>Defaults to Direct.</xs:documentation>
331             </xs:annotation>
332         </xs:attribute>
333         <xs:attribute name="name" type="xs:string">
334             <xs:annotation>
335                 <xs:documentation>Name of the geometry field</xs:documentation>
336             </xs:annotation>
337         </xs:attribute>
338         <xs:attribute name="x" type="nonEmptyStringType">
339             <xs:annotation>
340                 <xs:documentation>Only used if encoding = "PointFromColumns"</xs:documentation>
341             </xs:annotation>
342         </xs:attribute>
343         <xs:attribute name="y" type="nonEmptyStringType">
344             <xs:annotation>
345                 <xs:documentation>Only used if encoding = "PointFromColumns"</xs:documentation>
346             </xs:annotation>
347         </xs:attribute>
348         <xs:attribute name="z" type="nonEmptyStringType">
349             <xs:annotation>
350                 <xs:documentation>Only used if encoding = "PointFromColumns"</xs:documentation>
351             </xs:annotation>
352         </xs:attribute>
353         <xs:attribute name="m" type="nonEmptyStringType">
354             <xs:annotation>
355                 <xs:documentation>Only used if encoding = "PointFromColumns"</xs:documentation>
356             </xs:annotation>
357         </xs:attribute>
358         <xs:attribute name="useSpatialSubquery" type="OGRBooleanType">
359             <xs:annotation>
360                 <xs:documentation>Only used if encoding = "PointFromColumns". Defaults to TRUE.</xs:documentation>
361             </xs:annotation>
362         </xs:attribute>
363         <xs:attribute name="reportSrcColumn" type="OGRBooleanType">
364             <xs:annotation>
365                 <xs:documentation>Only used if no Field element is found at the OGRVRTLayer level</xs:documentation>
366             </xs:annotation>
367         </xs:attribute>
368         <xs:attribute name="nullable" type="OGRBooleanType" default="true"/>  <!-- new in GDAL 2.0 -->
369     </xs:attributeGroup>
370
371     <xs:complexType name="GeometryFieldTypeWithoutSrc">
372         <xs:sequence>
373             <xs:choice minOccurs="0" maxOccurs="unbounded">
374                 <xs:element name="GeometryType" type="GeometryTypeType"/>
375                 <xs:element name="SrcRegion" type="SrcRegionType"/>
376                 <xs:element name="SRS" type="nonEmptyStringType"/>
377                 <xs:group ref="ExtentType"/>
378             </xs:choice>
379         </xs:sequence>
380         <xs:attributeGroup ref="GeometryFieldTypeAttrGroupWithoutSrc"/>
381     </xs:complexType>
382
383     <xs:complexType name="GeometryFieldType">
384         <xs:complexContent>
385             <xs:extension base="GeometryFieldTypeWithoutSrc">
386                 <xs:attribute name="field" type="nonEmptyStringType">
387                     <xs:annotation>
388                         <xs:documentation>Used if encoding = "WKT", "WKB" or "Shape" to find
389                         the attribute field of the source layer.
390                         Used also in multiple geometry fields scenario to retrieve the
391                         source geometry field matching the target VRT geometry field.</xs:documentation>
392                     </xs:annotation>
393                 </xs:attribute>
394             </xs:extension>
395         </xs:complexContent>
396     </xs:complexType>
397
398     <xs:complexType name="SrcRegionType">
399         <xs:simpleContent>
400             <xs:extension base="PolygonWKTType">
401                 <xs:attribute name="clip" type="OGRBooleanType">
402                     <xs:annotation>
403                         <xs:documentation>Defaults to FALSE.</xs:documentation>
404                     </xs:annotation>
405                 </xs:attribute>
406             </xs:extension>
407         </xs:simpleContent>
408     </xs:complexType>
409
410     <xs:simpleType name="PolygonWKTType">
411         <xs:annotation>
412             <xs:documentation>A valid WKT for a POLYGON</xs:documentation>
413         </xs:annotation>
414         <xs:restriction base="xs:string">
415             <xs:pattern value="POLYGON.*"/>
416         </xs:restriction>
417     </xs:simpleType>
418
419     <xs:simpleType name="OGRBooleanType">
420         <xs:restriction base="xs:string">
421             <xs:enumeration value="1"/>
422             <xs:enumeration value="0"/>
423             <xs:enumeration value="ON"/>
424             <xs:enumeration value="OFF"/>
425             <xs:enumeration value="on"/>
426             <xs:enumeration value="off"/>
427             <xs:enumeration value="YES"/>
428             <xs:enumeration value="NO"/>
429             <xs:enumeration value="yes"/>
430             <xs:enumeration value="no"/>
431             <xs:enumeration value="TRUE"/>
432             <xs:enumeration value="FALSE"/>
433             <xs:enumeration value="true"/>
434             <xs:enumeration value="false"/>
435         </xs:restriction>
436     </xs:simpleType>
437
438     <xs:complexType name="OGRVRTWarpedLayerType">
439         <xs:sequence>
440             <xs:choice minOccurs="1" maxOccurs="1">
441                 <xs:element name="OGRVRTLayer" type="OGRVRTLayerType"/>
442                 <xs:element name="OGRVRTWarpedLayer" type="OGRVRTWarpedLayerType"/>
443                 <xs:element name="OGRVRTUnionLayer" type="OGRVRTUnionLayerType"/>
444             </xs:choice>
445             <xs:element name="WarpedGeomFieldName" type="nonEmptyStringType" minOccurs="0" maxOccurs="1"/>
446             <xs:element name="SrcSRS" type="nonEmptyStringType" minOccurs="0" maxOccurs="1"/>
447             <xs:element name="TargetSRS" type="nonEmptyStringType" minOccurs="1" maxOccurs="1"/>
448             <xs:group ref="ExtentType" minOccurs="0" maxOccurs="1"/>
449         </xs:sequence>
450     </xs:complexType>
451
452     <xs:complexType name="OGRVRTUnionLayerType">
453         <xs:sequence>
454             <xs:choice minOccurs="0" maxOccurs="unbounded">
455                 <xs:element name="OGRVRTLayer" type="OGRVRTLayerType">
456                     <xs:annotation>
457                         <xs:documentation>May be repeated</xs:documentation>
458                     </xs:annotation>
459                 </xs:element>
460                 <xs:element name="OGRVRTWarpedLayer" type="OGRVRTWarpedLayerType">
461                     <xs:annotation>
462                         <xs:documentation>May be repeated</xs:documentation>
463                     </xs:annotation>
464                 </xs:element>
465                 <xs:element name="OGRVRTUnionLayer" type="OGRVRTUnionLayerType">
466                     <xs:annotation>
467                         <xs:documentation>May be repeated</xs:documentation>
468                     </xs:annotation>
469                 </xs:element>
470
471                 <xs:element name="GeometryType" type="GeometryTypeType">
472                     <xs:annotation>
473                         <xs:documentation>Use GeometryField.GeometryType for multi-geometry field support.</xs:documentation>
474                     </xs:annotation>
475                 </xs:element>
476                 <xs:element name="LayerSRS" type="nonEmptyStringType">
477                     <xs:annotation>
478                         <xs:documentation>Use GeometryField.SRS for multi-geometry field support.</xs:documentation>
479                     </xs:annotation>
480                 </xs:element>
481                 <xs:element name="FieldStrategy" type="FieldStrategyType">
482                     <xs:annotation>
483                         <xs:documentation>Defaults to Union if no Field or GeometryField element is speicified.</xs:documentation>
484                     </xs:annotation>
485                 </xs:element>
486                 <xs:element name="Field" type="FieldTypeWithoutSrc">
487                     <xs:annotation>
488                         <xs:documentation>May be repeated</xs:documentation>
489                     </xs:annotation>
490                 </xs:element>
491                 <xs:element name="GeometryField" type="GeometryFieldTypeWithoutSrc">
492                     <xs:annotation>
493                         <xs:documentation>May be repeated</xs:documentation>
494                     </xs:annotation>
495                 </xs:element>
496                 <xs:element name="PreserveSrcFID" type="OGRBooleanType">
497                     <xs:annotation>
498                         <xs:documentation>Defaults to FALSE.</xs:documentation>
499                     </xs:annotation>
500                 </xs:element>
501                 <xs:element name="SourceLayerFieldName" type="nonEmptyStringType">
502                     <xs:annotation>
503                         <xs:documentation>Name of fields in which to place the name of the source layer of each feature.</xs:documentation>
504                     </xs:annotation>
505                 </xs:element>
506                 <xs:element name="FeatureCount" type="xs:integer"/>
507                 <xs:group ref="ExtentType">
508                     <xs:annotation>
509                         <xs:documentation>Use GeometryField.ExtentXMin, etc. for multi-geometry field support.</xs:documentation>
510                     </xs:annotation>
511                 </xs:group>
512             </xs:choice>
513         </xs:sequence>
514         <xs:attribute name="name" type="nonEmptyStringType" use="required"/>
515     </xs:complexType>
516
517     <xs:simpleType name="FieldStrategyType">
518         <xs:restriction base="xs:string">
519             <xs:enumeration value="FirstLayer"/>
520             <xs:enumeration value="Union"/>
521             <xs:enumeration value="Intersection"/>
522         </xs:restriction>
523     </xs:simpleType>
524
525 </xs:schema>