ogc-gml 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +1 -1
  3. data/.rubocop.yml +2 -0
  4. data/.rubocop_todo.yml +33 -0
  5. data/Gemfile +6 -5
  6. data/README.adoc +102 -0
  7. data/lib/ogc/gml/abstract_continuous_coverage.rb +1 -2
  8. data/lib/ogc/gml/abstract_coordinate_operation.rb +5 -6
  9. data/lib/ogc/gml/abstract_coordinate_system.rb +6 -7
  10. data/lib/ogc/gml/abstract_coverage.rb +1 -2
  11. data/lib/ogc/gml/abstract_crs.rb +4 -5
  12. data/lib/ogc/gml/abstract_curve.rb +1 -2
  13. data/lib/ogc/gml/abstract_curve_segment.rb +5 -6
  14. data/lib/ogc/gml/abstract_datum.rb +5 -6
  15. data/lib/ogc/gml/abstract_feature.rb +1 -2
  16. data/lib/ogc/gml/abstract_feature_collection.rb +1 -2
  17. data/lib/ogc/gml/abstract_general_conversion.rb +4 -5
  18. data/lib/ogc/gml/abstract_general_derived_crs.rb +1 -2
  19. data/lib/ogc/gml/abstract_general_operation_parameter.rb +3 -4
  20. data/lib/ogc/gml/abstract_general_operation_parameter_property.rb +4 -5
  21. data/lib/ogc/gml/abstract_general_parameter_value.rb +2 -3
  22. data/lib/ogc/gml/abstract_general_parameter_value_property.rb +2 -3
  23. data/lib/ogc/gml/abstract_general_transformation.rb +1 -2
  24. data/lib/ogc/gml/abstract_geometric_aggregate.rb +2 -3
  25. data/lib/ogc/gml/abstract_geometric_primitive.rb +8 -9
  26. data/lib/ogc/gml/abstract_geometry.rb +1 -2
  27. data/lib/ogc/gml/abstract_gml.rb +1 -2
  28. data/lib/ogc/gml/abstract_gridded_surface.rb +5 -6
  29. data/lib/ogc/gml/abstract_meta_data.rb +4 -5
  30. data/lib/ogc/gml/abstract_parametric_curve_surface.rb +3 -4
  31. data/lib/ogc/gml/abstract_ring.rb +2 -3
  32. data/lib/ogc/gml/abstract_ring_property.rb +2 -3
  33. data/lib/ogc/gml/abstract_solid.rb +1 -2
  34. data/lib/ogc/gml/abstract_surface.rb +1 -2
  35. data/lib/ogc/gml/abstract_surface_patch.rb +2 -3
  36. data/lib/ogc/gml/abstract_time_complex.rb +1 -2
  37. data/lib/ogc/gml/abstract_time_geometric_primitive.rb +5 -6
  38. data/lib/ogc/gml/abstract_time_object.rb +1 -2
  39. data/lib/ogc/gml/abstract_time_primitive.rb +2 -3
  40. data/lib/ogc/gml/abstract_time_slice.rb +1 -2
  41. data/lib/ogc/gml/abstract_time_topology_primitive.rb +1 -2
  42. data/lib/ogc/gml/abstract_topo_primitive.rb +1 -2
  43. data/lib/ogc/gml/abstract_topology.rb +4 -5
  44. data/lib/ogc/gml/affine_cs.rb +1 -2
  45. data/lib/ogc/gml/affine_cs_property.rb +4 -5
  46. data/lib/ogc/gml/affine_placement.rb +4 -5
  47. data/lib/ogc/gml/angle.rb +4 -3
  48. data/lib/ogc/gml/arc.rb +1 -2
  49. data/lib/ogc/gml/arc_by_bulge.rb +2 -3
  50. data/lib/ogc/gml/arc_by_center_point.rb +1 -2
  51. data/lib/ogc/gml/arc_string.rb +3 -4
  52. data/lib/ogc/gml/arc_string_by_bulge.rb +2 -3
  53. data/lib/ogc/gml/array.rb +1 -2
  54. data/lib/ogc/gml/array_association.rb +4 -5
  55. data/lib/ogc/gml/association_role.rb +5 -6
  56. data/lib/ogc/gml/b_spline.rb +1 -2
  57. data/lib/ogc/gml/bag.rb +1 -2
  58. data/lib/ogc/gml/base_unit.rb +2 -3
  59. data/lib/ogc/gml/bezier.rb +5 -6
  60. data/lib/ogc/gml/boolean.rb +4 -5
  61. data/lib/ogc/gml/bounding_shape.rb +4 -5
  62. data/lib/ogc/gml/cartesian_cs.rb +1 -2
  63. data/lib/ogc/gml/cartesian_cs_property.rb +4 -5
  64. data/lib/ogc/gml/category.rb +3 -4
  65. data/lib/ogc/gml/category_extent.rb +2 -3
  66. data/lib/ogc/gml/circle.rb +1 -2
  67. data/lib/ogc/gml/circle_by_center_point.rb +3 -4
  68. data/lib/ogc/gml/clothoid.rb +5 -6
  69. data/lib/ogc/gml/code.rb +4 -5
  70. data/lib/ogc/gml/code_or_nil_reason_list.rb +4 -5
  71. data/lib/ogc/gml/code_with_authority.rb +3 -4
  72. data/lib/ogc/gml/composite_curve.rb +1 -2
  73. data/lib/ogc/gml/composite_solid.rb +1 -2
  74. data/lib/ogc/gml/composite_surface.rb +1 -2
  75. data/lib/ogc/gml/composite_value.rb +5 -6
  76. data/lib/ogc/gml/compound_crs.rb +2 -3
  77. data/lib/ogc/gml/compound_crs_property.rb +4 -5
  78. data/lib/ogc/gml/concatenated_operation.rb +4 -5
  79. data/lib/ogc/gml/concatenated_operation_property.rb +4 -5
  80. data/lib/ogc/gml/cone.rb +1 -2
  81. data/lib/ogc/gml/control_point.rb +2 -3
  82. data/lib/ogc/gml/conventional_unit.rb +2 -3
  83. data/lib/ogc/gml/conversion.rb +1 -2
  84. data/lib/ogc/gml/conversion_property.rb +4 -5
  85. data/lib/ogc/gml/conversion_to_preferred_unit.rb +4 -5
  86. data/lib/ogc/gml/coordinate_operation_accuracy.rb +4 -5
  87. data/lib/ogc/gml/coordinate_operation_property.rb +4 -5
  88. data/lib/ogc/gml/coordinate_system_axis.rb +8 -9
  89. data/lib/ogc/gml/coordinate_system_axis_property.rb +4 -5
  90. data/lib/ogc/gml/coordinate_system_property.rb +4 -5
  91. data/lib/ogc/gml/coordinates.rb +6 -7
  92. data/lib/ogc/gml/count.rb +4 -5
  93. data/lib/ogc/gml/coverage_function.rb +2 -3
  94. data/lib/ogc/gml/crs_property.rb +4 -5
  95. data/lib/ogc/gml/cubic_spline.rb +3 -4
  96. data/lib/ogc/gml/curve.rb +1 -2
  97. data/lib/ogc/gml/curve_array_property.rb +3 -4
  98. data/lib/ogc/gml/curve_property.rb +5 -6
  99. data/lib/ogc/gml/curve_segment_array_property.rb +2 -3
  100. data/lib/ogc/gml/cylinder.rb +3 -4
  101. data/lib/ogc/gml/cylindrical_cs.rb +1 -2
  102. data/lib/ogc/gml/cylindrical_cs_property.rb +4 -5
  103. data/lib/ogc/gml/data_block.rb +3 -4
  104. data/lib/ogc/gml/datum_property.rb +4 -5
  105. data/lib/ogc/gml/definition.rb +2 -3
  106. data/lib/ogc/gml/definition_proxy.rb +2 -3
  107. data/lib/ogc/gml/degrees.rb +4 -5
  108. data/lib/ogc/gml/derivation_unit_term.rb +4 -5
  109. data/lib/ogc/gml/derived_crs.rb +1 -2
  110. data/lib/ogc/gml/derived_crs_property.rb +4 -5
  111. data/lib/ogc/gml/derived_unit.rb +2 -3
  112. data/lib/ogc/gml/dictionary.rb +7 -10
  113. data/lib/ogc/gml/dictionary_entry.rb +8 -9
  114. data/lib/ogc/gml/direct_position.rb +7 -8
  115. data/lib/ogc/gml/direct_position_list.rb +8 -9
  116. data/lib/ogc/gml/directed_edge_property.rb +6 -7
  117. data/lib/ogc/gml/directed_face_property.rb +6 -7
  118. data/lib/ogc/gml/directed_node_property.rb +6 -7
  119. data/lib/ogc/gml/directed_observation.rb +1 -2
  120. data/lib/ogc/gml/directed_observation_at_distance.rb +1 -2
  121. data/lib/ogc/gml/directed_topo_solid_property.rb +6 -7
  122. data/lib/ogc/gml/direction_description.rb +4 -5
  123. data/lib/ogc/gml/direction_property.rb +6 -7
  124. data/lib/ogc/gml/direction_vector.rb +2 -3
  125. data/lib/ogc/gml/discrete_coverage.rb +1 -2
  126. data/lib/ogc/gml/dms_angle.rb +5 -6
  127. data/lib/ogc/gml/domain_of_validity.rb +4 -5
  128. data/lib/ogc/gml/domain_set.rb +5 -6
  129. data/lib/ogc/gml/dynamic_feature.rb +1 -2
  130. data/lib/ogc/gml/dynamic_feature_collection.rb +1 -2
  131. data/lib/ogc/gml/dynamic_feature_member.rb +5 -6
  132. data/lib/ogc/gml/edge.rb +5 -6
  133. data/lib/ogc/gml/ellipsoid.rb +2 -3
  134. data/lib/ogc/gml/ellipsoid_property.rb +4 -5
  135. data/lib/ogc/gml/ellipsoidal_cs.rb +1 -2
  136. data/lib/ogc/gml/ellipsoidal_cs_property.rb +4 -5
  137. data/lib/ogc/gml/engineering_crs.rb +1 -2
  138. data/lib/ogc/gml/engineering_crs_property.rb +4 -5
  139. data/lib/ogc/gml/engineering_datum.rb +1 -2
  140. data/lib/ogc/gml/engineering_datum_property.rb +4 -5
  141. data/lib/ogc/gml/envelope.rb +6 -7
  142. data/lib/ogc/gml/envelope_with_time_period.rb +7 -8
  143. data/lib/ogc/gml/face.rb +6 -7
  144. data/lib/ogc/gml/face_or_topo_solid_property.rb +7 -8
  145. data/lib/ogc/gml/feature_array_property.rb +2 -3
  146. data/lib/ogc/gml/feature_collection.rb +1 -2
  147. data/lib/ogc/gml/feature_property.rb +5 -6
  148. data/lib/ogc/gml/file.rb +6 -7
  149. data/lib/ogc/gml/formula.rb +6 -7
  150. data/lib/ogc/gml/formula_citation.rb +4 -5
  151. data/lib/ogc/gml/general_conversion_property.rb +4 -5
  152. data/lib/ogc/gml/general_transformation_property.rb +4 -5
  153. data/lib/ogc/gml/generic_meta_data.rb +4 -5
  154. data/lib/ogc/gml/geocentric_crs.rb +1 -2
  155. data/lib/ogc/gml/geocentric_crs_property.rb +4 -5
  156. data/lib/ogc/gml/geodesic.rb +2 -3
  157. data/lib/ogc/gml/geodesic_string.rb +2 -3
  158. data/lib/ogc/gml/geodetic_crs.rb +1 -2
  159. data/lib/ogc/gml/geodetic_crs_property.rb +4 -5
  160. data/lib/ogc/gml/geodetic_datum.rb +1 -2
  161. data/lib/ogc/gml/geodetic_datum_property.rb +4 -5
  162. data/lib/ogc/gml/geographic_crs.rb +1 -2
  163. data/lib/ogc/gml/geographic_crs_property.rb +4 -5
  164. data/lib/ogc/gml/geometric_complex.rb +1 -2
  165. data/lib/ogc/gml/geometric_primitive_property.rb +5 -6
  166. data/lib/ogc/gml/geometry_array_property.rb +3 -4
  167. data/lib/ogc/gml/geometry_property.rb +5 -6
  168. data/lib/ogc/gml/grid.rb +10 -11
  169. data/lib/ogc/gml/grid_envelope.rb +4 -5
  170. data/lib/ogc/gml/grid_function.rb +3 -4
  171. data/lib/ogc/gml/grid_limits.rb +2 -3
  172. data/lib/ogc/gml/history_property.rb +3 -4
  173. data/lib/ogc/gml/image_crs.rb +1 -2
  174. data/lib/ogc/gml/image_crs_property.rb +4 -5
  175. data/lib/ogc/gml/image_datum.rb +1 -2
  176. data/lib/ogc/gml/image_datum_property.rb +4 -5
  177. data/lib/ogc/gml/indirect_entry.rb +2 -3
  178. data/lib/ogc/gml/inline_property.rb +3 -4
  179. data/lib/ogc/gml/knot.rb +5 -6
  180. data/lib/ogc/gml/knot_property.rb +2 -3
  181. data/lib/ogc/gml/length.rb +4 -3
  182. data/lib/ogc/gml/line_string.rb +1 -2
  183. data/lib/ogc/gml/line_string_segment.rb +2 -3
  184. data/lib/ogc/gml/line_string_segment_array_property.rb +2 -3
  185. data/lib/ogc/gml/linear_cs.rb +1 -2
  186. data/lib/ogc/gml/linear_cs_property.rb +4 -5
  187. data/lib/ogc/gml/linear_ring.rb +2 -3
  188. data/lib/ogc/gml/location_property.rb +5 -6
  189. data/lib/ogc/gml/mapping_rule.rb +3 -4
  190. data/lib/ogc/gml/measure.rb +4 -5
  191. data/lib/ogc/gml/measure_list.rb +4 -5
  192. data/lib/ogc/gml/measure_or_nil_reason_list.rb +4 -5
  193. data/lib/ogc/gml/meta_data_property.rb +5 -6
  194. data/lib/ogc/gml/moving_object_status.rb +1 -2
  195. data/lib/ogc/gml/multi_curve.rb +1 -2
  196. data/lib/ogc/gml/multi_curve_property.rb +5 -6
  197. data/lib/ogc/gml/multi_geometry.rb +1 -2
  198. data/lib/ogc/gml/multi_geometry_property.rb +5 -6
  199. data/lib/ogc/gml/multi_point.rb +1 -2
  200. data/lib/ogc/gml/multi_point_property.rb +5 -6
  201. data/lib/ogc/gml/multi_solid.rb +1 -2
  202. data/lib/ogc/gml/multi_solid_property.rb +5 -6
  203. data/lib/ogc/gml/multi_surface.rb +1 -2
  204. data/lib/ogc/gml/multi_surface_property.rb +5 -6
  205. data/lib/ogc/gml/node.rb +6 -7
  206. data/lib/ogc/gml/node_or_edge_property.rb +6 -7
  207. data/lib/ogc/gml/node_property.rb +5 -6
  208. data/lib/ogc/gml/oblique_cartesian_cs.rb +1 -2
  209. data/lib/ogc/gml/oblique_cartesian_cs_property.rb +4 -5
  210. data/lib/ogc/gml/observation.rb +1 -2
  211. data/lib/ogc/gml/offset_curve.rb +1 -2
  212. data/lib/ogc/gml/operation_method.rb +4 -5
  213. data/lib/ogc/gml/operation_method_property.rb +4 -5
  214. data/lib/ogc/gml/operation_parameter.rb +1 -2
  215. data/lib/ogc/gml/operation_parameter_group.rb +2 -3
  216. data/lib/ogc/gml/operation_parameter_group_property.rb +4 -5
  217. data/lib/ogc/gml/operation_parameter_property.rb +4 -5
  218. data/lib/ogc/gml/operation_property.rb +4 -5
  219. data/lib/ogc/gml/orientable_curve.rb +10 -11
  220. data/lib/ogc/gml/orientable_surface.rb +9 -10
  221. data/lib/ogc/gml/parameter_value.rb +7 -8
  222. data/lib/ogc/gml/parameter_value_group.rb +2 -3
  223. data/lib/ogc/gml/pass_through_operation.rb +2 -3
  224. data/lib/ogc/gml/pass_through_operation_property.rb +4 -5
  225. data/lib/ogc/gml/point.rb +1 -2
  226. data/lib/ogc/gml/point_array_property.rb +3 -4
  227. data/lib/ogc/gml/point_property.rb +5 -6
  228. data/lib/ogc/gml/polar_cs.rb +2 -3
  229. data/lib/ogc/gml/polar_cs_property.rb +4 -5
  230. data/lib/ogc/gml/polygon.rb +1 -2
  231. data/lib/ogc/gml/polygon_patch.rb +3 -4
  232. data/lib/ogc/gml/prime_meridian.rb +2 -3
  233. data/lib/ogc/gml/prime_meridian_property.rb +4 -5
  234. data/lib/ogc/gml/priority_location_property.rb +6 -7
  235. data/lib/ogc/gml/procedure_property.rb +5 -6
  236. data/lib/ogc/gml/projected_crs.rb +1 -2
  237. data/lib/ogc/gml/projected_crs_property.rb +4 -5
  238. data/lib/ogc/gml/quantity.rb +3 -4
  239. data/lib/ogc/gml/quantity_extent.rb +2 -3
  240. data/lib/ogc/gml/range_set.rb +3 -4
  241. data/lib/ogc/gml/rectangle.rb +3 -4
  242. data/lib/ogc/gml/rectified_grid.rb +10 -11
  243. data/lib/ogc/gml/ref_location.rb +2 -3
  244. data/lib/ogc/gml/reference.rb +5 -6
  245. data/lib/ogc/gml/related_time.rb +6 -7
  246. data/lib/ogc/gml/result.rb +5 -6
  247. data/lib/ogc/gml/ring.rb +2 -3
  248. data/lib/ogc/gml/second_defining_parameter1.rb +2 -3
  249. data/lib/ogc/gml/second_defining_parameter2.rb +3 -4
  250. data/lib/ogc/gml/sequence_rule.rb +5 -6
  251. data/lib/ogc/gml/shell.rb +4 -5
  252. data/lib/ogc/gml/shell_property.rb +2 -3
  253. data/lib/ogc/gml/single_crs_property.rb +4 -5
  254. data/lib/ogc/gml/single_operation_property.rb +4 -5
  255. data/lib/ogc/gml/solid.rb +1 -2
  256. data/lib/ogc/gml/solid_array_property.rb +3 -4
  257. data/lib/ogc/gml/solid_property.rb +5 -6
  258. data/lib/ogc/gml/sphere.rb +1 -2
  259. data/lib/ogc/gml/spherical_cs.rb +2 -3
  260. data/lib/ogc/gml/spherical_cs_property.rb +4 -5
  261. data/lib/ogc/gml/string_or_ref.rb +5 -6
  262. data/lib/ogc/gml/surface.rb +1 -2
  263. data/lib/ogc/gml/surface_array_property.rb +3 -4
  264. data/lib/ogc/gml/surface_patch_array_property.rb +2 -3
  265. data/lib/ogc/gml/surface_property.rb +5 -6
  266. data/lib/ogc/gml/target_property.rb +5 -6
  267. data/lib/ogc/gml/temporal_crs.rb +1 -2
  268. data/lib/ogc/gml/temporal_crs_property.rb +4 -5
  269. data/lib/ogc/gml/temporal_cs.rb +1 -2
  270. data/lib/ogc/gml/temporal_cs_property.rb +4 -5
  271. data/lib/ogc/gml/temporal_datum.rb +4 -5
  272. data/lib/ogc/gml/temporal_datum_property.rb +4 -5
  273. data/lib/ogc/gml/time_calendar.rb +3 -4
  274. data/lib/ogc/gml/time_calendar_era.rb +4 -5
  275. data/lib/ogc/gml/time_calendar_era_property.rb +5 -6
  276. data/lib/ogc/gml/time_calendar_property.rb +5 -6
  277. data/lib/ogc/gml/time_clock.rb +5 -6
  278. data/lib/ogc/gml/time_coordinate_system.rb +3 -4
  279. data/lib/ogc/gml/time_cs.rb +1 -2
  280. data/lib/ogc/gml/time_cs_property.rb +4 -5
  281. data/lib/ogc/gml/time_edge.rb +1 -2
  282. data/lib/ogc/gml/time_edge_property.rb +5 -6
  283. data/lib/ogc/gml/time_instant.rb +1 -2
  284. data/lib/ogc/gml/time_instant_property.rb +5 -6
  285. data/lib/ogc/gml/time_interval_length.rb +6 -7
  286. data/lib/ogc/gml/time_node.rb +2 -3
  287. data/lib/ogc/gml/time_node_property.rb +5 -6
  288. data/lib/ogc/gml/time_ordinal_era.rb +3 -4
  289. data/lib/ogc/gml/time_ordinal_era_property.rb +5 -6
  290. data/lib/ogc/gml/time_ordinal_reference_system.rb +3 -4
  291. data/lib/ogc/gml/time_period.rb +2 -3
  292. data/lib/ogc/gml/time_period_property.rb +5 -6
  293. data/lib/ogc/gml/time_position.rb +6 -7
  294. data/lib/ogc/gml/time_primitive_property.rb +5 -6
  295. data/lib/ogc/gml/time_reference_system.rb +3 -4
  296. data/lib/ogc/gml/time_topology_complex.rb +1 -2
  297. data/lib/ogc/gml/time_topology_primitive_property.rb +5 -6
  298. data/lib/ogc/gml/tin.rb +1 -2
  299. data/lib/ogc/gml/topo_complex.rb +7 -8
  300. data/lib/ogc/gml/topo_complex_property.rb +4 -5
  301. data/lib/ogc/gml/topo_curve.rb +5 -6
  302. data/lib/ogc/gml/topo_curve_property.rb +3 -4
  303. data/lib/ogc/gml/topo_point.rb +1 -2
  304. data/lib/ogc/gml/topo_point_property.rb +3 -4
  305. data/lib/ogc/gml/topo_primitive_array_association.rb +3 -4
  306. data/lib/ogc/gml/topo_primitive_member.rb +5 -6
  307. data/lib/ogc/gml/topo_solid.rb +7 -8
  308. data/lib/ogc/gml/topo_solid_property.rb +5 -6
  309. data/lib/ogc/gml/topo_surface.rb +5 -6
  310. data/lib/ogc/gml/topo_surface_property.rb +3 -4
  311. data/lib/ogc/gml/topo_volume.rb +5 -6
  312. data/lib/ogc/gml/topo_volume_property.rb +3 -4
  313. data/lib/ogc/gml/transformation.rb +1 -2
  314. data/lib/ogc/gml/transformation_property.rb +4 -5
  315. data/lib/ogc/gml/triangle.rb +3 -4
  316. data/lib/ogc/gml/unit_definition.rb +2 -3
  317. data/lib/ogc/gml/unit_of_measure.rb +3 -4
  318. data/lib/ogc/gml/user_defined_cs.rb +1 -2
  319. data/lib/ogc/gml/user_defined_cs_property.rb +4 -5
  320. data/lib/ogc/gml/value_array.rb +7 -8
  321. data/lib/ogc/gml/value_array_property.rb +5 -6
  322. data/lib/ogc/gml/value_property.rb +7 -8
  323. data/lib/ogc/gml/vector.rb +2 -3
  324. data/lib/ogc/gml/version.rb +1 -1
  325. data/lib/ogc/gml/vertical_crs.rb +1 -2
  326. data/lib/ogc/gml/vertical_crs_property.rb +4 -5
  327. data/lib/ogc/gml/vertical_cs.rb +1 -2
  328. data/lib/ogc/gml/vertical_cs_property.rb +4 -5
  329. data/lib/ogc/gml/vertical_datum.rb +1 -2
  330. data/lib/ogc/gml/vertical_datum_property.rb +4 -5
  331. data/lib/ogc/gml.rb +8 -5
  332. data/ogc-gml.gemspec +10 -17
  333. metadata +10 -94
  334. data/.github/workflows/main.yml +0 -27
  335. data/README.md +0 -35
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- composite_surface_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
  require_relative "surface_property"
