ogc-gml 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (389) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/main.yml +27 -0
  3. data/.github/workflows/rake.yml +16 -0
  4. data/.github/workflows/release.yml +24 -0
  5. data/.gitignore +11 -0
  6. data/.gitmodules +3 -0
  7. data/.rspec +3 -0
  8. data/.rubocop.yml +8 -0
  9. data/CODE_OF_CONDUCT.md +84 -0
  10. data/Gemfile +12 -0
  11. data/README.md +35 -0
  12. data/Rakefile +12 -0
  13. data/bin/console +11 -0
  14. data/bin/setup +8 -0
  15. data/lib/ogc/gml/abstract_continuous_coverage.rb +35 -0
  16. data/lib/ogc/gml/abstract_coordinate_operation.rb +41 -0
  17. data/lib/ogc/gml/abstract_coordinate_system.rb +41 -0
  18. data/lib/ogc/gml/abstract_coverage.rb +36 -0
  19. data/lib/ogc/gml/abstract_crs.rb +35 -0
  20. data/lib/ogc/gml/abstract_curve.rb +27 -0
  21. data/lib/ogc/gml/abstract_curve_segment.rb +23 -0
  22. data/lib/ogc/gml/abstract_datum.rb +39 -0
  23. data/lib/ogc/gml/abstract_feature.rb +35 -0
  24. data/lib/ogc/gml/abstract_feature_collection.rb +36 -0
  25. data/lib/ogc/gml/abstract_general_conversion.rb +38 -0
  26. data/lib/ogc/gml/abstract_general_derived_crs.rb +30 -0
  27. data/lib/ogc/gml/abstract_general_operation_parameter.rb +28 -0
  28. data/lib/ogc/gml/abstract_general_operation_parameter_property.rb +25 -0
  29. data/lib/ogc/gml/abstract_general_parameter_value.rb +15 -0
  30. data/lib/ogc/gml/abstract_general_parameter_value_property.rb +21 -0
  31. data/lib/ogc/gml/abstract_general_transformation.rb +30 -0
  32. data/lib/ogc/gml/abstract_geometric_aggregate.rb +30 -0
  33. data/lib/ogc/gml/abstract_geometric_primitive.rb +42 -0
  34. data/lib/ogc/gml/abstract_geometry.rb +27 -0
  35. data/lib/ogc/gml/abstract_gml.rb +28 -0
  36. data/lib/ogc/gml/abstract_gridded_surface.rb +23 -0
  37. data/lib/ogc/gml/abstract_meta_data.rb +21 -0
  38. data/lib/ogc/gml/abstract_parametric_curve_surface.rb +19 -0
  39. data/lib/ogc/gml/abstract_ring.rb +15 -0
  40. data/lib/ogc/gml/abstract_ring_property.rb +21 -0
  41. data/lib/ogc/gml/abstract_solid.rb +27 -0
  42. data/lib/ogc/gml/abstract_surface.rb +27 -0
  43. data/lib/ogc/gml/abstract_surface_patch.rb +15 -0
  44. data/lib/ogc/gml/abstract_time_complex.rb +28 -0
  45. data/lib/ogc/gml/abstract_time_geometric_primitive.rb +39 -0
  46. data/lib/ogc/gml/abstract_time_object.rb +28 -0
  47. data/lib/ogc/gml/abstract_time_primitive.rb +29 -0
  48. data/lib/ogc/gml/abstract_time_slice.rb +35 -0
  49. data/lib/ogc/gml/abstract_time_topology_primitive.rb +34 -0
  50. data/lib/ogc/gml/abstract_topo_primitive.rb +28 -0
  51. data/lib/ogc/gml/abstract_topology.rb +33 -0
  52. data/lib/ogc/gml/affine_cs.rb +26 -0
  53. data/lib/ogc/gml/affine_cs_property.rb +25 -0
  54. data/lib/ogc/gml/affine_placement.rb +28 -0
  55. data/lib/ogc/gml/angle.rb +21 -0
  56. data/lib/ogc/gml/arc.rb +27 -0
  57. data/lib/ogc/gml/arc_by_bulge.rb +33 -0
  58. data/lib/ogc/gml/arc_by_center_point.rb +43 -0
  59. data/lib/ogc/gml/arc_string.rb +40 -0
  60. data/lib/ogc/gml/arc_string_by_bulge.rb +33 -0
  61. data/lib/ogc/gml/array.rb +32 -0
  62. data/lib/ogc/gml/array_association.rb +21 -0
  63. data/lib/ogc/gml/association_role.rb +23 -0
  64. data/lib/ogc/gml/b_spline.rb +30 -0
  65. data/lib/ogc/gml/bag.rb +35 -0
  66. data/lib/ogc/gml/base_unit.rb +40 -0
  67. data/lib/ogc/gml/bezier.rb +46 -0
  68. data/lib/ogc/gml/boolean.rb +21 -0
  69. data/lib/ogc/gml/bounding_shape.rb +25 -0
  70. data/lib/ogc/gml/cartesian_cs.rb +26 -0
  71. data/lib/ogc/gml/cartesian_cs_property.rb +25 -0
  72. data/lib/ogc/gml/category.rb +23 -0
  73. data/lib/ogc/gml/category_extent.rb +21 -0
  74. data/lib/ogc/gml/circle.rb +27 -0
  75. data/lib/ogc/gml/circle_by_center_point.rb +43 -0
  76. data/lib/ogc/gml/clothoid.rb +33 -0
  77. data/lib/ogc/gml/code.rb +21 -0
  78. data/lib/ogc/gml/code_or_nil_reason_list.rb +21 -0
  79. data/lib/ogc/gml/code_with_authority.rb +23 -0
  80. data/lib/ogc/gml/composite_curve.rb +32 -0
  81. data/lib/ogc/gml/composite_solid.rb +32 -0
  82. data/lib/ogc/gml/composite_surface.rb +32 -0
  83. data/lib/ogc/gml/composite_value.rb +42 -0
  84. data/lib/ogc/gml/compound_crs.rb +32 -0
  85. data/lib/ogc/gml/compound_crs_property.rb +25 -0
  86. data/lib/ogc/gml/concatenated_operation.rb +47 -0
  87. data/lib/ogc/gml/concatenated_operation_property.rb +25 -0
  88. data/lib/ogc/gml/cone.rb +22 -0
  89. data/lib/ogc/gml/control_point.rb +27 -0
  90. data/lib/ogc/gml/conventional_unit.rb +46 -0
  91. data/lib/ogc/gml/conversion.rb +34 -0
  92. data/lib/ogc/gml/conversion_property.rb +25 -0
  93. data/lib/ogc/gml/conversion_to_preferred_unit.rb +25 -0
  94. data/lib/ogc/gml/coordinate_operation_accuracy.rb +25 -0
  95. data/lib/ogc/gml/coordinate_operation_property.rb +25 -0
  96. data/lib/ogc/gml/coordinate_system_axis.rb +48 -0
  97. data/lib/ogc/gml/coordinate_system_axis_property.rb +25 -0
  98. data/lib/ogc/gml/coordinate_system_property.rb +25 -0
  99. data/lib/ogc/gml/coordinates.rb +25 -0
  100. data/lib/ogc/gml/count.rb +21 -0
  101. data/lib/ogc/gml/coverage_function.rb +27 -0
  102. data/lib/ogc/gml/crs_property.rb +25 -0
  103. data/lib/ogc/gml/cubic_spline.rb +45 -0
  104. data/lib/ogc/gml/curve.rb +31 -0
  105. data/lib/ogc/gml/curve_array_property.rb +28 -0
  106. data/lib/ogc/gml/curve_property.rb +37 -0
  107. data/lib/ogc/gml/curve_segment_array_property.rb +33 -0
  108. data/lib/ogc/gml/cylinder.rb +25 -0
  109. data/lib/ogc/gml/cylindrical_cs.rb +26 -0
  110. data/lib/ogc/gml/cylindrical_cs_property.rb +25 -0
  111. data/lib/ogc/gml/data_block.rb +26 -0
  112. data/lib/ogc/gml/datum_property.rb +25 -0
  113. data/lib/ogc/gml/definition.rb +31 -0
  114. data/lib/ogc/gml/definition_proxy.rb +33 -0
  115. data/lib/ogc/gml/degrees.rb +21 -0
  116. data/lib/ogc/gml/derivation_unit_term.rb +21 -0
  117. data/lib/ogc/gml/derived_crs.rb +37 -0
  118. data/lib/ogc/gml/derived_crs_property.rb +25 -0
  119. data/lib/ogc/gml/derived_unit.rb +41 -0
  120. data/lib/ogc/gml/dictionary.rb +46 -0
  121. data/lib/ogc/gml/dictionary_entry.rb +33 -0
  122. data/lib/ogc/gml/direct_position.rb +27 -0
  123. data/lib/ogc/gml/direct_position_list.rb +29 -0
  124. data/lib/ogc/gml/directed_edge_property.rb +29 -0
  125. data/lib/ogc/gml/directed_face_property.rb +29 -0
  126. data/lib/ogc/gml/directed_node_property.rb +29 -0
  127. data/lib/ogc/gml/directed_observation.rb +50 -0
  128. data/lib/ogc/gml/directed_observation_at_distance.rb +53 -0
  129. data/lib/ogc/gml/directed_topo_solid_property.rb +29 -0
  130. data/lib/ogc/gml/direction_description.rb +28 -0
  131. data/lib/ogc/gml/direction_property.rb +38 -0
  132. data/lib/ogc/gml/direction_vector.rb +26 -0
  133. data/lib/ogc/gml/discrete_coverage.rb +28 -0
  134. data/lib/ogc/gml/dms_angle.rb +27 -0
  135. data/lib/ogc/gml/domain_of_validity.rb +25 -0
  136. data/lib/ogc/gml/domain_set.rb +30 -0
  137. data/lib/ogc/gml/dynamic_feature.rb +46 -0
  138. data/lib/ogc/gml/dynamic_feature_collection.rb +49 -0
  139. data/lib/ogc/gml/dynamic_feature_member.rb +27 -0
  140. data/lib/ogc/gml/edge.rb +48 -0
  141. data/lib/ogc/gml/ellipsoid.rb +37 -0
  142. data/lib/ogc/gml/ellipsoid_property.rb +25 -0
  143. data/lib/ogc/gml/ellipsoidal_cs.rb +26 -0
  144. data/lib/ogc/gml/ellipsoidal_cs_property.rb +25 -0
  145. data/lib/ogc/gml/engineering_crs.rb +54 -0
  146. data/lib/ogc/gml/engineering_crs_property.rb +25 -0
  147. data/lib/ogc/gml/engineering_datum.rb +28 -0
  148. data/lib/ogc/gml/engineering_datum_property.rb +25 -0
  149. data/lib/ogc/gml/envelope.rb +36 -0
  150. data/lib/ogc/gml/envelope_with_time_period.rb +43 -0
  151. data/lib/ogc/gml/face.rb +50 -0
  152. data/lib/ogc/gml/face_or_topo_solid_property.rb +33 -0
  153. data/lib/ogc/gml/feature_array_property.rb +21 -0
  154. data/lib/ogc/gml/feature_collection.rb +27 -0
  155. data/lib/ogc/gml/feature_property.rb +27 -0
  156. data/lib/ogc/gml/file.rb +32 -0
  157. data/lib/ogc/gml/formula.rb +25 -0
  158. data/lib/ogc/gml/formula_citation.rb +25 -0
  159. data/lib/ogc/gml/general_conversion_property.rb +25 -0
  160. data/lib/ogc/gml/general_transformation_property.rb +25 -0
  161. data/lib/ogc/gml/generic_meta_data.rb +21 -0
  162. data/lib/ogc/gml/geocentric_crs.rb +36 -0
  163. data/lib/ogc/gml/geocentric_crs_property.rb +25 -0
  164. data/lib/ogc/gml/geodesic.rb +33 -0
  165. data/lib/ogc/gml/geodesic_string.rb +33 -0
  166. data/lib/ogc/gml/geodetic_crs.rb +40 -0
  167. data/lib/ogc/gml/geodetic_crs_property.rb +25 -0
  168. data/lib/ogc/gml/geodetic_datum.rb +35 -0
  169. data/lib/ogc/gml/geodetic_datum_property.rb +25 -0
  170. data/lib/ogc/gml/geographic_crs.rb +33 -0
  171. data/lib/ogc/gml/geographic_crs_property.rb +25 -0
  172. data/lib/ogc/gml/geometric_complex.rb +32 -0
  173. data/lib/ogc/gml/geometric_primitive_property.rb +27 -0
  174. data/lib/ogc/gml/geometry_array_property.rb +23 -0
  175. data/lib/ogc/gml/geometry_property.rb +27 -0
  176. data/lib/ogc/gml/grid.rb +49 -0
  177. data/lib/ogc/gml/grid_envelope.rb +21 -0
  178. data/lib/ogc/gml/grid_function.rb +23 -0
  179. data/lib/ogc/gml/grid_limits.rb +21 -0
  180. data/lib/ogc/gml/history_property.rb +23 -0
  181. data/lib/ogc/gml/image_crs.rb +39 -0
  182. data/lib/ogc/gml/image_crs_property.rb +25 -0
  183. data/lib/ogc/gml/image_datum.rb +31 -0
  184. data/lib/ogc/gml/image_datum_property.rb +25 -0
  185. data/lib/ogc/gml/indirect_entry.rb +21 -0
  186. data/lib/ogc/gml/inline_property.rb +19 -0
  187. data/lib/ogc/gml/knot.rb +23 -0
  188. data/lib/ogc/gml/knot_property.rb +21 -0
  189. data/lib/ogc/gml/length.rb +21 -0
  190. data/lib/ogc/gml/line_string.rb +43 -0
  191. data/lib/ogc/gml/line_string_segment.rb +38 -0
  192. data/lib/ogc/gml/line_string_segment_array_property.rb +21 -0
  193. data/lib/ogc/gml/linear_cs.rb +26 -0
  194. data/lib/ogc/gml/linear_cs_property.rb +25 -0
  195. data/lib/ogc/gml/linear_ring.rb +32 -0
  196. data/lib/ogc/gml/location_property.rb +33 -0
  197. data/lib/ogc/gml/mapping_rule.rb +23 -0
  198. data/lib/ogc/gml/measure.rb +21 -0
  199. data/lib/ogc/gml/measure_list.rb +21 -0
  200. data/lib/ogc/gml/measure_or_nil_reason_list.rb +21 -0
  201. data/lib/ogc/gml/meta_data_property.rb +27 -0
  202. data/lib/ogc/gml/moving_object_status.rb +59 -0
  203. data/lib/ogc/gml/multi_curve.rb +33 -0
  204. data/lib/ogc/gml/multi_curve_property.rb +27 -0
  205. data/lib/ogc/gml/multi_geometry.rb +35 -0
  206. data/lib/ogc/gml/multi_geometry_property.rb +27 -0
  207. data/lib/ogc/gml/multi_point.rb +35 -0
  208. data/lib/ogc/gml/multi_point_property.rb +27 -0
  209. data/lib/ogc/gml/multi_solid.rb +35 -0
  210. data/lib/ogc/gml/multi_solid_property.rb +27 -0
  211. data/lib/ogc/gml/multi_surface.rb +35 -0
  212. data/lib/ogc/gml/multi_surface_property.rb +27 -0
  213. data/lib/ogc/gml/node.rb +48 -0
  214. data/lib/ogc/gml/node_or_edge_property.rb +33 -0
  215. data/lib/ogc/gml/node_property.rb +27 -0
  216. data/lib/ogc/gml/oblique_cartesian_cs.rb +26 -0
  217. data/lib/ogc/gml/oblique_cartesian_cs_property.rb +25 -0
  218. data/lib/ogc/gml/observation.rb +47 -0
  219. data/lib/ogc/gml/offset_curve.rb +31 -0
  220. data/lib/ogc/gml/operation_method.rb +43 -0
  221. data/lib/ogc/gml/operation_method_property.rb +25 -0
  222. data/lib/ogc/gml/operation_parameter.rb +25 -0
  223. data/lib/ogc/gml/operation_parameter_group.rb +31 -0
  224. data/lib/ogc/gml/operation_parameter_group_property.rb +25 -0
  225. data/lib/ogc/gml/operation_parameter_property.rb +25 -0
  226. data/lib/ogc/gml/operation_property.rb +25 -0
  227. data/lib/ogc/gml/orientable_curve.rb +50 -0
  228. data/lib/ogc/gml/orientable_surface.rb +47 -0
  229. data/lib/ogc/gml/parameter_value.rb +40 -0
  230. data/lib/ogc/gml/parameter_value_group.rb +24 -0
  231. data/lib/ogc/gml/pass_through_operation.rb +43 -0
  232. data/lib/ogc/gml/pass_through_operation_property.rb +25 -0
  233. data/lib/ogc/gml/point.rb +33 -0
  234. data/lib/ogc/gml/point_array_property.rb +23 -0
  235. data/lib/ogc/gml/point_property.rb +27 -0
  236. data/lib/ogc/gml/polar_cs.rb +26 -0
  237. data/lib/ogc/gml/polar_cs_property.rb +25 -0
  238. data/lib/ogc/gml/polygon.rb +34 -0
  239. data/lib/ogc/gml/polygon_patch.rb +25 -0
  240. data/lib/ogc/gml/prime_meridian.rb +34 -0
  241. data/lib/ogc/gml/prime_meridian_property.rb +25 -0
  242. data/lib/ogc/gml/priority_location_property.rb +35 -0
  243. data/lib/ogc/gml/procedure_property.rb +27 -0
  244. data/lib/ogc/gml/projected_crs.rb +37 -0
  245. data/lib/ogc/gml/projected_crs_property.rb +25 -0
  246. data/lib/ogc/gml/quantity.rb +23 -0
  247. data/lib/ogc/gml/quantity_extent.rb +21 -0
  248. data/lib/ogc/gml/range_set.rb +29 -0
  249. data/lib/ogc/gml/rectangle.rb +23 -0
  250. data/lib/ogc/gml/rectified_grid.rb +55 -0
  251. data/lib/ogc/gml/ref_location.rb +21 -0
  252. data/lib/ogc/gml/reference.rb +23 -0
  253. data/lib/ogc/gml/related_time.rb +29 -0
  254. data/lib/ogc/gml/result.rb +23 -0
  255. data/lib/ogc/gml/ring.rb +21 -0
  256. data/lib/ogc/gml/second_defining_parameter1.rb +21 -0
  257. data/lib/ogc/gml/second_defining_parameter2.rb +26 -0
  258. data/lib/ogc/gml/sequence_rule.rb +23 -0
  259. data/lib/ogc/gml/shell.rb +25 -0
  260. data/lib/ogc/gml/shell_property.rb +27 -0
  261. data/lib/ogc/gml/single_crs_property.rb +25 -0
  262. data/lib/ogc/gml/single_operation_property.rb +25 -0
  263. data/lib/ogc/gml/solid.rb +33 -0
  264. data/lib/ogc/gml/solid_array_property.rb +23 -0
  265. data/lib/ogc/gml/solid_property.rb +27 -0
  266. data/lib/ogc/gml/sphere.rb +22 -0
  267. data/lib/ogc/gml/spherical_cs.rb +26 -0
  268. data/lib/ogc/gml/spherical_cs_property.rb +25 -0
  269. data/lib/ogc/gml/string_or_ref.rb +23 -0
  270. data/lib/ogc/gml/surface.rb +31 -0
  271. data/lib/ogc/gml/surface_array_property.rb +23 -0
  272. data/lib/ogc/gml/surface_patch_array_property.rb +28 -0
  273. data/lib/ogc/gml/surface_property.rb +30 -0
  274. data/lib/ogc/gml/target_property.rb +30 -0
  275. data/lib/ogc/gml/temporal_crs.rb +36 -0
  276. data/lib/ogc/gml/temporal_crs_property.rb +25 -0
  277. data/lib/ogc/gml/temporal_cs.rb +26 -0
  278. data/lib/ogc/gml/temporal_cs_property.rb +25 -0
  279. data/lib/ogc/gml/temporal_datum.rb +38 -0
  280. data/lib/ogc/gml/temporal_datum_property.rb +25 -0
  281. data/lib/ogc/gml/time_calendar.rb +36 -0
  282. data/lib/ogc/gml/time_calendar_era.rb +41 -0
  283. data/lib/ogc/gml/time_calendar_era_property.rb +27 -0
  284. data/lib/ogc/gml/time_calendar_property.rb +27 -0
  285. data/lib/ogc/gml/time_clock.rb +43 -0
  286. data/lib/ogc/gml/time_coordinate_system.rb +42 -0
  287. data/lib/ogc/gml/time_cs.rb +26 -0
  288. data/lib/ogc/gml/time_cs_property.rb +25 -0
  289. data/lib/ogc/gml/time_edge.rb +40 -0
  290. data/lib/ogc/gml/time_edge_property.rb +27 -0
  291. data/lib/ogc/gml/time_instant.rb +29 -0
  292. data/lib/ogc/gml/time_instant_property.rb +27 -0
  293. data/lib/ogc/gml/time_interval_length.rb +25 -0
  294. data/lib/ogc/gml/time_node.rb +37 -0
  295. data/lib/ogc/gml/time_node_property.rb +27 -0
  296. data/lib/ogc/gml/time_ordinal_era.rb +46 -0
  297. data/lib/ogc/gml/time_ordinal_era_property.rb +27 -0
  298. data/lib/ogc/gml/time_ordinal_reference_system.rb +36 -0
  299. data/lib/ogc/gml/time_period.rb +41 -0
  300. data/lib/ogc/gml/time_period_property.rb +27 -0
  301. data/lib/ogc/gml/time_position.rb +25 -0
  302. data/lib/ogc/gml/time_primitive_property.rb +27 -0
  303. data/lib/ogc/gml/time_reference_system.rb +33 -0
  304. data/lib/ogc/gml/time_topology_complex.rb +32 -0
  305. data/lib/ogc/gml/time_topology_primitive_property.rb +27 -0
  306. data/lib/ogc/gml/tin.rb +43 -0
  307. data/lib/ogc/gml/topo_complex.rb +54 -0
  308. data/lib/ogc/gml/topo_complex_property.rb +25 -0
  309. data/lib/ogc/gml/topo_curve.rb +39 -0
  310. data/lib/ogc/gml/topo_curve_property.rb +23 -0
  311. data/lib/ogc/gml/topo_point.rb +32 -0
  312. data/lib/ogc/gml/topo_point_property.rb +23 -0
  313. data/lib/ogc/gml/topo_primitive_array_association.rb +23 -0
  314. data/lib/ogc/gml/topo_primitive_member.rb +27 -0
  315. data/lib/ogc/gml/topo_solid.rb +50 -0
  316. data/lib/ogc/gml/topo_solid_property.rb +27 -0
  317. data/lib/ogc/gml/topo_surface.rb +39 -0
  318. data/lib/ogc/gml/topo_surface_property.rb +23 -0
  319. data/lib/ogc/gml/topo_volume.rb +39 -0
  320. data/lib/ogc/gml/topo_volume_property.rb +23 -0
  321. data/lib/ogc/gml/transformation.rb +44 -0
  322. data/lib/ogc/gml/transformation_property.rb +25 -0
  323. data/lib/ogc/gml/triangle.rb +23 -0
  324. data/lib/ogc/gml/unit_definition.rb +38 -0
  325. data/lib/ogc/gml/unit_of_measure.rb +19 -0
  326. data/lib/ogc/gml/user_defined_cs.rb +26 -0
  327. data/lib/ogc/gml/user_defined_cs_property.rb +25 -0
  328. data/lib/ogc/gml/value_array.rb +46 -0
  329. data/lib/ogc/gml/value_array_property.rb +30 -0
  330. data/lib/ogc/gml/value_property.rb +34 -0
  331. data/lib/ogc/gml/vector.rb +21 -0
  332. data/lib/ogc/gml/version.rb +7 -0
  333. data/lib/ogc/gml/vertical_crs.rb +33 -0
  334. data/lib/ogc/gml/vertical_crs_property.rb +25 -0
  335. data/lib/ogc/gml/vertical_cs.rb +26 -0
  336. data/lib/ogc/gml/vertical_cs_property.rb +25 -0
  337. data/lib/ogc/gml/vertical_datum.rb +28 -0
  338. data/lib/ogc/gml/vertical_datum_property.rb +25 -0
  339. data/lib/ogc/gml.rb +339 -0
  340. data/ogc-gml.gemspec +43 -0
  341. data/references/combined_gml/gml-without-xlink-gmd.xsd +6490 -0
  342. data/references/combined_gml/original-combined/gml.xsd +6491 -0
  343. data/references/combined_gml/original-combined/include-chain.txt +78 -0
  344. data/references/gml/3.2.1.2/SchematronConstraints.xml +71 -0
  345. data/references/gml/3.2.1.2/basicTypes.xsd +268 -0
  346. data/references/gml/3.2.1.2/coordinateOperations.xsd +525 -0
  347. data/references/gml/3.2.1.2/coordinateReferenceSystems.xsd +373 -0
  348. data/references/gml/3.2.1.2/coordinateSystems.xsd +297 -0
  349. data/references/gml/3.2.1.2/coverage.xsd +292 -0
  350. data/references/gml/3.2.1.2/datums.xsd +287 -0
  351. data/references/gml/3.2.1.2/defaultStyle.xsd +453 -0
  352. data/references/gml/3.2.1.2/deprecatedTypes.xsd +1133 -0
  353. data/references/gml/3.2.1.2/dictionary.xsd +90 -0
  354. data/references/gml/3.2.1.2/direction.xsd +84 -0
  355. data/references/gml/3.2.1.2/dynamicFeature.xsd +109 -0
  356. data/references/gml/3.2.1.2/feature.xsd +94 -0
  357. data/references/gml/3.2.1.2/geometryAggregates.xsd +197 -0
  358. data/references/gml/3.2.1.2/geometryBasic0d1d.xsd +277 -0
  359. data/references/gml/3.2.1.2/geometryBasic2d.xsd +124 -0
  360. data/references/gml/3.2.1.2/geometryComplexes.xsd +95 -0
  361. data/references/gml/3.2.1.2/geometryPrimitives.xsd +846 -0
  362. data/references/gml/3.2.1.2/gml.xsd +20 -0
  363. data/references/gml/3.2.1.2/gmlBase.xsd +185 -0
  364. data/references/gml/3.2.1.2/gml_32_geometries.rdf +368 -0
  365. data/references/gml/3.2.1.2/gml_3_2_1-ReadMe.txt +58 -0
  366. data/references/gml/3.2.1.2/grids.xsd +64 -0
  367. data/references/gml/3.2.1.2/measures.xsd +68 -0
  368. data/references/gml/3.2.1.2/observation.xsd +95 -0
  369. data/references/gml/3.2.1.2/referenceSystems.xsd +70 -0
  370. data/references/gml/3.2.1.2/temporal.xsd +269 -0
  371. data/references/gml/3.2.1.2/temporalReferenceSystems.xsd +189 -0
  372. data/references/gml/3.2.1.2/temporalTopology.xsd +119 -0
  373. data/references/gml/3.2.1.2/topology.xsd +386 -0
  374. data/references/gml/3.2.1.2/units.xsd +231 -0
  375. data/references/gml/3.2.1.2/valueObjects.xsd +205 -0
  376. data/references/gml/3.3.1/ReadMe.txt +89 -0
  377. data/references/gml/3.3.1/extdBaseTypes.xsd +67 -0
  378. data/references/gml/3.3.1/extdEncRule.xsd +8 -0
  379. data/references/gml/3.3.1/geometryCompact.xsd +218 -0
  380. data/references/gml/3.3.1/iso8601.sch +19 -0
  381. data/references/gml/3.3.1/linearRef.xsd +215 -0
  382. data/references/gml/3.3.1/linearRefOffset.xsd +96 -0
  383. data/references/gml/3.3.1/linearRefOffsetVector.xsd +48 -0
  384. data/references/gml/3.3.1/linearRefTowardsReferent.xsd +23 -0
  385. data/references/gml/3.3.1/referenceableGrid.xsd +79 -0
  386. data/references/gml/3.3.1/tin.xsd +78 -0
  387. data/sig/ogc/gml.rbs +8 -0
  388. data/split_files.rb +28 -0
  389. metadata +545 -0
