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