6
5
  require_relative "abstract_geometric_aggregate"
7
6
 
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- composite_value_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "code"
7
6
  require_relative "code_with_authority"
@@ -12,11 +11,11 @@ require_relative "value_property"
12
11
 
13
12
  module Ogc
14
13
  module Gml
15
- class CompositeValue < Shale::Mapper
16
- attribute :id, Shale::Type::Value
17
- attribute :aggregation_type, Shale::Type::String
14
+ class CompositeValue < Lutaml::Model::Serializable
15
+ attribute :id, :string
16
+ attribute :aggregation_type, :string
18
17
  attribute :meta_data_property, MetaDataProperty, collection: true
19
- attribute :description, Shale::Type::String
18
+ attribute :description, :string
20
19
  attribute :description_reference, Reference
21
20
  attribute :identifier, CodeWithAuthority
22
21
  attribute :name, Code, collection: true
@@ -1,14 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- compound_crs_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
  require_relative "single_crs_property"
6
5
  require_relative "abstract_crs"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
9
  class CompoundCRS < AbstractCRS
11
- attribute :aggregation_type, Shale::Type::String
10
+ attribute :aggregation_type, :string
12
11
  attribute :component_reference_system, SingleCRSProperty, collection: true
13
12
 
14
13
  xml do
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- compound_crs_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "compound_crs"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class CompoundCRSProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class CompoundCRSProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :compound_crs, CompoundCRS
14
13
 
