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
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e6ce23574e2dfcb81175a4ef1ed804c82d3e4d149aa41bfedc6c44ec5cd4d0d6
4
+ data.tar.gz: 3c5b4732f635f8406bf1a6b74c58653b0fb5bbc51d16f188c0b4111e3103b521
5
+ SHA512:
6
+ metadata.gz: 6736ab75700d6be06924e7b6f6610156358d2d53ff3aa5e2f231d6ac665dce9f7c492e9eb138f071937e28621c06bdbfa1d61780b0370f76380f7a50c3505847
7
+ data.tar.gz: eb09af5b900b5f45b7b8f6e7dc2396497b24ecb9b781b58aa68f9a7217639d426227a2154e15a5d716f70ff1c6c6a98b983a9e7dd0f9ba128843d4c73c42de72
@@ -0,0 +1,27 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ pull_request:
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ name: Ruby ${{ matrix.ruby }}
14
+ strategy:
15
+ matrix:
16
+ ruby:
17
+ - '3.2.2'
18
+
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby }}
25
+ bundler-cache: true
26
+ - name: Run the default task
27
+ run: bundle exec rake
@@ -0,0 +1,16 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: rake
4
+
5
+ on:
6
+ push:
7
+ branches: [ master, main ]
8
+ tags: [ v* ]
9
+ pull_request:
10
+ workflow_dispatch:
11
+
12
+ jobs:
13
+ rake:
14
+ uses: lutaml/support/.github/workflows/rake.yml@main
15
+ secrets:
16
+ pat_token: ${{ secrets.LUTAML_CI_PAT_TOKEN }}
@@ -0,0 +1,24 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: release
4
+
5
+ on:
6
+ workflow_dispatch:
7
+ inputs:
8
+ next_version:
9
+ description: |
10
+ Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
11
+ Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
12
+ required: true
13
+ default: 'skip'
14
+ repository_dispatch:
15
+ types: [ do-release ]
16
+
17
+
18
+ jobs:
19
+ release:
20
+ uses: lutaml/support/.github/workflows/release.yml@main
21
+ with:
22
+ next_version: ${{ github.event.inputs.next_version }}
23
+ secrets:
24
+ rubygems-api-key: ${{ secrets.LUTAML_CI_RUBYGEMS_API_KEY }}
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "ets-gml32"]
2
+ path = ets-gml32
3
+ url = git@github.com:opengeospatial/ets-gml32.git
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.0
3
+
4
+ Style/StringLiterals:
5
+ EnforcedStyle: double_quotes
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ EnforcedStyle: double_quotes
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at ronald.tse@ribose.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in ogc-gml.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.0"
11
+
12
+ gem "rubocop", "~> 1.21"
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Ogc::Gml
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ogc/gml`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by executing:
16
+
17
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Development
24
+
25
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+
27
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/ogc-gml. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/ogc-gml/blob/main/CODE_OF_CONDUCT.md).
32
+
33
+ ## Code of Conduct
34
+
35
+ Everyone interacting in the Ogc::Gml project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/ogc-gml/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
data/bin/console ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "ogc/gml"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ require "irb"
11
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_continuous_coverage_type.rb ---
4
+ require "shale"
5
+ require_relative "coverage_function"
6
+ require_relative "abstract_coverage"
7
+
8
+ module Ogc
9
+ module Gml
10
+ class AbstractContinuousCoverage < AbstractCoverage
11
+ attribute :bounded_by, BoundingShape
12
+ attribute :location, LocationProperty
13
+ attribute :domain_set, DomainSet
14
+ attribute :range_set, RangeSet
15
+ attribute :coverage_function, CoverageFunction
16
+
17
+ xml do
18
+ root "AbstractContinuousCoverage"
19
+ namespace "http://www.opengis.net/gml/3.2", "gml"
20
+
21
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
22
+ map_element "metaDataProperty", to: :meta_data_property
23
+ map_element "description", to: :description
24
+ map_element "descriptionReference", to: :description_reference
25
+ map_element "identifier", to: :identifier
26
+ map_element "name", to: :name
27
+ map_element "boundedBy", to: :bounded_by
28
+ map_element "location", to: :location
29
+ map_element "domainSet", to: :domain_set
30
+ map_element "rangeSet", to: :range_set
31
+ map_element "coverageFunction", to: :coverage_function
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_coordinate_operation_type.rb ---
4
+ require "shale"
5
+
6
+ require_relative "coordinate_operation_accuracy"
7
+ require_relative "crs_property"
8
+ require_relative "abstract_topology"
9
+
10
+ module Ogc
11
+ module Gml
12
+ class AbstractCoordinateOperation < AbstractTopology
13
+ attribute :remarks, Shale::Type::String
14
+ attribute :domain_of_validity, Shale::Type::String
15
+ attribute :scope, Shale::Type::String, collection: true
16
+ attribute :operation_version, Shale::Type::String
17
+ attribute :coordinate_operation_accuracy, CoordinateOperationAccuracy, collection: true
18
+ attribute :source_crs, CRSProperty
19
+ attribute :target_crs, CRSProperty
20
+
21
+ xml do
22
+ root "AbstractOperation"
23
+ namespace "http://www.opengis.net/gml/3.2", "gml"
24
+
25
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
26
+ map_element "metaDataProperty", to: :meta_data_property
27
+ map_element "description", to: :description
28
+ map_element "descriptionReference", to: :description_reference
29
+ map_element "identifier", to: :identifier
30
+ map_element "name", to: :name
31
+ map_element "remarks", to: :remarks
32
+ map_element "domainOfValidity", to: :domain_of_validity
33
+ map_element "scope", to: :scope
34
+ map_element "operationVersion", to: :operation_version
35
+ map_element "coordinateOperationAccuracy", to: :coordinate_operation_accuracy
36
+ map_element "sourceCRS", to: :source_crs
37
+ map_element "targetCRS", to: :target_crs
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_coordinate_system_type.rb ---
4
+ require "shale"
5
+
6
+ require_relative "code"
7
+ require_relative "code_with_authority"
8
+ require_relative "coordinate_system_axis_property"
9
+ require_relative "meta_data_property"
10
+ require_relative "reference"
11
+
12
+ module Ogc
13
+ module Gml
14
+ class AbstractCoordinateSystem < Shale::Mapper
15
+ attribute :id, Shale::Type::Value
16
+ attribute :aggregation_type, Shale::Type::String
17
+ attribute :meta_data_property, MetaDataProperty, collection: true
18
+ attribute :description, Shale::Type::String
19
+ attribute :description_reference, Reference
20
+ attribute :identifier, CodeWithAuthority
21
+ attribute :name, Code, collection: true
22
+ attribute :remarks, Shale::Type::String
23
+ attribute :axis, CoordinateSystemAxisProperty, collection: true
24
+
25
+ xml do
26
+ root "AbstractCoordinateSystem"
27
+ namespace "http://www.opengis.net/gml/3.2", "gml"
28
+
29
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
30
+ map_attribute "aggregationType", to: :aggregation_type
31
+ map_element "metaDataProperty", to: :meta_data_property
32
+ map_element "description", to: :description
33
+ map_element "descriptionReference", to: :description_reference
34
+ map_element "identifier", to: :identifier
35
+ map_element "name", to: :name
36
+ map_element "remarks", to: :remarks
37
+ map_element "axis", to: :axis
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_coverage_type.rb ---
4
+ require "shale"
5
+ require_relative "bounding_shape"
6
+ require_relative "domain_set"
7
+ require_relative "location_property"
8
+ require_relative "range_set"
9
+ require_relative "abstract_topology"
10
+
11
+ module Ogc
12
+ module Gml
13
+ class AbstractCoverage < AbstractTopology
14
+ attribute :bounded_by, BoundingShape
15
+ attribute :location, LocationProperty
16
+ attribute :domain_set, DomainSet
17
+ attribute :range_set, RangeSet
18
+
19
+ xml do
20
+ root "AbstractCoverage"
21
+ namespace "http://www.opengis.net/gml/3.2", "gml"
22
+
23
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
24
+ map_element "metaDataProperty", to: :meta_data_property
25
+ map_element "description", to: :description
26
+ map_element "descriptionReference", to: :description_reference
27
+ map_element "identifier", to: :identifier
28
+ map_element "name", to: :name
29
+ map_element "boundedBy", to: :bounded_by
30
+ map_element "location", to: :location
31
+ map_element "domainSet", to: :domain_set
32
+ map_element "rangeSet", to: :range_set
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_crs_type.rb ---
4
+ require "shale"
5
+
6
+ require_relative "code"
7
+ require_relative "code_with_authority"
8
+ require_relative "meta_data_property"
9
+ require_relative "reference"
10
+ require_relative "abstract_topology"
11
+
12
+ module Ogc
13
+ module Gml
14
+ class AbstractCRS < AbstractTopology
15
+ attribute :remarks, Shale::Type::String
16
+ attribute :domain_of_validity, Shale::Type::String, collection: true
17
+ attribute :scope, Shale::Type::String, collection: true
18
+
19
+ xml do
20
+ root "AbstractSingleCRS"
21
+ namespace "http://www.opengis.net/gml/3.2", "gml"
22
+
23
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
24
+ map_element "metaDataProperty", to: :meta_data_property
25
+ map_element "description", to: :description
26
+ map_element "descriptionReference", to: :description_reference
27
+ map_element "identifier", to: :identifier
28
+ map_element "name", to: :name
29
+ map_element "remarks", to: :remarks
30
+ map_element "domainOfValidity", to: :domain_of_validity
31
+ map_element "scope", to: :scope
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_curve_type.rb ---
4
+ require "shale"
5
+ require_relative "abstract_geometric_primitive"
6
+
7
+ module Ogc
8
+ module Gml
9
+ class AbstractCurve < AbstractGeometricPrimitive
10
+ xml do
11
+ root "AbstractCurve"
12
+ namespace "http://www.opengis.net/gml/3.2", "gml"
13
+
14
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
15
+ map_attribute "srsName", to: :srs_name
16
+ map_attribute "srsDimension", to: :srs_dimension
17
+ map_attribute "axisLabels", to: :axis_labels
18
+ map_attribute "uomLabels", to: :uom_labels
19
+ map_element "metaDataProperty", to: :meta_data_property
20
+ map_element "description", to: :description
21
+ map_element "descriptionReference", to: :description_reference
22
+ map_element "identifier", to: :identifier
23
+ map_element "name", to: :name
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_curve_segment_type.rb ---
4
+ require "shale"
5
+
6
+ module Ogc
7
+ module Gml
8
+ class AbstractCurveSegment < Shale::Mapper
9
+ attribute :num_derivatives_at_start, Shale::Type::Integer#, default: -> { "0" }
10
+ attribute :num_derivatives_at_end, Shale::Type::Integer#, default: -> { "0" }
11
+ attribute :num_derivative_interior, Shale::Type::Integer#, default: -> { "0" }
12
+
13
+ xml do
14
+ root "AbstractCurveSegment"
15
+ namespace "http://www.opengis.net/gml/3.2", "gml"
16
+
17
+ map_attribute "numDerivativesAtStart", to: :num_derivatives_at_start
18
+ map_attribute "numDerivativesAtEnd", to: :num_derivatives_at_end
19
+ map_attribute "numDerivativeInterior", to: :num_derivative_interior
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_datum_type.rb ---
4
+ require "shale"
5
+
6
+ require_relative "code"
7
+ require_relative "code_with_authority"
8
+ require_relative "meta_data_property"
9
+ require_relative "reference"
10
+ require_relative "abstract_topology"
11
+
12
+ module Ogc
13
+ module Gml
14
+ class AbstractDatum < AbstractTopology
15
+ attribute :remarks, Shale::Type::String
16
+ attribute :domain_of_validity, Shale::Type::String
17
+ attribute :scope, Shale::Type::String, collection: true
18
+ attribute :anchor_definition, Code
19
+ attribute :realization_epoch, Shale::Type::Date
20
+
21
+ xml do
22
+ root "AbstractDatum"
23
+ namespace "http://www.opengis.net/gml/3.2", "gml"
24
+
25
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
26
+ map_element "metaDataProperty", to: :meta_data_property
27
+ map_element "description", to: :description
28
+ map_element "descriptionReference", to: :description_reference
29
+ map_element "identifier", to: :identifier
30
+ map_element "name", to: :name
31
+ map_element "remarks", to: :remarks
32
+ map_element "domainOfValidity", to: :domain_of_validity
33
+ map_element "scope", to: :scope
34
+ map_element "anchorDefinition", to: :anchor_definition
35
+ map_element "realizationEpoch", to: :realization_epoch
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_feature_type.rb ---
4
+ require "shale"
5
+
6
+ require_relative "bounding_shape"
7
+ require_relative "code"
8
+ require_relative "code_with_authority"
9
+ require_relative "location_property"
10
+ require_relative "meta_data_property"
11
+ require_relative "reference"
12
+ require_relative "abstract_topology"
13
+
14
+ module Ogc
15
+ module Gml
16
+ class AbstractFeature < AbstractTopology
17
+ attribute :bounded_by, BoundingShape
18
+ attribute :location, LocationProperty
19
+
20
+ xml do
21
+ root "AbstractFeature"
22
+ namespace "http://www.opengis.net/gml/3.2", "gml"
23
+
24
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
25
+ map_element "metaDataProperty", to: :meta_data_property
26
+ map_element "description", to: :description
27
+ map_element "descriptionReference", to: :description_reference
28
+ map_element "identifier", to: :identifier
29
+ map_element "name", to: :name
30
+ map_element "boundedBy", to: :bounded_by
31
+ map_element "location", to: :location
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ # --- abstract_feature_collection_type.rb ---
4
+ require "shale"
5
+ require_relative "bounding_shape"
6
+ require_relative "feature_array_property"
7
+ require_relative "feature_property"
8
+ require_relative "location_property"
9
+ require_relative "abstract_topology"
10
+
11
+ module Ogc
12
+ module Gml
13
+ class AbstractFeatureCollection < AbstractTopology
14
+ attribute :bounded_by, BoundingShape
15
+ attribute :location, LocationProperty
16
+ attribute :feature_member, FeatureProperty, collection: true
17
+ attribute :feature_members, FeatureArrayProperty
18
+
19
+ xml do
20
+ root "AbstractFeatureCollection"
21
+ namespace "http://www.opengis.net/gml/3.2", "gml"
22
+
23
+ map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
24
+ map_element "metaDataProperty", to: :meta_data_property
25
+ map_element "description", to: :description
26
+ map_element "descriptionReference", to: :description_reference
27
+ map_element "identifier", to: :identifier
28
+ map_element "name", to: :name
29
+ map_element "boundedBy", to: :bounded_by
30
+ map_element "location", to: :location
31
+ map_element "featureMember", to: :feature_member
32
+ map_element "featureMembers", to: :feature_members
33
+ end
34
+ end
35
+ end
36
+ end