pyogrio 0.10.0__cp311-cp311-manylinux_2_28_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyogrio might be problematic. Click here for more details.

Files changed (223) hide show
  1. pyogrio/__init__.py +55 -0
  2. pyogrio/_compat.py +47 -0
  3. pyogrio/_env.py +59 -0
  4. pyogrio/_err.cpython-311-x86_64-linux-gnu.so +0 -0
  5. pyogrio/_geometry.cpython-311-x86_64-linux-gnu.so +0 -0
  6. pyogrio/_io.cpython-311-x86_64-linux-gnu.so +0 -0
  7. pyogrio/_ogr.cpython-311-x86_64-linux-gnu.so +0 -0
  8. pyogrio/_version.py +21 -0
  9. pyogrio/_vsi.cpython-311-x86_64-linux-gnu.so +0 -0
  10. pyogrio/core.py +386 -0
  11. pyogrio/errors.py +25 -0
  12. pyogrio/gdal_data/GDAL-targets-release.cmake +19 -0
  13. pyogrio/gdal_data/GDAL-targets.cmake +105 -0
  14. pyogrio/gdal_data/GDALConfig.cmake +24 -0
  15. pyogrio/gdal_data/GDALConfigVersion.cmake +85 -0
  16. pyogrio/gdal_data/GDALLogoBW.svg +138 -0
  17. pyogrio/gdal_data/GDALLogoColor.svg +126 -0
  18. pyogrio/gdal_data/GDALLogoGS.svg +126 -0
  19. pyogrio/gdal_data/LICENSE.TXT +467 -0
  20. pyogrio/gdal_data/MM_m_idofic.csv +321 -0
  21. pyogrio/gdal_data/copyright +467 -0
  22. pyogrio/gdal_data/cubewerx_extra.wkt +48 -0
  23. pyogrio/gdal_data/default.rsc +0 -0
  24. pyogrio/gdal_data/ecw_cs.wkt +1453 -0
  25. pyogrio/gdal_data/eedaconf.json +23 -0
  26. pyogrio/gdal_data/epsg.wkt +1 -0
  27. pyogrio/gdal_data/esri_StatePlane_extra.wkt +631 -0
  28. pyogrio/gdal_data/gdalicon.png +0 -0
  29. pyogrio/gdal_data/gdalinfo_output.schema.json +346 -0
  30. pyogrio/gdal_data/gdalmdiminfo_output.schema.json +321 -0
  31. pyogrio/gdal_data/gdaltileindex.xsd +269 -0
  32. pyogrio/gdal_data/gdalvrt.xsd +880 -0
  33. pyogrio/gdal_data/gfs.xsd +246 -0
  34. pyogrio/gdal_data/gml_registry.xml +117 -0
  35. pyogrio/gdal_data/gml_registry.xsd +66 -0
  36. pyogrio/gdal_data/grib2_center.csv +251 -0
  37. pyogrio/gdal_data/grib2_process.csv +102 -0
  38. pyogrio/gdal_data/grib2_subcenter.csv +63 -0
  39. pyogrio/gdal_data/grib2_table_4_2_0_0.csv +261 -0
  40. pyogrio/gdal_data/grib2_table_4_2_0_1.csv +261 -0
  41. pyogrio/gdal_data/grib2_table_4_2_0_13.csv +261 -0
  42. pyogrio/gdal_data/grib2_table_4_2_0_14.csv +261 -0
  43. pyogrio/gdal_data/grib2_table_4_2_0_15.csv +261 -0
  44. pyogrio/gdal_data/grib2_table_4_2_0_16.csv +261 -0
  45. pyogrio/gdal_data/grib2_table_4_2_0_17.csv +11 -0
  46. pyogrio/gdal_data/grib2_table_4_2_0_18.csv +261 -0
  47. pyogrio/gdal_data/grib2_table_4_2_0_19.csv +261 -0
  48. pyogrio/gdal_data/grib2_table_4_2_0_190.csv +261 -0
  49. pyogrio/gdal_data/grib2_table_4_2_0_191.csv +261 -0
  50. pyogrio/gdal_data/grib2_table_4_2_0_2.csv +261 -0
  51. pyogrio/gdal_data/grib2_table_4_2_0_20.csv +261 -0
  52. pyogrio/gdal_data/grib2_table_4_2_0_21.csv +261 -0
  53. pyogrio/gdal_data/grib2_table_4_2_0_3.csv +261 -0
  54. pyogrio/gdal_data/grib2_table_4_2_0_4.csv +261 -0
  55. pyogrio/gdal_data/grib2_table_4_2_0_5.csv +261 -0
  56. pyogrio/gdal_data/grib2_table_4_2_0_6.csv +261 -0
  57. pyogrio/gdal_data/grib2_table_4_2_0_7.csv +261 -0
  58. pyogrio/gdal_data/grib2_table_4_2_10_0.csv +261 -0
  59. pyogrio/gdal_data/grib2_table_4_2_10_1.csv +261 -0
  60. pyogrio/gdal_data/grib2_table_4_2_10_191.csv +261 -0
  61. pyogrio/gdal_data/grib2_table_4_2_10_2.csv +261 -0
  62. pyogrio/gdal_data/grib2_table_4_2_10_3.csv +261 -0
  63. pyogrio/gdal_data/grib2_table_4_2_10_4.csv +261 -0
  64. pyogrio/gdal_data/grib2_table_4_2_1_0.csv +261 -0
  65. pyogrio/gdal_data/grib2_table_4_2_1_1.csv +261 -0
  66. pyogrio/gdal_data/grib2_table_4_2_1_2.csv +261 -0
  67. pyogrio/gdal_data/grib2_table_4_2_20_0.csv +261 -0
  68. pyogrio/gdal_data/grib2_table_4_2_20_1.csv +261 -0
  69. pyogrio/gdal_data/grib2_table_4_2_20_2.csv +261 -0
  70. pyogrio/gdal_data/grib2_table_4_2_2_0.csv +261 -0
  71. pyogrio/gdal_data/grib2_table_4_2_2_3.csv +261 -0
  72. pyogrio/gdal_data/grib2_table_4_2_2_4.csv +261 -0
  73. pyogrio/gdal_data/grib2_table_4_2_2_5.csv +261 -0
  74. pyogrio/gdal_data/grib2_table_4_2_2_6.csv +261 -0
  75. pyogrio/gdal_data/grib2_table_4_2_3_0.csv +261 -0
  76. pyogrio/gdal_data/grib2_table_4_2_3_1.csv +261 -0
  77. pyogrio/gdal_data/grib2_table_4_2_3_2.csv +28 -0
  78. pyogrio/gdal_data/grib2_table_4_2_3_3.csv +8 -0
  79. pyogrio/gdal_data/grib2_table_4_2_3_4.csv +14 -0
  80. pyogrio/gdal_data/grib2_table_4_2_3_5.csv +11 -0
  81. pyogrio/gdal_data/grib2_table_4_2_3_6.csv +11 -0
  82. pyogrio/gdal_data/grib2_table_4_2_4_0.csv +261 -0
  83. pyogrio/gdal_data/grib2_table_4_2_4_1.csv +261 -0
  84. pyogrio/gdal_data/grib2_table_4_2_4_10.csv +261 -0
  85. pyogrio/gdal_data/grib2_table_4_2_4_2.csv +261 -0
  86. pyogrio/gdal_data/grib2_table_4_2_4_3.csv +261 -0
  87. pyogrio/gdal_data/grib2_table_4_2_4_4.csv +261 -0
  88. pyogrio/gdal_data/grib2_table_4_2_4_5.csv +261 -0
  89. pyogrio/gdal_data/grib2_table_4_2_4_6.csv +261 -0
  90. pyogrio/gdal_data/grib2_table_4_2_4_7.csv +261 -0
  91. pyogrio/gdal_data/grib2_table_4_2_4_8.csv +261 -0
  92. pyogrio/gdal_data/grib2_table_4_2_4_9.csv +261 -0
  93. pyogrio/gdal_data/grib2_table_4_2_local_Canada.csv +5 -0
  94. pyogrio/gdal_data/grib2_table_4_2_local_HPC.csv +2 -0
  95. pyogrio/gdal_data/grib2_table_4_2_local_MRMS.csv +175 -0
  96. pyogrio/gdal_data/grib2_table_4_2_local_NCEP.csv +401 -0
  97. pyogrio/gdal_data/grib2_table_4_2_local_NDFD.csv +38 -0
  98. pyogrio/gdal_data/grib2_table_4_2_local_index.csv +7 -0
  99. pyogrio/gdal_data/grib2_table_4_5.csv +261 -0
  100. pyogrio/gdal_data/grib2_table_versions.csv +3 -0
  101. pyogrio/gdal_data/gt_datum.csv +229 -0
  102. pyogrio/gdal_data/gt_ellips.csv +24 -0
  103. pyogrio/gdal_data/header.dxf +1124 -0
  104. pyogrio/gdal_data/inspire_cp_BasicPropertyUnit.gfs +57 -0
  105. pyogrio/gdal_data/inspire_cp_CadastralBoundary.gfs +60 -0
  106. pyogrio/gdal_data/inspire_cp_CadastralParcel.gfs +81 -0
  107. pyogrio/gdal_data/inspire_cp_CadastralZoning.gfs +161 -0
  108. pyogrio/gdal_data/jpfgdgml_AdmArea.gfs +59 -0
  109. pyogrio/gdal_data/jpfgdgml_AdmBdry.gfs +49 -0
  110. pyogrio/gdal_data/jpfgdgml_AdmPt.gfs +59 -0
  111. pyogrio/gdal_data/jpfgdgml_BldA.gfs +54 -0
  112. pyogrio/gdal_data/jpfgdgml_BldL.gfs +54 -0
  113. pyogrio/gdal_data/jpfgdgml_Cntr.gfs +54 -0
  114. pyogrio/gdal_data/jpfgdgml_CommBdry.gfs +49 -0
  115. pyogrio/gdal_data/jpfgdgml_CommPt.gfs +59 -0
  116. pyogrio/gdal_data/jpfgdgml_Cstline.gfs +54 -0
  117. pyogrio/gdal_data/jpfgdgml_ElevPt.gfs +54 -0
  118. pyogrio/gdal_data/jpfgdgml_GCP.gfs +94 -0
  119. pyogrio/gdal_data/jpfgdgml_LeveeEdge.gfs +49 -0
  120. pyogrio/gdal_data/jpfgdgml_RailCL.gfs +54 -0
  121. pyogrio/gdal_data/jpfgdgml_RdASL.gfs +44 -0
  122. pyogrio/gdal_data/jpfgdgml_RdArea.gfs +54 -0
  123. pyogrio/gdal_data/jpfgdgml_RdCompt.gfs +59 -0
  124. pyogrio/gdal_data/jpfgdgml_RdEdg.gfs +59 -0
  125. pyogrio/gdal_data/jpfgdgml_RdMgtBdry.gfs +49 -0
  126. pyogrio/gdal_data/jpfgdgml_RdSgmtA.gfs +59 -0
  127. pyogrio/gdal_data/jpfgdgml_RvrMgtBdry.gfs +49 -0
  128. pyogrio/gdal_data/jpfgdgml_SBAPt.gfs +49 -0
  129. pyogrio/gdal_data/jpfgdgml_SBArea.gfs +54 -0
  130. pyogrio/gdal_data/jpfgdgml_SBBdry.gfs +44 -0
  131. pyogrio/gdal_data/jpfgdgml_WA.gfs +54 -0
  132. pyogrio/gdal_data/jpfgdgml_WL.gfs +54 -0
  133. pyogrio/gdal_data/jpfgdgml_WStrA.gfs +54 -0
  134. pyogrio/gdal_data/jpfgdgml_WStrL.gfs +54 -0
  135. pyogrio/gdal_data/nitf_spec.xml +3306 -0
  136. pyogrio/gdal_data/nitf_spec.xsd +189 -0
  137. pyogrio/gdal_data/ogrinfo_output.schema.json +528 -0
  138. pyogrio/gdal_data/ogrvrt.xsd +546 -0
  139. pyogrio/gdal_data/osmconf.ini +132 -0
  140. pyogrio/gdal_data/ozi_datum.csv +131 -0
  141. pyogrio/gdal_data/ozi_ellips.csv +35 -0
  142. pyogrio/gdal_data/pci_datum.txt +530 -0
  143. pyogrio/gdal_data/pci_ellips.txt +129 -0
  144. pyogrio/gdal_data/pdfcomposition.xsd +721 -0
  145. pyogrio/gdal_data/pds4_template.xml +65 -0
  146. pyogrio/gdal_data/plscenesconf.json +1985 -0
  147. pyogrio/gdal_data/ruian_vf_ob_v1.gfs +1455 -0
  148. pyogrio/gdal_data/ruian_vf_st_uvoh_v1.gfs +86 -0
  149. pyogrio/gdal_data/ruian_vf_st_v1.gfs +1489 -0
  150. pyogrio/gdal_data/ruian_vf_v1.gfs +2126 -0
  151. pyogrio/gdal_data/s57agencies.csv +249 -0
  152. pyogrio/gdal_data/s57attributes.csv +484 -0
  153. pyogrio/gdal_data/s57expectedinput.csv +1008 -0
  154. pyogrio/gdal_data/s57objectclasses.csv +287 -0
  155. pyogrio/gdal_data/seed_2d.dgn +0 -0
  156. pyogrio/gdal_data/seed_3d.dgn +0 -0
  157. pyogrio/gdal_data/stateplane.csv +259 -0
  158. pyogrio/gdal_data/tms_LINZAntarticaMapTileGrid.json +190 -0
  159. pyogrio/gdal_data/tms_MapML_APSTILE.json +268 -0
  160. pyogrio/gdal_data/tms_MapML_CBMTILE.json +346 -0
  161. pyogrio/gdal_data/tms_NZTM2000.json +243 -0
  162. pyogrio/gdal_data/trailer.dxf +434 -0
  163. pyogrio/gdal_data/usage +4 -0
  164. pyogrio/gdal_data/vcpkg-cmake-wrapper.cmake +23 -0
  165. pyogrio/gdal_data/vcpkg.spdx.json +264 -0
  166. pyogrio/gdal_data/vcpkg_abi_info.txt +41 -0
  167. pyogrio/gdal_data/vdv452.xml +367 -0
  168. pyogrio/gdal_data/vdv452.xsd +63 -0
  169. pyogrio/gdal_data/vicar.json +164 -0
  170. pyogrio/geopandas.py +683 -0
  171. pyogrio/proj_data/CH +22 -0
  172. pyogrio/proj_data/GL27 +23 -0
  173. pyogrio/proj_data/ITRF2000 +24 -0
  174. pyogrio/proj_data/ITRF2008 +94 -0
  175. pyogrio/proj_data/ITRF2014 +55 -0
  176. pyogrio/proj_data/copyright +34 -0
  177. pyogrio/proj_data/deformation_model.schema.json +582 -0
  178. pyogrio/proj_data/nad.lst +142 -0
  179. pyogrio/proj_data/nad27 +810 -0
  180. pyogrio/proj_data/nad83 +745 -0
  181. pyogrio/proj_data/other.extra +53 -0
  182. pyogrio/proj_data/proj-config-version.cmake +44 -0
  183. pyogrio/proj_data/proj-config.cmake +79 -0
  184. pyogrio/proj_data/proj-targets-release.cmake +19 -0
  185. pyogrio/proj_data/proj-targets.cmake +107 -0
  186. pyogrio/proj_data/proj.db +0 -0
  187. pyogrio/proj_data/proj.ini +51 -0
  188. pyogrio/proj_data/proj4-targets-release.cmake +19 -0
  189. pyogrio/proj_data/proj4-targets.cmake +107 -0
  190. pyogrio/proj_data/projjson.schema.json +1174 -0
  191. pyogrio/proj_data/triangulation.schema.json +214 -0
  192. pyogrio/proj_data/usage +4 -0
  193. pyogrio/proj_data/vcpkg.spdx.json +198 -0
  194. pyogrio/proj_data/vcpkg_abi_info.txt +27 -0
  195. pyogrio/proj_data/world +214 -0
  196. pyogrio/raw.py +887 -0
  197. pyogrio/tests/__init__.py +0 -0
  198. pyogrio/tests/conftest.py +398 -0
  199. pyogrio/tests/fixtures/README.md +108 -0
  200. pyogrio/tests/fixtures/curve.gpkg +0 -0
  201. pyogrio/tests/fixtures/curvepolygon.gpkg +0 -0
  202. pyogrio/tests/fixtures/line_zm.gpkg +0 -0
  203. pyogrio/tests/fixtures/multisurface.gpkg +0 -0
  204. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.cpg +1 -0
  205. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf +0 -0
  206. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.prj +1 -0
  207. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp +0 -0
  208. pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx +0 -0
  209. pyogrio/tests/fixtures/sample.osm.pbf +0 -0
  210. pyogrio/tests/fixtures/test_gpkg_nulls.gpkg +0 -0
  211. pyogrio/tests/test_arrow.py +1195 -0
  212. pyogrio/tests/test_core.py +678 -0
  213. pyogrio/tests/test_geopandas_io.py +2314 -0
  214. pyogrio/tests/test_path.py +364 -0
  215. pyogrio/tests/test_raw_io.py +1515 -0
  216. pyogrio/tests/test_util.py +56 -0
  217. pyogrio/util.py +247 -0
  218. pyogrio-0.10.0.dist-info/LICENSE +21 -0
  219. pyogrio-0.10.0.dist-info/METADATA +129 -0
  220. pyogrio-0.10.0.dist-info/RECORD +223 -0
  221. pyogrio-0.10.0.dist-info/WHEEL +5 -0
  222. pyogrio-0.10.0.dist-info/top_level.txt +1 -0
  223. pyogrio.libs/libgdal-44263852.so.35.3.9.1 +0 -0