15
14
  xml do
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- concatenated_operation_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "code"
7
6
  require_relative "code_with_authority"
@@ -13,10 +12,10 @@ require_relative "abstract_coordinate_operation"
13
12
  module Ogc
14
13
  module Gml
15
14
  class ConcatenatedOperation < AbstractCoordinateOperation
16
- attribute :id, Shale::Type::Value
17
- attribute :aggregation_type, Shale::Type::String
15
+ attribute :id, :string
16
+ attribute :aggregation_type, :string
18
17
  attribute :meta_data_property, MetaDataProperty, collection: true
19
- attribute :description, Shale::Type::String
18
+ attribute :description, :string
20
19
  attribute :description_reference, Reference
21
20
  attribute :identifier, CodeWithAuthority
22
21
  attribute :name, Code, collection: true
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- concatenated_operation_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "concatenated_operation"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class ConcatenatedOperationProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class ConcatenatedOperationProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :concatenated_operation, ConcatenatedOperation
14
13
 
15
14
  xml do
data/lib/ogc/gml/cone.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- cone_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
  require_relative "cylinder"
6
5
 
7
6
  module Ogc
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- control_point.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "direct_position_list"
7
6
  require_relative "direct_position"
@@ -9,7 +8,7 @@ require_relative "point_property"
9
8
 