@@ -0,0 +1,205 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.2.1.2">
3
+ <annotation>
4
+ <appinfo source="urn:x-ogc:specification:gml:schema-xsd:valueObjects:3.2.1">valueObjects.xsd</appinfo>
5
+ <documentation>See ISO/DIS 19136 17.5.
6
+ The elements declared in this Clause build on other GML schema components, in particular gml:AbstractTimeObject, gml:AbstractGeometry, and the following types: gml:MeasureType, gml:MeasureListType, gml:CodeType, gml:CodeOrNilReasonListType, gml:BooleanOrNilReasonListType, gml:IntegerOrNilReasonList.
7
+ Of particular interest are elements that are the heads of substitution groups, and one named choice group. These are the primary reasons for the value objects schema, since they may act as variables in the definition of content models, such as Observations, when it is desired to permit alternative value types to occur some of which may have complex content such as arrays, geometry and time objects, and where it is useful not to prescribe the actual value type in advance. The members of the groups include quantities, category classifications, boolean, count, temporal and spatial values, and aggregates of these.
8
+ The value objects are defined in a hierarchy. The following relationships are defined:
9
+ - Concrete elements gml:Quantity, gml:Category, gml:Count and gml:Boolean are substitutable for the abstract element gml:AbstractScalarValue.
10
+ - Concrete elements gml:QuantityList, gml:CategoryList, gml:CountList and gml:BooleanList are substitutable for the abstract element gml:AbstractScalarValueList.
11
+ - Concrete element gml:ValueArray is substitutable for the concrete element gml:CompositeValue.
12
+ - Abstract elements gml:AbstractScalarValue and gml:AbstractScalarValueList, and concrete elements gml:CompositeValue, gml:ValueExtent, gml:CategoryExtent, gml:CountExtent and gml:QuantityExtent are substitutable for abstract element gml:AbstractValue.
13
+ - Abstract elements gml:AbstractValue, gml:AbstractTimeObject and gml:AbstractGeometry are all in a choice group named gml:Value, which is used for compositing in gml:CompositeValue and gml:ValueExtent.
14
+ - Schemas which need values may use the abstract element gml:AbstractValue in a content model in order to permit any of the gml:AbstractScalarValues, gml:AbstractScalarValueLists, gml:CompositeValue or gml:ValueExtent to occur in an instance, or the named group gml:Value to also permit gml:AbstractTimeObjects, gml:AbstractGeometrys.
15
+
16
+ GML is an OGC Standard.
17
+ Copyright (c) 2007,2010 Open Geospatial Consortium.
18
+ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
19
+ </documentation>
20
+ </annotation>
21
+ <include schemaLocation="gml.xsd"/>
22
+ <include schemaLocation="geometryBasic0d1d.xsd"/>
23
+ <include schemaLocation="temporal.xsd"/>
24
+ <element name="Boolean" substitutionGroup="gml:AbstractScalarValue" nillable="true">
25
+ <complexType>
26
+ <simpleContent>
27
+ <extension base="boolean">
28
+ <attribute name="nilReason" type="gml:NilReasonType"/>
29
+ </extension>
30
+ </simpleContent>
31
+ </complexType>
32
+ </element>
33
+ <element name="BooleanList" type="gml:booleanOrNilReasonList" substitutionGroup="gml:AbstractScalarValueList"/>
34
+ <element name="Category" substitutionGroup="gml:AbstractScalarValue" nillable="true">
35
+ <annotation>
36
+ <documentation>A gml:Category has an optional XML attribute codeSpace, whose value is a URI which identifies a dictionary, codelist or authority for the term.</documentation>
37
+ </annotation>
38
+ <complexType>
39
+ <simpleContent>
40
+ <extension base="gml:CodeType">
41
+ <attribute name="nilReason" type="gml:NilReasonType"/>
42
+ </extension>
43
+ </simpleContent>
44
+ </complexType>
45
+ </element>
46
+ <element name="CategoryList" type="gml:CodeOrNilReasonListType" substitutionGroup="gml:AbstractScalarValueList"/>
47
+ <element name="Count" substitutionGroup="gml:AbstractScalarValue" nillable="true">
48
+ <complexType>
49
+ <simpleContent>
50
+ <extension base="integer">
51
+ <attribute name="nilReason" type="gml:NilReasonType"/>
52
+ </extension>
53
+ </simpleContent>
54
+ </complexType>
55
+ </element>
56
+ <element name="CountList" type="gml:integerOrNilReasonList" substitutionGroup="gml:AbstractScalarValueList"/>
57
+ <element name="Quantity" substitutionGroup="gml:AbstractScalarValue" nillable="true">
58
+ <annotation>
59
+ <documentation>An XML attribute uom ("unit of measure") is required, whose value is a URI which identifies the definition of a ratio scale or units by which the numeric value shall be multiplied, or an interval or position scale on which the value occurs.</documentation>
60
+ </annotation>
61
+ <complexType>
62
+ <simpleContent>
63
+ <extension base="gml:MeasureType">
64
+ <attribute name="nilReason" type="gml:NilReasonType"/>
65
+ </extension>
66
+ </simpleContent>
67
+ </complexType>
68
+ </element>
69
+ <element name="QuantityList" type="gml:MeasureOrNilReasonListType" substitutionGroup="gml:AbstractScalarValueList"/>
70
+ <element name="AbstractValue" type="anyType" abstract="true" substitutionGroup="gml:AbstractObject">
71
+ <annotation>
72
+ <documentation>gml:AbstractValue is an abstract element which acts as the head of a substitution group which contains gml:AbstractScalarValue, gml:AbstractScalarValueList, gml:CompositeValue and gml:ValueExtent, and (transitively) the elements in their substitution groups.
73
+ These elements may be used in an application schema as variables, so that in an XML instance document any member of its substitution group may occur.</documentation>
74
+ </annotation>
75
+ </element>
76
+ <element name="AbstractScalarValue" type="anyType" abstract="true" substitutionGroup="gml:AbstractValue">
77
+ <annotation>
78
+ <documentation>gml:AbstractScalarValue is an abstract element which acts as the head of a substitution group which contains gml:Boolean, gml:Category, gml:Count and gml:Quantity, and (transitively) the elements in their substitution groups.</documentation>
79
+ </annotation>
80
+ </element>
81
+ <element name="AbstractScalarValueList" type="anyType" abstract="true" substitutionGroup="gml:AbstractValue">
82
+ <annotation>
83
+ <documentation>gml:AbstractScalarValueList is an abstract element which acts as the head of a substitution group which contains gml:BooleanList, gml:CategoryList, gml:CountList and gml:QuantityList, and (transitively) the elements in their substitution groups.</documentation>
84
+ </annotation>
85
+ </element>
86
+ <group name="Value">
87
+ <annotation>
88
+ <documentation>This is a convenience choice group which unifies generic values defined in this Clause with spatial and temporal objects and the measures described above, so that any of these may be used within aggregate values.</documentation>
89
+ </annotation>
90
+ <choice>
91
+ <element ref="gml:AbstractValue"/>
92
+ <element ref="gml:AbstractGeometry"/>
93
+ <element ref="gml:AbstractTimeObject"/>
94
+ <element ref="gml:Null"/>
95
+ </choice>
96
+ </group>
97
+ <element name="valueProperty" type="gml:ValuePropertyType">
98
+ <annotation>
99
+ <documentation>Property that refers to, or contains, a Value. Convenience element for general use.</documentation>
100
+ </annotation>
101
+ </element>
102
+ <element name="valueComponent" type="gml:ValuePropertyType">
103
+ <annotation>
104
+ <documentation>Property that refers to, or contains, a Value.</documentation>
105
+ </annotation>
106
+ </element>
107
+ <complexType name="ValuePropertyType">
108
+ <sequence minOccurs="0">
109
+ <group ref="gml:Value"/>
110
+ </sequence>
111
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
112
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
113
+ </complexType>
114
+ <element name="valueComponents" type="gml:ValueArrayPropertyType">
115
+ <annotation>
116
+ <documentation>Property that contains Values.</documentation>
117
+ </annotation>
118
+ </element>
119
+ <complexType name="ValueArrayPropertyType">
120
+ <sequence maxOccurs="unbounded">
121
+ <group ref="gml:Value"/>
122
+ </sequence>
123
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
124
+ </complexType>
125
+ <element name="CompositeValue" type="gml:CompositeValueType" substitutionGroup="gml:AbstractValue">
126
+ <annotation>
127
+ <documentation>gml:CompositeValue is an aggregate value built from other values . It contains zero or an arbitrary number of gml:valueComponent elements, and zero or one gml:valueComponents property elements. It may be used for strongly coupled aggregates (vectors, tensors) or for arbitrary collections of values.</documentation>
128
+ </annotation>
129
+ </element>
130
+ <complexType name="CompositeValueType">
131
+ <complexContent>
132
+ <extension base="gml:AbstractGMLType">
133
+ <sequence>
134
+ <element ref="gml:valueComponent" minOccurs="0" maxOccurs="unbounded"/>
135
+ <element ref="gml:valueComponents" minOccurs="0"/>
136
+ </sequence>
137
+ <attributeGroup ref="gml:AggregationAttributeGroup"/>
138
+ </extension>
139
+ </complexContent>
140
+ </complexType>
141
+ <element name="ValueArray" type="gml:ValueArrayType" substitutionGroup="gml:CompositeValue">
142
+ <annotation>
143
+ <documentation>A Value Array is used for homogeneous arrays of primitive and aggregate values.
144
+ The member values may be scalars, composites, arrays or lists.
145
+ ValueArray has the same content model as CompositeValue, but the member values shall be homogeneous. The element declaration contains a Schematron constraint which expresses this restriction precisely. Since the members are homogeneous, the gml:referenceSystem (uom, codeSpace) may be specified on the gml:ValueArray itself and inherited by all the members if desired.</documentation>
146
+ </annotation>
147
+ </element>
148
+ <complexType name="ValueArrayType">
149
+ <complexContent>
150
+ <extension base="gml:CompositeValueType">
151
+ <attributeGroup ref="gml:referenceSystem"/>
152
+ </extension>
153
+ </complexContent>
154
+ </complexType>
155
+ <attributeGroup name="referenceSystem">
156
+ <attribute name="codeSpace" type="anyURI"/>
157
+ <attribute name="uom" type="gml:UomIdentifier"/>
158
+ </attributeGroup>
159
+ <element name="CategoryExtent" type="gml:CategoryExtentType" substitutionGroup="gml:AbstractValue"/>
160
+ <complexType name="CategoryExtentType">
161
+ <simpleContent>
162
+ <restriction base="gml:CodeOrNilReasonListType">
163
+ <length value="2"/>
164
+ </restriction>
165
+ </simpleContent>
166
+ </complexType>
167
+ <element name="CountExtent" type="gml:CountExtentType" substitutionGroup="gml:AbstractValue"/>
168
+ <simpleType name="CountExtentType">
169
+ <restriction base="gml:integerOrNilReasonList">
170
+ <length value="2"/>
171
+ </restriction>
172
+ </simpleType>
173
+ <element name="QuantityExtent" type="gml:QuantityExtentType" substitutionGroup="gml:AbstractValue"/>
174
+ <complexType name="QuantityExtentType">
175
+ <simpleContent>
176
+ <restriction base="gml:MeasureOrNilReasonListType">
177
+ <length value="2"/>
178
+ </restriction>
179
+ </simpleContent>
180
+ </complexType>
181
+ <complexType name="BooleanPropertyType">
182
+ <sequence minOccurs="0">
183
+ <element ref="gml:Boolean"/>
184
+ </sequence>
185
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
186
+ </complexType>
187
+ <complexType name="CategoryPropertyType">
188
+ <sequence minOccurs="0">
189
+ <element ref="gml:Category"/>
190
+ </sequence>
191
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
192
+ </complexType>
193
+ <complexType name="QuantityPropertyType">
194
+ <sequence minOccurs="0">
195
+ <element ref="gml:Quantity"/>
196
+ </sequence>
197
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
198
+ </complexType>
199
+ <complexType name="CountPropertyType">
200
+ <sequence minOccurs="0">
201
+ <element ref="gml:Count"/>
202
+ </sequence>
203
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
204
+ </complexType>
205
+ </schema>
@@ -0,0 +1,89 @@
1
+ OpenGIS(r) GML schema ReadMe.txt
2
+ ======================================================================
3
+
4
+ OGC(r) Geography Markup Language (GML) Encoding Standard 3.3
5
+ -----------------------------------------------------------------------
6
+
7
+ Geography Markup Language is an OGC Standard.
8
+
9
+ The GML 3.3 standard is defined in OGC document 10-129r1.
10
+
11
+ More information may be found at
12
+ http://www.opengeospatial.org/standards/gml
13
+
14
+ The most current schema are available at http://schemas.opengis.net/ .
15
+
16
+ -----------------------------------------------------------------------
17
+
18
+ 2018-07-03 Gobe Hobona
19
+
20
+ * v3.3.1: Updated to 3.3.1
21
+ Added queryBinding="xslt2" attribute to sch:schema element in iso8601.sch
22
+ Added closing bracket to the first assert test
23
+
24
+
25
+ 2018-06-20 Clemens Portele
26
+
27
+ * v3.3.0: targetCodeList element added to extdEncRule.xsd
28
+
29
+
30
+ 2012-02-07 Clemens Portele
31
+
32
+ * v3.3.0: Posted GML 3.3 schemas from OGC 10-129r1.
33
+ See http://schemas.opengis.net/gml/3.3/ReadMe.txt
34
+
35
+ 2010-01-28 Kevin Stegemoller
36
+
37
+ * v1.0-v3.2: update/verify copyright (06-135r7 s#3.2)
38
+ * v1.0-v3.2: update relative schema imports to absolute URLs (06-135r7 s#15)
39
+ * v1.0-v3.2: updated xsd:schema:@version attribute (06-135r7 s#13.4)
40
+ * v1.0-v3.2: add archives (.zip) files of previous versions
41
+ * v1.0-v3.2: create/update ReadMe.txt (06-135r7 s#17)
42
+
43
+ 2007-09-06 Kevin Stegemoller
44
+
45
+ * v3.2.1: Posted GML 3.2.1 (ISO 19136) schemas from OGC 07-036
46
+ See http://schemas.opengis.net/gml/3.2.1/gml_3_2_1-ReadMe.txt
47
+
48
+ Note: The root document of the GML 3.2.1 schema is
49
+ http://schemas.opengis.net/gml/3.2.1/gml.xsd
50
+
51
+ NOTICE: GML 2.1.2 will link to the newest version of GML 2.1.2.x . As
52
+ of 5 September 2007, the contents of 2.1.2 contain GML 2.1.2.1 per OGC
53
+ 06-189. If you have questions, please contact the webmaster (at)
54
+ opengeospatial.org. -- 2007-09-05 Kevin Stegemoller
55
+
56
+ 2007-08-27 Chris Holmes
57
+
58
+ * v2.1.2: update 2.1.2.1 and ReadMe.txt changes
59
+ * v2.1.2.0: Contains previous version of GML 2.1.2 (pre- 5 Sep 2007)
60
+ * v2.1.2.1: Contains Corrigendum 1 for GML 2.1.2 schema fix (OGC 06-189).
61
+ * v2.1.2.1: Corrigendum 1 for GML 2.1.2 schema fix (OGC 06-189) includes:
62
+ + Official schema location is now http://schemas.opengis.net
63
+ + replace xlink import schema location with ../../xlink/1.0.0/xlinks.xsd
64
+ + remove gml/2.1.2/xlinks.xsd (optional, as is now unused).
65
+ + geometry.xsd: fixed so will now validate by conformant processors by:
66
+ + geometry.xsd: moving minOccurs/maxOccurs cardinality indicators from
67
+ <element> declarations to their containing <sequence> elements in the
68
+ context of the GML property pattern. -- SJDC 2006-12-07
69
+ + gml:Coord is suppressed. -- SJDC 2006-12-07
70
+
71
+ 2005-11-22 Arliss Whiteside
72
+
73
+ * GML versions 2.0.0 through 3.1.1: The sets of XML Schema Documents for
74
+ OpenGIS GML Versions 2.0.0 through 3.1.1 have been edited to reflect the
75
+ corrigenda to all those OGC documents that is based on the change requests:
76
+ OGC 05-068r1 "Store xlinks.xsd file at a fixed location"
77
+ OGC 05-081r2 "Change to use relative paths"
78
+ OGC 05-105 "Remove description and copyright tags from XML schema documents"
79
+
80
+ * Note: check each OGC numbered document for detailed changes.
81
+
82
+ -----------------------------------------------------------------------
83
+
84
+ Policies, Procedures, Terms, and Conditions of OGC(r) are available
85
+ http://www.opengeospatial.org/ogc/legal/ .
86
+
87
+ Copyright (c) 2011 Open Geospatial Consortium, Inc. All Rights Reserved.
88
+
89
+ -----------------------------------------------------------------------
@@ -0,0 +1,67 @@
1
+ <schema targetNamespace="http://www.opengis.net/gml/3.3/xbt" xmlns:gmlxbt="http://www.opengis.net/gml/3.3/xbt" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace" elementFormDefault="qualified" version="3.3.1">
2
+ <annotation>
3
+ <documentation>extdBasicTypes.xsd, part of GML 3.3. Copyright (c) [2011,2018] Open Geospatial Consortium, Inc. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.</documentation>
4
+ </annotation>
5
+ <import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
6
+ <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
7
+ <complexType name="LanguageStringType">
8
+ <annotation>
9
+ <documentation>gmlxbt:LanguageStringType adds an optional xml:lang attribute to xs:string for the use within the GML schema and in GML application schemas.</documentation>
10
+ </annotation>
11
+ <simpleContent>
12
+ <extension base="string">
13
+ <attribute ref="xml:lang"/>
14
+ </extension>
15
+ </simpleContent>
16
+ </complexType>
17
+ <complexType name="CodeType">
18
+ <annotation>
19
+ <documentation>gmlxbt:CodeType is a generalized type to be used for a term, keyword or name. It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term.</documentation>
20
+ </annotation>
21
+ <simpleContent>
22
+ <extension base="gmlxbt:LanguageStringType">
23
+ <attribute name="codeSpace" type="anyURI"/>
24
+ </extension>
25
+ </simpleContent>
26
+ </complexType>
27
+ <complexType name="CodeWithAuthorityType">
28
+ <annotation>
29
+ <documentation>gmlxbt:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.</documentation>
30
+ </annotation>
31
+ <simpleContent>
32
+ <restriction base="gmlxbt:CodeType">
33
+ <attribute name="codeSpace" type="anyURI" use="required"/>
34
+ </restriction>
35
+ </simpleContent>
36
+ </complexType>
37
+ <complexType name="LanguageStringAuxType">
38
+ <simpleContent>
39
+ <extension base="gml:StringOrRefType">
40
+ <attribute ref="xml:lang"/>
41
+ </extension>
42
+ </simpleContent>
43
+ </complexType>
44
+ <element name="description" type="gmlxbt:LanguageStringAuxType" substitutionGroup="gml:description">
45
+ <annotation>
46
+ <documentation>The value of this property is a text description of the object with optional xml:lang attribute.</documentation>
47
+ </annotation>
48
+ </element>
49
+ <element name="remarks" type="gmlxbt:LanguageStringType" substitutionGroup="gml:remarks">
50
+ <annotation>
51
+ <documentation>The value of this property is a text description of the object with optional xml:lang attribute.</documentation>
52
+ </annotation>
53
+ </element>
54
+ <simpleType name="TimePositionUnion">
55
+ <union memberTypes="gml:CalDate gmlxbt:OrdDate gmlxbt:WeekDate time dateTime anyURI decimal"/>
56
+ </simpleType>
57
+ <simpleType name="OrdDate">
58
+ <restriction base="string">
59
+ <pattern value="-?[0-9]{4}-[0-9]{3}"/>
60
+ </restriction>
61
+ </simpleType>
62
+ <simpleType name="WeekDate">
63
+ <restriction base="string">
64
+ <pattern value="-?[0-9]{4}-W(0[1-9]|[1-4][0-9]|5[0-3])(-[1-7])?"/>
65
+ </restriction>
66
+ </simpleType>
67
+ </schema>
@@ -0,0 +1,8 @@
1
+ <schema targetNamespace="http://www.opengis.net/gml/3.3/exr" xmlns:gmlexr="http://www.opengis.net/gml/3.3/exr" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace" elementFormDefault="qualified" version="3.3.1">
2
+ <annotation>
3
+ <documentation>extdEncRule.xsd, part of GML 3.3. Copyright (c) [2011, 2018] Open Geospatial Consortium, Inc. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.</documentation>
4
+ </annotation>
5
+ <element name="extendedEncodingRule" type="anyURI"/>
6
+ <!-- element targetCodeList added in version 3.3.1 as it was missing in version 3.3.0 -->
7
+ <element name="targetCodeList" type="string"/>
8
+ </schema>
@@ -0,0 +1,218 @@
1
+ <schema targetNamespace="http://www.opengis.net/gml/3.3/ce" xmlns:gmlce="http://www.opengis.net/gml/3.3/ce" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace" elementFormDefault="qualified" version="3.3.1">
2
+ <annotation>
3
+ <documentation>geometryCompact.xsd, part of GML 3.3. Copyright (c) [2011,2018] Open Geospatial Consortium, Inc. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.</documentation>
4
+ </annotation>
5
+ <import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd" />
6
+ <element name="SimplePolygon" type="gmlce:SimplePolygonType" substitutionGroup="gmlce:AbstractSimplePolygon">
7
+ <annotation>
8
+ <documentation>A SimplePolygon is a specialized polygon that has a simplified encoding of the logically equivalent GML 3.2 Surface with a single GML 3.2 PolygonPatch as its surface patch consisting of a single LinearRing as its exterior boundary and does not have any interior boundary. Thus the usage of the term 'simple' here refers to a specialized polygon with a _simplified_ encoding, which is _simply_ connected (no interior rings) and uses a _simple_ closed curve (no self-crossings) to represent its single boundary ring.</documentation>
9
+ </annotation>
10
+ </element>
11
+ <element name="AbstractSimplePolygon" type="gml:AbstractSurfaceType" substitutionGroup="gml:AbstractSurface">
12
+ <annotation>
13
+ <documentation>Abstract element representative of a substitution affiliation</documentation>
14
+ </annotation>
15
+ </element>
16
+ <complexType name="SimplePolygonType">
17
+ <complexContent>
18
+ <extension base="gml:AbstractSurfaceType">
19
+ <sequence>
20
+ <choice>
21
+ <choice minOccurs="3" maxOccurs="unbounded">
22
+ <element ref="gml:pos" />
23
+ <element ref="gml:pointProperty" />
24
+ </choice>
25
+ <element ref="gml:posList" />
26
+ </choice>
27
+ </sequence>
28
+ </extension>
29
+ </complexContent>
30
+ </complexType>
31
+ <element name="SimpleRectangle" type="gmlce:SimpleRectangleType" substitutionGroup="gmlce:AbstractSimplePolygon">
32
+ <annotation>
33
+ <documentation>A SimpleRectangle is the special case of a simple polygon, which has exactly 4 control points in its boundary encoding representing the 4 corners of the rectangle.</documentation>
34
+ </annotation>
35
+ </element>
36
+ <complexType name="SimpleRectangleType">
37
+ <complexContent>
38
+ <extension base="gml:AbstractSurfaceType">
39
+ <sequence>
40
+ <choice>
41
+ <choice minOccurs="4" maxOccurs="4">
42
+ <element ref="gml:pos" />
43
+ <element ref="gml:pointProperty" />
44
+ </choice>
45
+ <element ref="gml:posList" />
46
+ </choice>
47
+ </sequence>
48
+ </extension>
49
+ </complexContent>
50
+ </complexType>
51
+ <element name="SimpleTriangle" type="gmlce:SimpleTriangleType" substitutionGroup="gmlce:AbstractSimplePolygon">
52
+ <annotation>
53
+ <documentation>A SimpleTriangle is the special case of a simple polygon, which has exactly 3 control points in its boundary encoding representing the 3 corners of the triangle.</documentation>
54
+ </annotation>
55
+ </element>
56
+ <complexType name="SimpleTriangleType">
57
+ <complexContent>
58
+ <extension base="gml:AbstractSurfaceType">
59
+ <sequence>
60
+ <choice>
61
+ <choice minOccurs="3" maxOccurs="3">
62
+ <element ref="gml:pos" />
63
+ <element ref="gml:pointProperty" />
64
+ </choice>
65
+ <element ref="gml:posList" />
66
+ </choice>
67
+ </sequence>
68
+ </extension>
69
+ </complexContent>
70
+ </complexType>
71
+ <element name="SimpleArcString" type="gmlce:SimpleArcStringType" substitutionGroup="gmlce:AbstractSimpleArcString">
72
+ <annotation>
73
+ <documentation>A SimpleArcString is a specialized curve that has a simplified encoding of the logically equivalent GML 3.2 Curve with one or more GML 3.2 Arc segments</documentation>
74
+ </annotation>
75
+ </element>
76
+ <element name="AbstractSimpleArcString" type="gml:AbstractCurveType" substitutionGroup="gml:AbstractCurve">
77
+ <annotation>
78
+ <documentation>Abstract element representative of a substitution affiliation</documentation>
79
+ </annotation>
80
+ </element>
81
+ <complexType name="SimpleArcStringType">
82
+ <complexContent>
83
+ <extension base="gml:AbstractCurveType">
84
+ <sequence>
85
+ <choice>
86
+ <choice minOccurs="3" maxOccurs="unbounded">
87
+ <element ref="gml:pos" />
88
+ <element ref="gml:pointProperty" />
89
+ </choice>
90
+ <element ref="gml:posList" />
91
+ </choice>
92
+ </sequence>
93
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArc3Points" />
94
+ <attribute name="numArc" type="integer" />
95
+ </extension>
96
+ </complexContent>
97
+ </complexType>
98
+ <element name="SimpleArc" type="gmlce:SimpleArcType" substitutionGroup="gmlce:AbstractSimpleArcString">
99
+ <annotation>
100
+ <documentation>A SimpleArc is a specialized curve that has a simplified encoding of the logically equivalent GML 3.2 Curve with a single GML 3.2 ArcString segment .</documentation>
101
+ </annotation>
102
+ </element>
103
+ <complexType name="SimpleArcType">
104
+ <complexContent>
105
+ <extension base="gml:AbstractCurveType">
106
+ <sequence>
107
+ <choice>
108
+ <choice minOccurs="3" maxOccurs="3">
109
+ <element ref="gml:pos" />
110
+ <element ref="gml:pointProperty" />
111
+ </choice>
112
+ <element ref="gml:posList" />
113
+ </choice>
114
+ </sequence>
115
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArc3Points" />
116
+ <attribute name="numArc" type="integer" fixed="1" />
117
+ </extension>
118
+ </complexContent>
119
+ </complexType>
120
+ <element name="SimpleArcByCenterPoint" type="gmlce:SimpleArcByCenterPointType" substitutionGroup="gmlce:AbstractSimpleArcString">
121
+ <annotation>
122
+ <documentation>A SimpleArcByCenterPoint is a specialized curve that has a simplified encoding of the logically equivalent GML 3.2 Curve with a single GML 3.2 SimpleArcByCenterPoint segment.</documentation>
123
+ </annotation>
124
+ </element>
125
+ <complexType name="SimpleArcByCenterPointType">
126
+ <complexContent>
127
+ <extension base="gml:AbstractCurveType">
128
+ <sequence>
129
+ <choice>
130
+ <choice>
131
+ <element ref="gml:pos" />
132
+ <element ref="gml:pointProperty" />
133
+ </choice>
134
+ <element ref="gml:posList" />
135
+ </choice>
136
+ <element name="radius" type="gml:LengthType" />
137
+ <!--note that start and end angle are mandatory in this encoding unlike gml 3.2 ArcByCentrePoint-->
138
+ <element name="startAngle" type="gml:AngleType" />
139
+ <element name="endAngle" type="gml:AngleType" />
140
+ </sequence>
141
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArcCenterPointWithRadius" />
142
+ <attribute name="numArc" type="integer" use="required" fixed="1" />
143
+ </extension>
144
+ </complexContent>
145
+ </complexType>
146
+ <element name="SimpleArcStringByBulge" type="gmlce:SimpleArcStringByBulgeType" substitutionGroup="gmlce:AbstractSimpleArcString">
147
+ <annotation>
148
+ <documentation>A SimpleArcStringByBulge is a specialized curve that has a simplified encoding of the logically equivalent GML 3.2 Curve with one or more GML 3.2 ArcByBulge segments.</documentation>
149
+ </annotation>
150
+ </element>
151
+ <complexType name="SimpleArcStringByBulgeType">
152
+ <complexContent>
153
+ <extension base="gml:AbstractCurveType">
154
+ <sequence>
155
+ <choice>
156
+ <choice minOccurs="2" maxOccurs="unbounded">
157
+ <element ref="gml:pos" />
158
+ <element ref="gml:pointProperty" />
159
+ </choice>
160
+ <element ref="gml:posList" />
161
+ </choice>
162
+ <element name="bulge" type="double" maxOccurs="unbounded" />
163
+ <element name="normal" type="gml:VectorType" maxOccurs="unbounded" />
164
+ </sequence>
165
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArc2PointWithBulge" />
166
+ <attribute name="numArc" type="integer" />
167
+ </extension>
168
+ </complexContent>
169
+ </complexType>
170
+ <element name="SimpleArcByBulge" type="gmlce:SimpleArcByBulgeType" substitutionGroup="gmlce:AbstractSimpleArcString">
171
+ <annotation>
172
+ <documentation>A SimpleArcStringByBulge is a specialized curve that has a simplified encoding of the logically equivalent GML 3.2 Curve with one GML 3.2 ArcByBulge segment.</documentation>
173
+ </annotation>
174
+ </element>
175
+ <complexType name="SimpleArcByBulgeType">
176
+ <complexContent>
177
+ <extension base="gml:AbstractCurveType">
178
+ <sequence>
179
+ <choice>
180
+ <choice minOccurs="2" maxOccurs="2">
181
+ <element ref="gml:pos" />
182
+ <element ref="gml:pointProperty" />
183
+ </choice>
184
+ <element ref="gml:posList" />
185
+ </choice>
186
+ <element name="bulge" type="double" maxOccurs="unbounded" />
187
+ <element name="normal" type="gml:VectorType" maxOccurs="unbounded" />
188
+ </sequence>
189
+ <attribute name="interpolation" type="gml:CurveInterpolationType" fixed="circularArc2PointWithBulge" />
190
+ <attribute name="numArc" type="integer" fixed="1" />
191
+ </extension>
192
+ </complexContent>
193
+ </complexType>
194
+ <element name="SimpleCircle" type="gmlce:SimpleArcType" substitutionGroup="gmlce:AbstractSimpleArcString">
195
+ <annotation>
196
+ <documentation>A SimpleCircle is a specialized curve that has a simplified encoding of the logically equivalent GML 3.2 Curve with a single GML 3.2 Circle segment.</documentation>
197
+ </annotation>
198
+ </element>
199
+ <element name="SimpleCircleByCenterPoint" type="gmlce:SimpleArcByCenterPointType" substitutionGroup="gmlce:AbstractSimpleArcString" />
200
+ <complexType name="SimpleMultiPointType">
201
+ <complexContent>
202
+ <extension base="gml:AbstractGeometricAggregateType">
203
+ <sequence>
204
+ <element ref="gml:posList" />
205
+ </sequence>
206
+ </extension>
207
+ </complexContent>
208
+ </complexType>
209
+ <element name="SimpleMultiPoint" type="gmlce:SimpleMultiPointType" substitutionGroup="gml:AbstractGeometricAggregate" />
210
+ <complexType name="MultiPointPropertyType">
211
+ <choice minOccurs="0">
212
+ <element ref="gml:MultiPoint" />
213
+ <element ref="gmlce:SimpleMultiPoint" />
214
+ </choice>
215
+ <attributeGroup ref="gml:AssociationAttributeGroup" />
216
+ <attributeGroup ref="gml:OwnershipAttributeGroup" />
217
+ </complexType>
218
+ </schema>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
3
+ <sch:ns prefix="fn" uri="http://www.w3.org/2005/xpath-functions"/>
4
+ <sch:ns prefix="gml" uri="http://www.opengis.net/gml/3.2"/>
5
+ <sch:ns prefix="gmlxbt" uri="http://www.opengis.net/gml/3.3/xbt"/>
6
+ <sch:pattern>
7
+ <!-- Replace {nodesOfTypeTimePositionUnion} with an Xpath expression to all nodes with a content model of gmlxbt:TimePositionUnion -->
8
+ <sch:rule context="{nodesOfTypeTimePositionUnion}">
9
+ <!-- These tests are only possible with Xpath 2.0 support, so this is what we use here -->
10
+ <sch:assert test="not(fn:matches(.,'^-?0{4}'))">
11
+ Year 0000 is not a valid year.
12
+ </sch:assert>
13
+ <sch:assert test="not(fn:matches(.,'^-?[0-9]{4}-0{3}'))">
14
+ Calendar day 000 is not a valid value, the first day of the year is 001.
15
+ </sch:assert>
16
+ <!-- more to be added -->
17
+ </sch:rule>
18
+ </sch:pattern>
19
+ </sch:schema>