@@ -0,0 +1,721 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ /******************************************************************************
4
+ * $Id$
5
+ *
6
+ * Project: GDAL/OGR
7
+ * Purpose: XML Schema for GDAL PDF driver composition files.
8
+ * Author: Even Rouault, <even dot rouault at spatialys dot com>
9
+ *
10
+ **********************************************************************
11
+ * Copyright (c) 2019, 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="PDFComposition">
34
+ <xs:annotation><xs:documentation>
35
+ Root element defining a composition of one or several pages.
36
+ </xs:documentation></xs:annotation>
37
+ <xs:complexType>
38
+ <xs:sequence>
39
+ <xs:element name="JPEG2000Driver" type="xs:string" minOccurs="0"/>
40
+ <xs:element name="Metadata" type="MetadataType" minOccurs="0"/>
41
+ <xs:element name="Javascript" type="xs:string" minOccurs="0"/>
42
+ <xs:element name="LayerTree" type="LayerTreeType" minOccurs="0"/>
43
+ <xs:element name="Page" type="PageType" maxOccurs="unbounded">
44
+ <xs:keyref name="georeferencedIdRef" refer="georeferencingId">
45
+ <xs:selector xpath=".//*"/>
46
+ <xs:field xpath="@georeferencingId"/>
47
+ </xs:keyref>
48
+ <xs:unique name="georeferencingId">
49
+ <xs:selector xpath=".//Georeferencing"/>
50
+ <xs:field xpath="@id"/>
51
+ </xs:unique>
52
+ </xs:element>
53
+ <xs:element name="Outline" type="OutlineType" minOccurs="0">
54
+ </xs:element>
55
+ </xs:sequence>
56
+ </xs:complexType>
57
+
58
+ <!-- unicity constraints on Layer.id, and validy check of references -->
59
+ <!-- to them -->
60
+ <xs:keyref name="layerIdRef" refer="layerId">
61
+ <xs:selector xpath=".//IfLayerOn|.//SetLayerStateAction"/>
62
+ <xs:field xpath="@layerId"/>
63
+ </xs:keyref>
64
+ <xs:key name="layerId">
65
+ <xs:selector xpath=".//Layer"/>
66
+ <xs:field xpath="@id"/>
67
+ </xs:key>
68
+
69
+ <!-- unicity constraints on Page.id, and validy check of references -->
70
+ <!-- to them -->
71
+ <xs:keyref name="pageIdRef" refer="pageId">
72
+ <xs:selector xpath=".//OutlineItem"/>
73
+ <xs:field xpath="@pageId"/>
74
+ </xs:keyref>
75
+ <xs:unique name="pageId">
76
+ <xs:selector xpath=".//Page"/>
77
+ <xs:field xpath="@id"/>
78
+ </xs:unique>
79
+ </xs:element>
80
+
81
+ <xs:complexType name="OutlineType">
82
+ <xs:annotation><xs:documentation>
83
+ Define the outline / bookmarks of the document, typically the
84
+ structure of pages. But bookmarks may also point to particular
85
+ elements in a page.
86
+ Recursive list of OutlineItem.
87
+ </xs:documentation></xs:annotation>
88
+ <xs:sequence>
89
+ <xs:element name="OutlineItem" type="OutlineItemType" minOccurs="0" maxOccurs="unbounded"/>
90
+ </xs:sequence>
91
+ </xs:complexType>
92
+
93
+ <xs:complexType name="OutlineItemType">
94
+ <xs:annotation><xs:documentation>
95
+ An OutlineItem may be final or a parent of child OutlineItem.
96
+ If the OutlineItem has children, the open attribute controls whether
97
+ the children list must be folded or not.
98
+ An OutlineItem may have zero, one or several acssociated actions.
99
+ </xs:documentation></xs:annotation>
100
+ <xs:sequence>
101
+ <xs:element name="Actions" minOccurs="0">
102
+ <xs:complexType>
103
+ <xs:sequence>
104
+ <xs:element ref="AbstractAction" minOccurs="0" maxOccurs="unbounded"/>
105
+ </xs:sequence>
106
+ </xs:complexType>
107
+ </xs:element>
108
+ <xs:element name="OutlineItem" type="OutlineItemType" minOccurs="0" maxOccurs="unbounded"/>
109
+ </xs:sequence>
110
+ <xs:attribute name="name" type="xs:string" use="required">
111
+ <xs:annotation><xs:documentation>
112
+ User visible name of the outline item.
113
+ </xs:documentation></xs:annotation>
114
+ </xs:attribute>
115
+ <xs:attribute name="open" type="xs:boolean" default="true">
116
+ <xs:annotation><xs:documentation>
117
+ Whether children outline items should be unfolded.
118
+ </xs:documentation></xs:annotation>
119
+ </xs:attribute>
120
+ <xs:attribute name="italic" type="xs:boolean" default="false"/>
121
+ <xs:attribute name="bold" type="xs:boolean" default="false"/>
122
+ </xs:complexType>
123
+
124
+ <xs:complexType name="AbstractionActionType" abstract="true">
125
+ <xs:annotation><xs:documentation>
126
+ Abstract action element type
127
+ </xs:documentation></xs:annotation>
128
+ </xs:complexType>
129
+
130
+ <xs:element name="AbstractAction" type="AbstractionActionType" abstract="true">
131
+ <xs:annotation><xs:documentation>
132
+ Abstract action element
133
+ </xs:documentation></xs:annotation>
134
+ </xs:element>
135
+
136
+ <xs:element name="GotoPageAction" substitutionGroup="AbstractAction">
137
+ <xs:annotation><xs:documentation>
138
+ Goto a destination page.
139
+ The x1, y1, x2, y2 attributes
140
+ may also be defined to zoom-in on a particular area of the page.
141
+ </xs:documentation></xs:annotation>
142
+ <xs:complexType>
143
+ <xs:complexContent>
144
+ <xs:extension base="AbstractionActionType">
145
+ <xs:attribute name="pageId" type="xs:string" use="required"/>
146
+ <xs:attribute name="x1" type="pdfCoordinateType"/>
147
+ <xs:attribute name="y1" type="pdfCoordinateType"/>
148
+ <xs:attribute name="x2" type="pdfCoordinateType"/>
149
+ <xs:attribute name="y2" type="pdfCoordinateType"/>
150
+ </xs:extension>
151
+ </xs:complexContent>
152
+ </xs:complexType>
153
+ </xs:element>
154
+
155
+ <xs:element name="SetAllLayersStateAction" substitutionGroup="AbstractAction">
156
+ <xs:annotation><xs:documentation>
157
+ Turn all layers on or off.
158
+ Later SetAllLayersStateAction/SetLayerStateAction might change this state.
159
+ </xs:documentation></xs:annotation>
160
+ <xs:complexType>
161
+ <xs:complexContent>
162
+ <xs:extension base="AbstractionActionType">
163
+ <xs:attribute name="visible" type="xs:boolean" use="required"/>
164
+ </xs:extension>
165
+ </xs:complexContent>
166
+ </xs:complexType>
167
+ </xs:element>
168
+
169
+ <xs:element name="SetLayerStateAction" substitutionGroup="AbstractAction">
170
+ <xs:annotation><xs:documentation>
171
+ Turn a specific layer on off.
172
+ Later SetAllLayersStateAction/SetLayerStateAction might change this state.
173
+ </xs:documentation></xs:annotation>
174
+ <xs:complexType>
175
+ <xs:complexContent>
176
+ <xs:extension base="AbstractionActionType">
177
+ <xs:attribute name="layerId" type="xs:string" use="required"/>
178
+ <xs:attribute name="visible" type="xs:boolean" use="required"/>
179
+ </xs:extension>
180
+ </xs:complexContent>
181
+ </xs:complexType>
182
+ </xs:element>
183
+
184
+ <xs:element name="JavascriptAction" substitutionGroup="AbstractAction">
185
+ <xs:annotation><xs:documentation>
186
+ Execute a Javascript action.
187
+ See https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_api_reference.pdf
188
+ The script must be put as the content of the element.
189
+ </xs:documentation></xs:annotation>
190
+ <xs:complexType mixed="true">
191
+ <xs:complexContent>
192
+ <xs:extension base="AbstractionActionType"/>
193
+ </xs:complexContent>
194
+ </xs:complexType>
195
+ </xs:element>
196
+
197
+ <xs:complexType name="MetadataType">
198
+ <xs:sequence>
199
+ <xs:element name="Author" type="xs:string" minOccurs="0"/>
200
+ <xs:element name="Producer" type="xs:string" minOccurs="0"/>
201
+ <xs:element name="Creator" type="xs:string" minOccurs="0"/>
202
+ <xs:element name="CreationDate" type="xs:string" minOccurs="0"/>
203
+ <xs:element name="Subject" type="xs:string" minOccurs="0"/>
204
+ <xs:element name="Title" type="xs:string" minOccurs="0"/>
205
+ <xs:element name="Keywords" type="xs:string" minOccurs="0"/>
206
+ <xs:element name="XMP" type="xs:string" minOccurs="0">
207
+ <xs:annotation><xs:documentation>
208
+ The XMP payload must be serialized in a XML-escaped way
209
+ </xs:documentation></xs:annotation>
210
+ </xs:element>
211
+ </xs:sequence>
212
+ </xs:complexType>
213
+
214
+ <xs:complexType name="LayerTreeType">
215
+ <xs:annotation><xs:documentation>
216
+ Hierarchical definition of layers ("Optional Content Group" in PDF parlance)
217
+ Common to all pages, but their visibility in the layer tree can
218
+ be controlled with the displayOnlyOnVisiblePages attribute.
219
+ </xs:documentation></xs:annotation>
220
+ <xs:sequence>
221
+ <xs:element name="Layer" type="LayerType" minOccurs="0" maxOccurs="unbounded"/>
222
+ </xs:sequence>
223
+ <xs:attribute name="displayOnlyOnVisiblePages" type="xs:boolean" default="false">
224
+ <xs:annotation><xs:documentation>
225
+ Whether to list, in the layer tree, layers that are referenced
226
+ by at at least one currently visible page(s).
227
+ Default is false, that is the layers are always listed.
228
+ </xs:documentation></xs:annotation>
229
+ </xs:attribute>
230
+ </xs:complexType>
231
+
232
+ <xs:complexType name="LayerType">
233
+ <xs:annotation><xs:documentation>
234
+ Define a Layer ("Optional Content Group" in PDF parlance)
235
+ </xs:documentation></xs:annotation>
236
+ <xs:sequence>
237
+ <xs:element name="Layer" type="LayerType" minOccurs="0" maxOccurs="unbounded"/>
238
+ </xs:sequence>
239
+ <xs:attribute name="id" type="xs:string" use="required">
240
+ <xs:annotation><xs:documentation>
241
+ Arbitrary id, unique to the layer. Will be cross-referenced by
242
+ IfLayerOnType#layerId to define conditional visibility.
243
+ </xs:documentation></xs:annotation>
244
+ </xs:attribute>
245
+ <xs:attribute name="name" type="xs:string" use="required">
246
+ <xs:annotation><xs:documentation>
247
+ User visible name
248
+ </xs:documentation></xs:annotation>
249
+ </xs:attribute>
250
+ <xs:attribute name="initiallyVisible" type="xs:boolean" default="true"/>
251
+ <xs:attribute name="mutuallyExclusiveGroupId" type="xs:string">
252
+ <xs:annotation><xs:documentation>
253
+ Arbitrary id defining a group of mutually exclusive layers.
254
+ Layers referencing to the same #mutuallyExclusiveGroupId value
255
+ will be mutually exclusive.
256
+ </xs:documentation></xs:annotation>
257
+ </xs:attribute>
258
+ </xs:complexType>
259
+
260
+ <xs:complexType name="PageType">
261
+ <xs:sequence>
262
+ <xs:element name="DPI" type="positiveDouble" minOccurs="0" default="72"/>
263
+ <xs:element name="Width" type="pdfCoordinateType"/>
264
+ <xs:element name="Height" type="pdfCoordinateType"/>
265
+ <xs:element name="Georeferencing" type="GeoreferencingType" minOccurs="0" maxOccurs="unbounded"/>
266
+ <xs:element name="Content" type="ContentType"/>
267
+ </xs:sequence>
268
+ <xs:attribute name="id" type="xs:string">
269
+ <xs:annotation><xs:documentation>
270
+ Arbitrary id, unique to the page. Required if the page must
271
+ be referenced by a OutlineItem.
272
+ </xs:documentation></xs:annotation>
273
+ </xs:attribute>
274
+ </xs:complexType>
275
+
276
+ <xs:simpleType name="positiveDouble">
277
+ <xs:restriction base="xs:double">
278
+ <xs:minExclusive value="0"/>
279
+ </xs:restriction>
280
+ </xs:simpleType>
281
+
282
+ <xs:simpleType name="pdfCoordinateType">
283
+ <xs:restriction base="xs:double">
284
+ <xs:minInclusive value="0"/>
285
+ <xs:maxInclusive value="14400"/>
286
+ </xs:restriction>
287
+ </xs:simpleType>
288
+
289
+ <xs:complexType name="GeoreferencingType">
290
+ <xs:sequence>
291
+ <xs:element name="SRS" type="SRSType">
292
+ <xs:annotation><xs:documentation>
293
+ CRS WKT string, or EPSG:XXXX code.
294
+ </xs:documentation></xs:annotation>
295
+ </xs:element>
296
+ <xs:element name="BoundingBox" type="BoundingBoxType" minOccurs="0">
297
+ <xs:annotation><xs:documentation>
298
+ Define the viewport where georeferenced coordinates are
299
+ available.
300
+ If not specified, the extent of BoundingPolygon will be used instead.
301
+ If none of BoundingBox and BoundingPolygon are specified,
302
+ the whole PDF page will be assumed to be georeferenced.
303
+ </xs:documentation></xs:annotation>
304
+ </xs:element>
305
+ <xs:element name="BoundingPolygon" type="xs:string" minOccurs="0">
306
+ <xs:annotation><xs:documentation>
307
+ Define a polygon / neatline in PDF units into which the
308
+ Measure tool will display coordinates.
309
+ If not specified, BoundingBox will be used instead.
310
+ If none of BoundingBox and BoundingPolygon are specified,
311
+ the whole PDF page will be assumed to be georeferenced.
312
+ </xs:documentation></xs:annotation>
313
+ </xs:element>
314
+ <xs:element name="ControlPoint" type="ControlPointType" minOccurs="4" maxOccurs="unbounded">
315
+ <xs:annotation><xs:documentation>
316
+ Those points define the mapping from PDF coordinates to
317
+ georeferenced coordinates. At least 4 of them must be
318
+ provided. They do not need to form a rectangle neither in
319
+ PDF coordinate space nor in georeferenced coordinate space.
320
+ However if the georeferenced area is referenced to by content,
321
+ they must be evaluated to a geotransform, without rotation
322
+ or shearing.
323
+ </xs:documentation></xs:annotation>
324
+ </xs:element>
325
+ </xs:sequence>
326
+ <xs:attribute name="id" type="xs:string">
327
+ <xs:annotation><xs:documentation>
328
+ ID that can be referred to to automatically place content.
329
+ The georeferencing area ca be referenced to, only if the
330
+ control points define an affine geotransform, without rotation
331
+ or shearing, from PDF coordinate space to georeferenced
332
+ coordinate space.
333
+ </xs:documentation></xs:annotation>
334
+ </xs:attribute>
335
+ <xs:attribute name="ISO32000ExtensionFormat" type="xs:boolean" default="true">
336
+ <xs:annotation><xs:documentation>
337
+ ISO-32000 extension format is the georeferencing format
338
+ recognized by the Measure / Geographic location tool of Acrobat reader.
339
+ </xs:documentation></xs:annotation>
340
+ </xs:attribute>
341
+ <xs:attribute name="OGCBestPracticeFormat" type="xs:boolean" default="false">
342
+ <xs:annotation><xs:documentation>
343
+ OGC Best Practice format is the georeferencing format
344
+ recognized by the Terrago Toolbar.
345
+ It seems that within a PDF file,
346
+ there should be only georeferenced areas encoded with the
347
+ OGC Best Practice so that the Terrago Toolbar accepts to
348
+ read them.
349
+ </xs:documentation></xs:annotation>
350
+ </xs:attribute>
351
+ </xs:complexType>
352
+
353
+ <xs:complexType name="SRSType">
354
+ <xs:simpleContent>
355
+ <xs:extension base="xs:string">
356
+ <xs:attribute name="dataAxisToSRSAxisMapping" type="xs:string">
357
+ <xs:annotation><xs:documentation>
358
+ Defines the data axis to SRS axis mapping. List of
359
+ comma-separated axis number (starting at 1).
360
+ Used to interpret the GeoX and GeoY attribute meaning.
361
+ If not specified, the traditional GIS order is assumed.
362
+ </xs:documentation></xs:annotation>
363
+ </xs:attribute>
364
+ </xs:extension>
365
+ </xs:simpleContent>
366
+ </xs:complexType>
367
+
368
+ <xs:complexType name="BoundingBoxType">
369
+ <xs:annotation><xs:documentation>
370
+ x2 must be &gt; x1 and y2 &gt; y1
371
+ </xs:documentation></xs:annotation>
372
+ <xs:attribute name="x1" type="pdfCoordinateType" use="required"/>
373
+ <xs:attribute name="y1" type="pdfCoordinateType" use="required"/>
374
+ <xs:attribute name="x2" type="pdfCoordinateType" use="required"/>
375
+ <xs:attribute name="y2" type="pdfCoordinateType" use="required"/>
376
+ </xs:complexType>
377
+
378
+ <xs:complexType name="ControlPointType">
379
+ <xs:attribute name="x" type="pdfCoordinateType" use="required"/>
380
+ <xs:attribute name="y" type="pdfCoordinateType" use="required"/>
381
+ <xs:attribute name="GeoX" type="xs:double" use="required">
382
+ <xs:annotation><xs:documentation>
383
+ X value of the control point expressed in the SRS
384
+ </xs:documentation></xs:annotation>
385
+ </xs:attribute>
386
+ <xs:attribute name="GeoY" type="xs:double" use="required">
387
+ <xs:annotation><xs:documentation>
388
+ Y value of the control point expressed in the SRS
389
+ </xs:documentation></xs:annotation>
390
+ </xs:attribute>
391
+ </xs:complexType>
392
+
393
+ <xs:complexType name="ResursiveContentType">
394
+ <xs:annotation><xs:documentation>
395
+ Sequence of raster, vector, labels, content from other PDF document,
396
+ or conditionalized content of any of the above types.
397
+ The content is drawn in the order it is mentioned, that is the
398
+ first mentioned item is drawn first, and the last mentioned item
399
+ is drawn last.
400
+ </xs:documentation></xs:annotation>
401
+ <xs:sequence>
402
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
403
+ <xs:element name="Raster" type="RasterType"/>
404
+ <xs:element name="Vector" type="VectorType"/>
405
+ <xs:element name="VectorLabel" type="VectorLabelType"/>
406
+ <xs:element name="PDF" type="PDFType"/>
407
+ <xs:element name="IfLayerOn" type="IfLayerOnType"/>
408
+ </xs:choice>
409
+ </xs:sequence>
410
+ </xs:complexType>
411
+
412
+ <xs:complexType name="ContentType">
413
+ <xs:complexContent>
414
+ <xs:extension base="ResursiveContentType">
415
+ <xs:attribute name="streamCompression" type="StreamCompressionType" default="DEFLATE"/>
416
+ </xs:extension>
417
+ </xs:complexContent>
418
+ </xs:complexType>
419
+
420
+ <xs:simpleType name="StreamCompressionType">
421
+ <xs:restriction base="xs:string">
422
+ <xs:enumeration value="NONE"/>
423
+ <xs:enumeration value="DEFLATE"/>
424
+ </xs:restriction>
425
+ </xs:simpleType>
426
+
427
+ <xs:complexType name="PDFType">
428
+ <xs:annotation><xs:documentation>
429
+ Insert the content stream of the (first page of the) PDF, together with
430
+ its resources, without any extra rasterization.
431
+ Optional content groups or georeferencing potentially found in the
432
+ PDF to insert are ignored.
433
+ The dimensions of the inserted PDF are assumed to be the same
434
+ as the PDF where it is inserted.
435
+ </xs:documentation></xs:annotation>
436
+ <xs:sequence>
437
+ <xs:element name="Blending" type="BlendingType" minOccurs="0"/>
438
+ </xs:sequence>
439
+ <xs:attribute name="dataset" type="xs:string" use="required"/>
440
+ </xs:complexType>
441
+
442
+ <xs:complexType name="RasterType">
443
+ <xs:annotation><xs:documentation>
444
+ Insert raster (or rasterized) content from a GDAL dataset.
445
+
446
+ There are two modes:
447
+
448
+ - one where the raster potential georeferencing is completely ignored,
449
+ and the image is put at the specified PDF coordinates.
450
+ I which case , x1, y1, x2, y2 are in PDF coordinate units and represent the
451
+ area where the image will be stretched. If not specified,
452
+ the whole PDF page is occupied.
453
+ x2 must be &gt; x1 and y2 &gt; y1.
454
+
455
+ - another one, when the georeferencingId attribute is defined, and
456
+ reference a georeferenced area. In that case, the raster geotransform
457
+ will be used to correctly place it in the georeferenced area.
458
+ </xs:documentation></xs:annotation>
459
+ <xs:sequence>
460
+ <xs:element name="Compression" type="RasterCompressionType" minOccurs="0"/>
461
+ <xs:element name="Blending" type="BlendingType" minOccurs="0"/>
462
+ </xs:sequence>
463
+ <xs:attribute name="dataset" type="xs:string" use="required">
464
+ <xs:annotation><xs:documentation>
465
+ GDAL dataset name
466
+ </xs:documentation></xs:annotation>
467
+ </xs:attribute>
468
+ <xs:attribute name="x1" type="pdfCoordinateType"/>
469
+ <xs:attribute name="y1" type="pdfCoordinateType"/>
470
+ <xs:attribute name="x2" type="pdfCoordinateType"/>
471
+ <xs:attribute name="y2" type="pdfCoordinateType"/>
472
+ <xs:attribute name="georeferencingId" type="xs:string">
473
+ <xs:annotation><xs:documentation>
474
+ References a georeferenced area in the same page
475
+ through its Georeferencing#id
476
+ </xs:documentation></xs:annotation>
477
+ </xs:attribute>
478
+ <xs:attribute name="tileSize" type="xs:integer" default="256"/>
479
+ </xs:complexType>
480
+
481
+ <xs:complexType name="RasterCompressionType">
482
+ <xs:attribute name="method" type="RasterCompressionMethodType" default="DEFLATE"/>
483
+ <xs:attribute name="quality" type="JPEGQualityType">
484
+ <xs:annotation><xs:documentation>
485
+ Only applies when method=JPEG.
486
+ If not specified, if the source raster is a JPEG file, its
487
+ codestream will be used directly. Otherwise, the image will
488
+ be compressed with a quality of 75%.
489
+ </xs:documentation></xs:annotation>
490
+ </xs:attribute>
491
+ <xs:attribute name="predictor" type="xs:boolean" default="false">
492
+ <xs:annotation><xs:documentation>
493
+ Only applies when method=DEFALTE
494
+ </xs:documentation></xs:annotation>
495
+ </xs:attribute>
496
+ </xs:complexType>
497
+
498
+ <xs:simpleType name="JPEGQualityType">
499
+ <xs:restriction base="xs:int">
500
+ <xs:minInclusive value="1"/>
501
+ <xs:maxInclusive value="100"/>
502
+ </xs:restriction>
503
+ </xs:simpleType>
504
+
505
+ <xs:simpleType name="RasterCompressionMethodType">
506
+ <xs:restriction base="xs:string">
507
+ <xs:enumeration value="DEFLATE"/>
508
+ <xs:enumeration value="JPEG"/>
509
+ <xs:enumeration value="JPEG2000"/>
510
+ </xs:restriction>
511
+ </xs:simpleType>
512
+
513
+ <xs:complexType name="VectorType">
514
+ <xs:annotation><xs:documentation>
515
+ Insert vector content from a OGR dataset.
516
+
517
+ There are two modes:
518
+ - The coordinates of the vector features must be in PDF coordinate units.
519
+ This is when the georeferencingId attributes is not set.
520
+
521
+ - another one, when the georeferencingId attribute is defined, and
522
+ reference a georeferenced area. In that case, the vector georeferenced
523
+ coordinates will be used to correctly place it in the georeferenced area.
524
+
525
+ Note: OGR Feature Style strings containing a LABEL tool will not work with
526
+ this element, to display labels use a VectorLabel element instead.
527
+ </xs:documentation></xs:annotation>
528
+ <xs:sequence>
529
+ <xs:element name="Blending" type="BlendingType" minOccurs="0"/>
530
+ <xs:element name="LogicalStructure" type="LogicalStructureType" minOccurs="0"/>
531
+ </xs:sequence>
532
+ <xs:attribute name="dataset" type="xs:string" use="required">
533
+ <xs:annotation><xs:documentation>
534
+ OGR dataset name
535
+ </xs:documentation></xs:annotation>
536
+ </xs:attribute>
537
+ <xs:attribute name="layer" type="xs:string" use="required">
538
+ <xs:annotation><xs:documentation>
539
+ OGR layer name
540
+ </xs:documentation></xs:annotation>
541
+ </xs:attribute>
542
+ <xs:attribute name="georeferencingId" type="xs:string">
543
+ <xs:annotation><xs:documentation>
544
+ References a georeferenced area in the same page
545
+ through its Georeferencing#id
546
+ </xs:documentation></xs:annotation>
547
+ </xs:attribute>
548
+ <xs:attribute name="visible" type="xs:boolean" default="true">
549
+ <xs:annotation><xs:documentation>
550
+ Whether objects should be drawn or not
551
+ </xs:documentation></xs:annotation>
552
+ </xs:attribute>
553
+ <xs:attribute name="linkAttribute" type="xs:string">
554
+ <xs:annotation><xs:documentation>
555
+ Name of the attribute whose value is used to create a hyperlink
556
+ </xs:documentation></xs:annotation>
557
+ </xs:attribute>
558
+ <xs:attribute name="ogrStyleString" type="xs:string">
559
+ <xs:annotation><xs:documentation>
560
+ String overriding per-feature style
561
+ </xs:documentation></xs:annotation>
562
+ </xs:attribute>
563
+ </xs:complexType>
564
+
565
+ <xs:complexType name="LogicalStructureType">
566
+ <xs:annotation><xs:documentation>
567
+ The LogicalStructure element should be put when the features
568
+ of the layer should be written in the logical structure of the
569
+ document, and thus visible in the "Model Tree" of Acrobat reader.
570
+ By default, all OGR fields are included.
571
+ </xs:documentation></xs:annotation>
572
+ <xs:sequence>
573
+ <xs:choice minOccurs="0">
574
+ <xs:sequence>
575
+ <xs:element name="ExcludeAllFields" type="xs:boolean" minOccurs="0" fixed="true">
576
+ <xs:annotation><xs:documentation>
577
+ Whether all fields should be excluded, but the one(s)
578
+ potentially mentioned in IncludeField.
579
+ </xs:documentation></xs:annotation>
580
+ </xs:element>
581
+ <xs:element name="IncludeField" type="xs:string" minOccurs="0" maxOccurs="unbounded">
582
+ <xs:annotation><xs:documentation>
583
+ Name of OGR field to include.
584
+ </xs:documentation></xs:annotation>
585
+ </xs:element>
586
+ </xs:sequence>
587
+ <xs:sequence>
588
+ <xs:element name="IncludeAllFields" type="xs:boolean" minOccurs="0" fixed="true">
589
+ <xs:annotation><xs:documentation>
590
+ Whether all fields should be included, but the one(s)
591
+ potentially mentioned in ExcludeField.
592
+ </xs:documentation></xs:annotation>
593
+ </xs:element>
594
+ <xs:element name="ExcludeField" type="xs:string" minOccurs="0" maxOccurs="unbounded">
595
+ <xs:annotation><xs:documentation>
596
+ Name of OGR field to exclude.
597
+ </xs:documentation></xs:annotation>
598
+ </xs:element>
599
+ </xs:sequence>
600
+ </xs:choice>
601
+ </xs:sequence>
602
+ <xs:attribute name="displayLayerName" type="xs:string">
603
+ <xs:annotation><xs:documentation>
604
+ Name of the layer that will appear in the PDF reader.
605
+ If not specified, this will be the OGR layer name.
606
+ </xs:documentation></xs:annotation>
607
+ </xs:attribute>
608
+ <xs:attribute name="fieldToDisplay" type="xs:string">
609
+ <xs:annotation><xs:documentation>
610
+ Name of the OGR field whose value should be display for each
611
+ feature in feature tree of the PDF reader.
612
+ If not specified, this will "feature{FID}".
613
+ </xs:documentation></xs:annotation>
614
+ </xs:attribute>
615
+ </xs:complexType>
616
+
617
+ <xs:complexType name="VectorLabelType">
618
+ <xs:annotation><xs:documentation>
619
+ Insert text labels for features from a OGR dataset.
620
+
621
+ The features must be associated with a OGR Feature Style string with
622
+ a LABEL tool.
623
+ Only LATIN-1 characters will be correctly output.
624
+
625
+ There are two modes:
626
+ - The coordinates of the vector features must be in PDF coordinate units.
627
+ This is when the georeferencingId attributes is not set.
628
+
629
+ - another one, when the georeferencingId attribute is defined, and
630
+ reference a georeferenced area. In that case, the vector georeferenced
631
+ coordinates will be used to correctly place it in the georeferenced area.
632
+ </xs:documentation></xs:annotation>
633
+ <xs:sequence>
634
+ <xs:element name="Blending" type="BlendingType" minOccurs="0"/>
635
+ </xs:sequence>
636
+ <xs:attribute name="dataset" type="xs:string" use="required">
637
+ <xs:annotation><xs:documentation>
638
+ OGR dataset name
639
+ </xs:documentation></xs:annotation>
640
+ </xs:attribute>
641
+ <xs:attribute name="layer" type="xs:string" use="required">
642
+ <xs:annotation><xs:documentation>
643
+ OGR layer name
644
+ </xs:documentation></xs:annotation>
645
+ </xs:attribute>
646
+ <xs:attribute name="georeferencingId" type="xs:string">
647
+ <xs:annotation><xs:documentation>
648
+ References a georeferenced area in the same page
649
+ through its Georeferencing#id
650
+ </xs:documentation></xs:annotation>
651
+ </xs:attribute>
652
+ <xs:attribute name="ogrStyleString" type="xs:string">
653
+ <xs:annotation><xs:documentation>
654
+ String overriding per-feature style
655
+ </xs:documentation></xs:annotation>
656
+ </xs:attribute>
657
+ </xs:complexType>
658
+
659
+ <xs:complexType name="BlendingType">
660
+ <xs:attribute name="function" type="BlendingFunctionType" default="Normal"/>
661
+ <xs:attribute name="opacity" type="OpacityType" default="1"/>
662
+ </xs:complexType>
663
+
664
+ <xs:simpleType name="BlendingFunctionType">
665
+ <xs:annotation><xs:documentation>
666
+ Blend mode as defined in PDF reference version 1.7
667
+ page 520, Table 7.2 "Standard separable blend modes".
668
+ </xs:documentation></xs:annotation>
669
+ <xs:restriction base="xs:string">
670
+ <xs:enumeration value="Normal"/>
671
+ <xs:enumeration value="Multiply"/>
672
+ <xs:enumeration value="Screen"/>
673
+ <xs:enumeration value="Overlay"/>
674
+ <xs:enumeration value="Darken"/>
675
+ <xs:enumeration value="Lighten"/>
676
+ <xs:enumeration value="ColorDodge"/>
677
+ <xs:enumeration value="ColorBurn"/>
678
+ <xs:enumeration value="HardLight"/>
679
+ <xs:enumeration value="SoftLight"/>
680
+ <xs:enumeration value="Difference"/>
681
+ <xs:enumeration value="Exclusion"/>
682
+ </xs:restriction>
683
+ </xs:simpleType>
684
+
685
+ <xs:simpleType name="OpacityType">
686
+ <xs:restriction base="xs:double">
687
+ <xs:minInclusive value="0"/>
688
+ <xs:maxInclusive value="1"/>
689
+ </xs:restriction>
690
+ </xs:simpleType>
691
+
692
+ <xs:complexType name="IfLayerOnType">
693
+ <xs:annotation><xs:documentation>
694
+ Conditionalize content display to the On status of a layer.
695
+ IfLayerOn elements can be nested. And in general, the nesting used
696
+ to define the layers should be used to define the conditional
697
+ content too, because toggling off a upper-level layer in Acrobat
698
+ does not change the state of its children.
699
+
700
+ For example:
701
+ &lt;Layer id="A" name="A"&gt;
702
+ &lt;Layer id="A.1" name="A.1""&gt;&lt;/Layer&gt;
703
+ &lt;/Layer&gt;
704
+
705
+ &lt;IfLayerOnType layerId="A"&gt;
706
+ &lt;IfLayerOnType layerId="A.1"&gt;
707
+ ....
708
+ &lt;/IfLayerOnType&gt;
709
+ &lt;/IfLayerOnType&gt;
710
+ </xs:documentation></xs:annotation>
711
+ <xs:complexContent>
712
+ <xs:extension base="ResursiveContentType">
713
+ <xs:attribute name="layerId" type="xs:string" use="required">
714
+ <xs:annotation><xs:documentation>
715
+ Should reference a Layer#id attribute.
716
+ </xs:documentation></xs:annotation>
717
+ </xs:attribute>
718
+ </xs:extension>
719
+ </xs:complexContent>
720
+ </xs:complexType>
721
+ </xs:schema>