10
9
  module Ogc
11
10
  module Gml
12
- class ControlPoint < Shale::Mapper
11
+ class ControlPoint < Lutaml::Model::Serializable
13
12
  attribute :pos_list, DirectPositionList
14
13
  attribute :pos, DirectPosition, collection: true
15
14
  attribute :point_property, PointProperty, collection: true
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- conventional_unit_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "code"
7
6
  require_relative "code_with_authority"
@@ -15,7 +14,7 @@ require_relative "abstract_topology"
15
14
  module Ogc
16
15
  module Gml
17
16
  class ConventionalUnit < AbstractTopology
18
- attribute :remarks, Shale::Type::String
17
+ attribute :remarks, :string
19
18
  attribute :quantity_type, StringOrRef
20
19
  attribute :quantity_type_reference, Reference
21
20
  attribute :catalog_symbol, Code
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- conversion_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
  require_relative "abstract_general_parameter_value_property"
6
5
  require_relative "operation_method_property"
7
6
  require_relative "abstract_general_conversion"
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- conversion_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "conversion"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class ConversionProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class ConversionProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :conversion, Conversion
14
13
 
15
14
  xml do
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- conversion_to_preferred_unit_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "formula"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class ConversionToPreferredUnit < Shale::Mapper
11
- attribute :uom, Shale::Type::Value
12
- attribute :factor, Shale::Type::Float
9
+ class ConversionToPreferredUnit < Lutaml::Model::Serializable
10
+ attribute :uom, :string
11
+ attribute :factor, :float
13
12
  attribute :formula, Formula
14
13
 
15
14
  xml do
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- coordinate_operation_accuracy.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "string_or_ref"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class CoordinateOperationAccuracy < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class CoordinateOperationAccuracy < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :reference_event, StringOrRef
14
13
 
15
14
  xml do
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- coordinate_operation_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "abstract_coordinate_operation"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class CoordinateOperationProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class CoordinateOperationProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :abstract_coordinate_operation, AbstractCoordinateOperation
14
13
 
15
14
  xml do
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- coordinate_system_axis_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "code"
7
6
  require_relative "code_with_authority"
@@ -10,19 +9,19 @@ require_relative "reference"
10
9
 
11
10
  module Ogc
12
11
  module Gml
13
- class CoordinateSystemAxis < Shale::Mapper
14
- attribute :id, Shale::Type::Value
15
- attribute :uom, Shale::Type::Value
12
+ class CoordinateSystemAxis < Lutaml::Model::Serializable
13
+ attribute :id, :string
14
+ attribute :uom, :string
16
15
  attribute :meta_data_property, MetaDataProperty, collection: true
17
- attribute :description, Shale::Type::String
16
+ attribute :description, :string
18
17
  attribute :description_reference, Reference
19
18
  attribute :identifier, CodeWithAuthority
20
19
  attribute :name, Code, collection: true
21
- attribute :remarks, Shale::Type::String
20
+ attribute :remarks, :string
22
21
  attribute :axis_abbrev, Code
23
22
  attribute :axis_direction, CodeWithAuthority
24
- attribute :minimum_value, Shale::Type::Float
25
- attribute :maximum_value, Shale::Type::Float
23
+ attribute :minimum_value, :float
24
+ attribute :maximum_value, :float
26
25
  attribute :range_meaning, CodeWithAuthority
27
26
 
28
27
  xml do
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- coordinate_system_axis_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "coordinate_system_axis"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class CoordinateSystemAxisProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class CoordinateSystemAxisProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :coordinate_system_axis, CoordinateSystemAxis
14
13
 
15
14
  xml do
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- coordinate_system_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "abstract_coordinate_system"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class CoordinateSystemProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class CoordinateSystemProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :abstract_coordinate_system, AbstractCoordinateSystem
14
13
 
15
14
  xml do
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- coordinates_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  module Ogc
7
6
  module Gml
8
- class Coordinates < Shale::Mapper
9
- attribute :content, Shale::Type::String
10
- attribute :decimal, Shale::Type::String, default: -> { "." }
11
- attribute :cs, Shale::Type::String, default: -> { "," }
12
- attribute :ts, Shale::Type::String, default: -> { " " }
7
+ class Coordinates < Lutaml::Model::Serializable
8
+ attribute :content, :string
9
+ attribute :decimal, :string, default: -> { "." }
10
+ attribute :cs, :string, default: -> { "," }
11
+ attribute :ts, :string, default: -> { " " }
13
12
 
14
13
  xml do
15
14
  root "coordinates"
data/lib/ogc/gml/count.rb CHANGED
@@ -1,13 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- count.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  module Ogc
7
6
  module Gml
8
- class Count < Shale::Mapper
9
- attribute :content, Shale::Type::Integer
10
- attribute :nil_reason, Shale::Type::Value
7
+ class Count < Lutaml::Model::Serializable
8
+ attribute :content, :integer
9
+ attribute :nil_reason, :string
11
10
 
12
11
  xml do
13
12
  root "Count"
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- coverage_function_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "grid_function"
7
6
  require_relative "mapping_rule"
@@ -9,7 +8,7 @@ require_relative "string_or_ref"
9
8
 
10
9
  module Ogc
11
10
  module Gml
12
- class CoverageFunction < Shale::Mapper
11
+ class CoverageFunction < Lutaml::Model::Serializable
13
12
  attribute :mapping_rule, StringOrRef
14
13
  attribute :coverage_mapping_rule, MappingRule
15
14
  attribute :grid_function, GridFunction
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- crs_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "abstract_crs"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class CRSProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class CRSProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :abstract_crs, AbstractCRS
14
13
 
15
14
  xml do
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- cubic_spline_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "coordinates"
7
6
  require_relative "direct_position_list"
@@ -13,8 +12,8 @@ require_relative "abstract_curve_segment"
13
12
  module Ogc
14
13
  module Gml
15
14
  class CubicSpline < AbstractCurveSegment
16
- attribute :interpolation, Shale::Type::String
17
- attribute :degree, Shale::Type::Integer
15
+ attribute :interpolation, :string
16
+ attribute :degree, :integer
18
17
  attribute :pos, DirectPosition, collection: true
19
18
  attribute :point_property, PointProperty, collection: true
20
19
  attribute :point_rep, PointProperty, collection: true
data/lib/ogc/gml/curve.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- curve_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
  require_relative "curve_segment_array_property"
6
5
  require_relative "abstract_curve"
7
6
 
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- curve_array_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "abstract_curve"
7
6
  require_relative "line_string"
8
7
 
9
8
  module Ogc
10
9
  module Gml
11
- class CurveArrayProperty < Shale::Mapper
12
- attribute :owns, Shale::Type::Boolean, default: -> { "false" }
10
+ class CurveArrayProperty < Lutaml::Model::Serializable
11
+ attribute :owns, :boolean, default: -> { false }
13
12
  attribute :abstract_curve, AbstractCurve, collection: true
14
13
  attribute :curve, Curve, collection: true
15
14
  attribute :line_string, LineString, collection: true
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- curve_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "abstract_curve"
7
6
  require_relative "curve"
@@ -10,10 +9,10 @@ require_relative "line_string"
10
9
 
11
10
  module Ogc
12
11
  module Gml
13
- class CurveProperty < Shale::Mapper
14
- attribute :nil_reason, Shale::Type::Value
15
- attribute :remote_schema, Shale::Type::Value
16
- attribute :owns, Shale::Type::Boolean
12
+ class CurveProperty < Lutaml::Model::Serializable
13
+ attribute :nil_reason, :string
14
+ attribute :remote_schema, :string
15
+ attribute :owns, :boolean
17
16
  attribute :abstract_curve, AbstractCurve
18
17
  attribute :curve, Curve
19
18
  attribute :orientable_curve, OrientableCurve
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- curve_segment_array_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "abstract_curve_segment"
7
6
  require_relative "arc"
@@ -11,7 +10,7 @@ require_relative "geodesic_string"
11
10
 
12
11
  module Ogc
13
12
  module Gml
14
- class CurveSegmentArrayProperty < Shale::Mapper
13
+ class CurveSegmentArrayProperty < Lutaml::Model::Serializable
15
14
  attribute :abstract_curve_segment, AbstractCurveSegment, collection: true
16
15
  attribute :arc, Arc, collection: true
17
16
  attribute :arc_by_center_point, ArcByCenterPoint, collection: true
@@ -1,14 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- cylinder_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
  require_relative "abstract_gridded_surface"
6
5
 
7
6
  module Ogc
8
7
  module Gml
9
8
  class Cylinder < AbstractGriddedSurface
10
- attribute :horizontal_curve_type, Shale::Type::String
11
- attribute :vertical_curve_type, Shale::Type::String
9
+ attribute :horizontal_curve_type, :string
10
+ attribute :vertical_curve_type, :string
12
11
 
13
12
  xml do
14
13
  root "Cylinder"
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- cylindrical_cs_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
  require_relative "abstract_coordinate_system"
6
5
 
7
6
  module Ogc
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- cylindrical_cs_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "cylindrical_cs"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class CylindricalCSProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class CylindricalCSProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :cylindrical_cs, CylindricalCS
14
13
 
15
14
  xml do
@@ -1,17 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- data_block_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "association_role"
7
6
  require_relative "coordinates"
8
7
 
9
8
  module Ogc
10
9
  module Gml
11
- class DataBlock < Shale::Mapper
10
+ class DataBlock < Lutaml::Model::Serializable
12
11
  attribute :range_parameters, AssociationRole
13
12
  attribute :tuple_list, Coordinates
14
- attribute :double_or_nil_reason_tuple_list, Shale::Type::Value
13
+ attribute :double_or_nil_reason_tuple_list, :string
15
14
 
16
15
  xml do
17
16
  root "DataBlock"
@@ -1,15 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- datum_property_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "abstract_datum"
7
6
 
8
7
  module Ogc
9
8
  module Gml
10
- class DatumProperty < Shale::Mapper
11
- attribute :nil_reason, Shale::Type::Value
12
- attribute :remote_schema, Shale::Type::Value
9
+ class DatumProperty < Lutaml::Model::Serializable
10
+ attribute :nil_reason, :string
11
+ attribute :remote_schema, :string
13
12
  attribute :abstract_datum, AbstractDatum
14
13
 
15
14
  xml do
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- definition_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "code"
7
6
  require_relative "code_with_authority"
@@ -12,7 +11,7 @@ require_relative "abstract_topology"
12
11
  module Ogc
13
12
  module Gml
14
13
  class Definition < AbstractTopology
15
- attribute :remarks, Shale::Type::String
14
+ attribute :remarks, :string
16
15
 
17
16
  xml do
18
17
  root "Definition"
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # --- definition_proxy_type.rb ---
4
- require "shale"
3
+ require "lutaml/model"
5
4
 
6
5
  require_relative "code"
7
6
  require_relative "code_with_authority"
@@ -12,7 +11,7 @@ require_relative "abstract_topology"
12
11
  module Ogc
13
12
  module Gml
14
13
  class DefinitionProxy < AbstractTopology
15
- attribute :remarks, Shale::Type::String
14
+ attribute :remarks, :string
16
15
  attribute :definition_ref, Reference
17
16
 
18
17
  xml do