ogc-gml 1.0.4 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +5 -0
- data/.rubocop.yml +3 -9
- data/.rubocop_todo.yml +79 -8
- data/CLAUDE.md +139 -0
- data/Gemfile +1 -3
- data/README.adoc +5 -4
- data/lib/ogc/gml/abstract_continuous_coverage.rb +3 -5
- data/lib/ogc/gml/abstract_coordinate_operation.rb +7 -9
- data/lib/ogc/gml/abstract_coordinate_system.rb +4 -10
- data/lib/ogc/gml/abstract_coverage.rb +3 -8
- data/lib/ogc/gml/abstract_crs.rb +3 -9
- data/lib/ogc/gml/abstract_curve.rb +3 -4
- data/lib/ogc/gml/abstract_curve_segment.rb +2 -2
- data/lib/ogc/gml/abstract_datum.rb +3 -9
- data/lib/ogc/gml/abstract_feature.rb +3 -11
- data/lib/ogc/gml/abstract_feature_collection.rb +3 -8
- data/lib/ogc/gml/abstract_general_conversion.rb +7 -12
- data/lib/ogc/gml/abstract_general_derived_crs.rb +3 -5
- data/lib/ogc/gml/abstract_general_operation_parameter.rb +3 -4
- data/lib/ogc/gml/abstract_general_operation_parameter_property.rb +8 -8
- data/lib/ogc/gml/abstract_general_parameter_value.rb +2 -2
- data/lib/ogc/gml/abstract_general_parameter_value_property.rb +4 -5
- data/lib/ogc/gml/abstract_general_transformation.rb +5 -5
- data/lib/ogc/gml/abstract_geometric_aggregate.rb +3 -4
- data/lib/ogc/gml/abstract_geometric_primitive.rb +4 -9
- data/lib/ogc/gml/abstract_geometry.rb +3 -4
- data/lib/ogc/gml/abstract_gml.rb +3 -9
- data/lib/ogc/gml/abstract_gridded_surface.rb +2 -2
- data/lib/ogc/gml/abstract_meta_data.rb +4 -4
- data/lib/ogc/gml/abstract_parametric_curve_surface.rb +2 -2
- data/lib/ogc/gml/abstract_ring.rb +2 -2
- data/lib/ogc/gml/abstract_ring_property.rb +2 -4
- data/lib/ogc/gml/abstract_solid.rb +3 -4
- data/lib/ogc/gml/abstract_surface.rb +3 -4
- data/lib/ogc/gml/abstract_surface_patch.rb +2 -2
- data/lib/ogc/gml/abstract_time_complex.rb +3 -9
- data/lib/ogc/gml/abstract_time_geometric_primitive.rb +4 -10
- data/lib/ogc/gml/abstract_time_object.rb +3 -9
- data/lib/ogc/gml/abstract_time_primitive.rb +3 -7
- data/lib/ogc/gml/abstract_time_slice.rb +3 -11
- data/lib/ogc/gml/abstract_time_topology_primitive.rb +3 -10
- data/lib/ogc/gml/abstract_topo_primitive.rb +3 -9
- data/lib/ogc/gml/abstract_topology.rb +4 -8
- data/lib/ogc/gml/affine_cs.rb +3 -4
- data/lib/ogc/gml/affine_cs_property.rb +4 -6
- data/lib/ogc/gml/affine_placement.rb +2 -5
- data/lib/ogc/gml/angle.rb +2 -5
- data/lib/ogc/gml/arc.rb +2 -3
- data/lib/ogc/gml/arc_by_bulge.rb +2 -4
- data/lib/ogc/gml/arc_by_center_point.rb +2 -7
- data/lib/ogc/gml/arc_string.rb +2 -8
- data/lib/ogc/gml/arc_string_by_bulge.rb +2 -4
- data/lib/ogc/gml/array.rb +3 -10
- data/lib/ogc/gml/array_association.rb +2 -2
- data/lib/ogc/gml/association_role.rb +4 -4
- data/lib/ogc/gml/b_spline.rb +2 -3
- data/lib/ogc/gml/bag.rb +3 -11
- data/lib/ogc/gml/base_unit.rb +3 -10
- data/lib/ogc/gml/bezier.rb +2 -8
- data/lib/ogc/gml/boolean.rb +2 -2
- data/lib/ogc/gml/bounding_shape.rb +2 -4
- data/lib/ogc/gml/cartesian_cs.rb +3 -4
- data/lib/ogc/gml/cartesian_cs_property.rb +4 -6
- data/lib/ogc/gml/category.rb +2 -4
- data/lib/ogc/gml/category_extent.rb +2 -4
- data/lib/ogc/gml/circle.rb +2 -3
- data/lib/ogc/gml/circle_by_center_point.rb +2 -9
- data/lib/ogc/gml/clothoid.rb +2 -5
- data/lib/ogc/gml/code.rb +2 -2
- data/lib/ogc/gml/code_or_nil_reason_list.rb +2 -2
- data/lib/ogc/gml/code_with_authority.rb +2 -4
- data/lib/ogc/gml/composite_curve.rb +3 -5
- data/lib/ogc/gml/composite_solid.rb +3 -5
- data/lib/ogc/gml/composite_surface.rb +3 -5
- data/lib/ogc/gml/composite_value.rb +4 -11
- data/lib/ogc/gml/compound_crs.rb +3 -5
- data/lib/ogc/gml/compound_crs_property.rb +4 -6
- data/lib/ogc/gml/concatenated_operation.rb +6 -12
- data/lib/ogc/gml/concatenated_operation_property.rb +4 -6
- data/lib/ogc/gml/cone.rb +2 -3
- data/lib/ogc/gml/control_point.rb +2 -6
- data/lib/ogc/gml/conventional_unit.rb +7 -14
- data/lib/ogc/gml/conversion.rb +9 -10
- data/lib/ogc/gml/conversion_property.rb +4 -6
- data/lib/ogc/gml/conversion_to_preferred_unit.rb +2 -4
- data/lib/ogc/gml/coordinate_operation_accuracy.rb +4 -6
- data/lib/ogc/gml/coordinate_operation_property.rb +6 -7
- data/lib/ogc/gml/coordinate_system_axis.rb +4 -9
- data/lib/ogc/gml/coordinate_system_axis_property.rb +4 -6
- data/lib/ogc/gml/coordinate_system_property.rb +4 -6
- data/lib/ogc/gml/coordinates.rb +2 -2
- data/lib/ogc/gml/count.rb +2 -2
- data/lib/ogc/gml/coverage_function.rb +2 -6
- data/lib/ogc/gml/crs_property.rb +4 -6
- data/lib/ogc/gml/cubic_spline.rb +2 -9
- data/lib/ogc/gml/curve.rb +3 -5
- data/lib/ogc/gml/curve_array_property.rb +2 -5
- data/lib/ogc/gml/curve_property.rb +7 -12
- data/lib/ogc/gml/curve_segment_array_property.rb +3 -8
- data/lib/ogc/gml/cylinder.rb +2 -3
- data/lib/ogc/gml/cylindrical_cs.rb +3 -4
- data/lib/ogc/gml/cylindrical_cs_property.rb +4 -6
- data/lib/ogc/gml/data_block.rb +4 -6
- data/lib/ogc/gml/datum_property.rb +4 -6
- data/lib/ogc/gml/definition.rb +3 -9
- data/lib/ogc/gml/definition_proxy.rb +3 -9
- data/lib/ogc/gml/degrees.rb +2 -2
- data/lib/ogc/gml/derivation_unit_term.rb +2 -2
- data/lib/ogc/gml/derived_crs.rb +3 -7
- data/lib/ogc/gml/derived_crs_property.rb +4 -6
- data/lib/ogc/gml/derived_unit.rb +3 -11
- data/lib/ogc/gml/dictionary.rb +19 -19
- data/lib/ogc/gml/dictionary_entry.rb +9 -11
- data/lib/ogc/gml/direct_position.rb +2 -2
- data/lib/ogc/gml/direct_position_list.rb +2 -2
- data/lib/ogc/gml/directed_edge_property.rb +4 -6
- data/lib/ogc/gml/directed_face_property.rb +4 -6
- data/lib/ogc/gml/directed_node_property.rb +4 -6
- data/lib/ogc/gml/directed_observation.rb +3 -16
- data/lib/ogc/gml/directed_observation_at_distance.rb +3 -17
- data/lib/ogc/gml/directed_topo_solid_property.rb +4 -6
- data/lib/ogc/gml/direction_description.rb +2 -5
- data/lib/ogc/gml/direction_property.rb +4 -9
- data/lib/ogc/gml/direction_vector.rb +2 -5
- data/lib/ogc/gml/discrete_coverage.rb +3 -4
- data/lib/ogc/gml/dms_angle.rb +2 -4
- data/lib/ogc/gml/domain_of_validity.rb +4 -6
- data/lib/ogc/gml/domain_set.rb +4 -7
- data/lib/ogc/gml/dynamic_feature.rb +3 -14
- data/lib/ogc/gml/dynamic_feature_collection.rb +3 -15
- data/lib/ogc/gml/dynamic_feature_member.rb +4 -6
- data/lib/ogc/gml/edge.rb +4 -13
- data/lib/ogc/gml/ellipsoid.rb +3 -11
- data/lib/ogc/gml/ellipsoid_property.rb +4 -6
- data/lib/ogc/gml/ellipsoidal_cs.rb +3 -4
- data/lib/ogc/gml/ellipsoidal_cs_property.rb +4 -6
- data/lib/ogc/gml/engineering_crs.rb +3 -13
- data/lib/ogc/gml/engineering_crs_property.rb +4 -6
- data/lib/ogc/gml/engineering_datum.rb +3 -4
- data/lib/ogc/gml/engineering_datum_property.rb +4 -6
- data/lib/ogc/gml/envelope.rb +2 -5
- data/lib/ogc/gml/envelope_with_time_period.rb +2 -6
- data/lib/ogc/gml/face.rb +6 -14
- data/lib/ogc/gml/face_or_topo_solid_property.rb +4 -10
- data/lib/ogc/gml/feature_array_property.rb +2 -4
- data/lib/ogc/gml/feature_collection.rb +3 -4
- data/lib/ogc/gml/feature_property.rb +4 -6
- data/lib/ogc/gml/file.rb +2 -5
- data/lib/ogc/gml/formula.rb +2 -2
- data/lib/ogc/gml/formula_citation.rb +4 -6
- data/lib/ogc/gml/general_conversion_property.rb +6 -7
- data/lib/ogc/gml/general_transformation_property.rb +6 -7
- data/lib/ogc/gml/generic_meta_data.rb +4 -4
- data/lib/ogc/gml/geocentric_crs.rb +3 -7
- data/lib/ogc/gml/geocentric_crs_property.rb +4 -6
- data/lib/ogc/gml/geodesic.rb +2 -7
- data/lib/ogc/gml/geodesic_string.rb +2 -7
- data/lib/ogc/gml/geodetic_crs.rb +3 -9
- data/lib/ogc/gml/geodetic_crs_property.rb +4 -6
- data/lib/ogc/gml/geodetic_datum.rb +3 -6
- data/lib/ogc/gml/geodetic_datum_property.rb +4 -6
- data/lib/ogc/gml/geographic_crs.rb +3 -6
- data/lib/ogc/gml/geographic_crs_property.rb +4 -6
- data/lib/ogc/gml/geometric_complex.rb +3 -5
- data/lib/ogc/gml/geometric_primitive_property.rb +6 -7
- data/lib/ogc/gml/geometry_array_property.rb +2 -4
- data/lib/ogc/gml/geometry_property.rb +4 -6
- data/lib/ogc/gml/grid.rb +4 -10
- data/lib/ogc/gml/grid_envelope.rb +2 -2
- data/lib/ogc/gml/grid_function.rb +2 -4
- data/lib/ogc/gml/grid_limits.rb +2 -4
- data/lib/ogc/gml/history_property.rb +2 -4
- data/lib/ogc/gml/identifier.rb +13 -0
- data/lib/ogc/gml/image_crs.rb +3 -8
- data/lib/ogc/gml/image_crs_property.rb +4 -6
- data/lib/ogc/gml/image_datum.rb +3 -4
- data/lib/ogc/gml/image_datum_property.rb +4 -6
- data/lib/ogc/gml/indirect_entry.rb +2 -4
- data/lib/ogc/gml/inline_property.rb +2 -2
- data/lib/ogc/gml/knot.rb +2 -2
- data/lib/ogc/gml/knot_property.rb +2 -4
- data/lib/ogc/gml/length.rb +2 -5
- data/lib/ogc/gml/line_string.rb +3 -9
- data/lib/ogc/gml/line_string_segment.rb +2 -8
- data/lib/ogc/gml/line_string_segment_array_property.rb +2 -4
- data/lib/ogc/gml/linear_cs.rb +3 -4
- data/lib/ogc/gml/linear_cs_property.rb +4 -6
- data/lib/ogc/gml/linear_ring.rb +2 -7
- data/lib/ogc/gml/location_property.rb +4 -8
- data/lib/ogc/gml/mapping_rule.rb +2 -4
- data/lib/ogc/gml/measure.rb +2 -2
- data/lib/ogc/gml/measure_list.rb +2 -2
- data/lib/ogc/gml/measure_or_nil_reason_list.rb +2 -2
- data/lib/ogc/gml/meta_data_property.rb +4 -6
- data/lib/ogc/gml/moving_object_status.rb +3 -15
- data/lib/ogc/gml/multi_curve.rb +3 -5
- data/lib/ogc/gml/multi_curve_property.rb +4 -6
- data/lib/ogc/gml/multi_geometry.rb +3 -6
- data/lib/ogc/gml/multi_geometry_property.rb +6 -7
- data/lib/ogc/gml/multi_point.rb +3 -6
- data/lib/ogc/gml/multi_point_property.rb +4 -6
- data/lib/ogc/gml/multi_solid.rb +3 -6
- data/lib/ogc/gml/multi_solid_property.rb +4 -6
- data/lib/ogc/gml/multi_surface.rb +3 -6
- data/lib/ogc/gml/multi_surface_property.rb +4 -6
- data/lib/ogc/gml/namespace.rb +9 -0
- data/lib/ogc/gml/namespaces/gml_31_namespace.rb +14 -0
- data/lib/ogc/gml/namespaces/gml_32_namespace.rb +14 -0
- data/lib/ogc/gml/node.rb +4 -15
- data/lib/ogc/gml/node_or_edge_property.rb +4 -10
- data/lib/ogc/gml/node_property.rb +4 -6
- data/lib/ogc/gml/oblique_cartesian_cs.rb +3 -4
- data/lib/ogc/gml/oblique_cartesian_cs_property.rb +4 -6
- data/lib/ogc/gml/observation.rb +3 -15
- data/lib/ogc/gml/offset_curve.rb +2 -7
- data/lib/ogc/gml/operation_method.rb +5 -12
- data/lib/ogc/gml/operation_method_property.rb +4 -6
- data/lib/ogc/gml/operation_parameter.rb +3 -4
- data/lib/ogc/gml/operation_parameter_group.rb +5 -6
- data/lib/ogc/gml/operation_parameter_group_property.rb +4 -6
- data/lib/ogc/gml/operation_parameter_property.rb +4 -6
- data/lib/ogc/gml/operation_property.rb +4 -6
- data/lib/ogc/gml/orientable_curve.rb +4 -13
- data/lib/ogc/gml/orientable_surface.rb +4 -10
- data/lib/ogc/gml/parameter_value.rb +2 -7
- data/lib/ogc/gml/parameter_value_group.rb +4 -6
- data/lib/ogc/gml/pass_through_operation.rb +5 -13
- data/lib/ogc/gml/pass_through_operation_property.rb +4 -6
- data/lib/ogc/gml/point.rb +3 -5
- data/lib/ogc/gml/point_array_property.rb +2 -4
- data/lib/ogc/gml/point_property.rb +4 -6
- data/lib/ogc/gml/polar_cs.rb +3 -4
- data/lib/ogc/gml/polar_cs_property.rb +4 -6
- data/lib/ogc/gml/polygon.rb +3 -6
- data/lib/ogc/gml/polygon_patch.rb +2 -4
- data/lib/ogc/gml/prime_meridian.rb +3 -10
- data/lib/ogc/gml/prime_meridian_property.rb +4 -6
- data/lib/ogc/gml/priority_location_property.rb +4 -8
- data/lib/ogc/gml/procedure_property.rb +4 -6
- data/lib/ogc/gml/projected_crs.rb +3 -7
- data/lib/ogc/gml/projected_crs_property.rb +4 -6
- data/lib/ogc/gml/quantity.rb +2 -4
- data/lib/ogc/gml/quantity_extent.rb +2 -4
- data/lib/ogc/gml/range_set.rb +2 -6
- data/lib/ogc/gml/rectangle.rb +2 -4
- data/lib/ogc/gml/rectified_grid.rb +4 -12
- data/lib/ogc/gml/ref_location.rb +2 -4
- data/lib/ogc/gml/reference.rb +10 -4
- data/lib/ogc/gml/related_time.rb +4 -6
- data/lib/ogc/gml/result.rb +4 -4
- data/lib/ogc/gml/ring.rb +2 -3
- data/lib/ogc/gml/second_defining_parameter1.rb +2 -4
- data/lib/ogc/gml/second_defining_parameter2.rb +2 -5
- data/lib/ogc/gml/sequence_rule.rb +2 -2
- data/lib/ogc/gml/shell.rb +2 -6
- data/lib/ogc/gml/shell_property.rb +2 -6
- data/lib/ogc/gml/single_crs_property.rb +4 -6
- data/lib/ogc/gml/single_operation_property.rb +4 -6
- data/lib/ogc/gml/solid.rb +3 -5
- data/lib/ogc/gml/solid_array_property.rb +2 -4
- data/lib/ogc/gml/solid_property.rb +4 -6
- data/lib/ogc/gml/sphere.rb +2 -3
- data/lib/ogc/gml/spherical_cs.rb +3 -4
- data/lib/ogc/gml/spherical_cs_property.rb +4 -6
- data/lib/ogc/gml/string_or_ref.rb +4 -4
- data/lib/ogc/gml/surface.rb +4 -5
- data/lib/ogc/gml/surface_array_property.rb +2 -4
- data/lib/ogc/gml/surface_patch_array_property.rb +2 -5
- data/lib/ogc/gml/surface_property.rb +4 -7
- data/lib/ogc/gml/target_property.rb +4 -7
- data/lib/ogc/gml/temporal_crs.rb +3 -7
- data/lib/ogc/gml/temporal_crs_property.rb +4 -6
- data/lib/ogc/gml/temporal_cs.rb +3 -4
- data/lib/ogc/gml/temporal_cs_property.rb +4 -6
- data/lib/ogc/gml/temporal_datum.rb +3 -10
- data/lib/ogc/gml/temporal_datum_property.rb +4 -6
- data/lib/ogc/gml/time_calendar.rb +3 -10
- data/lib/ogc/gml/time_calendar_era.rb +3 -11
- data/lib/ogc/gml/time_calendar_era_property.rb +4 -6
- data/lib/ogc/gml/time_calendar_property.rb +4 -6
- data/lib/ogc/gml/time_clock.rb +3 -11
- data/lib/ogc/gml/time_coordinate_system.rb +3 -12
- data/lib/ogc/gml/time_cs.rb +3 -4
- data/lib/ogc/gml/time_cs_property.rb +4 -6
- data/lib/ogc/gml/time_edge.rb +3 -12
- data/lib/ogc/gml/time_edge_property.rb +4 -6
- data/lib/ogc/gml/time_instant.rb +3 -5
- data/lib/ogc/gml/time_instant_property.rb +4 -6
- data/lib/ogc/gml/time_interval_length.rb +2 -2
- data/lib/ogc/gml/time_node.rb +3 -9
- data/lib/ogc/gml/time_node_property.rb +4 -6
- data/lib/ogc/gml/time_ordinal_era.rb +3 -12
- data/lib/ogc/gml/time_ordinal_era_property.rb +4 -6
- data/lib/ogc/gml/time_ordinal_reference_system.rb +3 -10
- data/lib/ogc/gml/time_period.rb +3 -7
- data/lib/ogc/gml/time_period_property.rb +4 -6
- data/lib/ogc/gml/time_position.rb +2 -2
- data/lib/ogc/gml/time_primitive_property.rb +4 -6
- data/lib/ogc/gml/time_reference_system.rb +3 -9
- data/lib/ogc/gml/time_topology_complex.rb +3 -10
- data/lib/ogc/gml/time_topology_primitive_property.rb +6 -7
- data/lib/ogc/gml/tin.rb +3 -9
- data/lib/ogc/gml/topo_complex.rb +4 -15
- data/lib/ogc/gml/topo_complex_property.rb +4 -6
- data/lib/ogc/gml/topo_curve.rb +4 -10
- data/lib/ogc/gml/topo_curve_property.rb +2 -4
- data/lib/ogc/gml/topo_point.rb +3 -10
- data/lib/ogc/gml/topo_point_property.rb +2 -4
- data/lib/ogc/gml/topo_primitive_array_association.rb +4 -5
- data/lib/ogc/gml/topo_primitive_member.rb +4 -6
- data/lib/ogc/gml/topo_solid.rb +4 -15
- data/lib/ogc/gml/topo_solid_property.rb +4 -6
- data/lib/ogc/gml/topo_surface.rb +4 -10
- data/lib/ogc/gml/topo_surface_property.rb +2 -4
- data/lib/ogc/gml/topo_volume.rb +6 -11
- data/lib/ogc/gml/topo_volume_property.rb +2 -4
- data/lib/ogc/gml/transformation.rb +9 -17
- data/lib/ogc/gml/transformation_property.rb +4 -6
- data/lib/ogc/gml/triangle.rb +2 -4
- data/lib/ogc/gml/unit_definition.rb +3 -10
- data/lib/ogc/gml/unit_of_measure.rb +2 -2
- data/lib/ogc/gml/user_defined_cs.rb +3 -4
- data/lib/ogc/gml/user_defined_cs_property.rb +4 -6
- data/lib/ogc/gml/value_array.rb +4 -11
- data/lib/ogc/gml/value_array_property.rb +2 -5
- data/lib/ogc/gml/value_property.rb +4 -7
- data/lib/ogc/gml/vector.rb +2 -4
- data/lib/ogc/gml/version.rb +1 -1
- data/lib/ogc/gml/vertical_crs.rb +3 -6
- data/lib/ogc/gml/vertical_crs_property.rb +4 -6
- data/lib/ogc/gml/vertical_cs.rb +3 -4
- data/lib/ogc/gml/vertical_cs_property.rb +4 -6
- data/lib/ogc/gml/vertical_datum.rb +3 -4
- data/lib/ogc/gml/vertical_datum_property.rb +4 -6
- data/lib/ogc/gml.rb +661 -327
- data/ogc-gml.gemspec +3 -1
- metadata +9 -4
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "compound_crs"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class CompoundCRSProperty < Lutaml::Model::Serializable
|
|
10
8
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
12
10
|
attribute :compound_crs, CompoundCRS
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "compoundCRSRef"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
17
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
20
18
|
map_element "CompoundCRS", to: :compound_crs
|
|
21
19
|
end
|
|
22
20
|
end
|
|
@@ -2,17 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "code"
|
|
6
|
-
require_relative "code_with_authority"
|
|
7
|
-
require_relative "coordinate_operation_property"
|
|
8
|
-
require_relative "meta_data_property"
|
|
9
|
-
require_relative "reference"
|
|
10
|
-
require_relative "abstract_coordinate_operation"
|
|
11
|
-
|
|
12
5
|
module Ogc
|
|
13
6
|
module Gml
|
|
14
7
|
class ConcatenatedOperation < AbstractCoordinateOperation
|
|
15
|
-
attribute :id,
|
|
8
|
+
attribute :id, Identifier
|
|
16
9
|
attribute :aggregation_type, :string
|
|
17
10
|
attribute :meta_data_property, MetaDataProperty, collection: true
|
|
18
11
|
attribute :description, :string
|
|
@@ -22,10 +15,10 @@ module Ogc
|
|
|
22
15
|
attribute :coord_operation, CoordinateOperationProperty, collection: true
|
|
23
16
|
|
|
24
17
|
xml do
|
|
25
|
-
|
|
26
|
-
namespace
|
|
18
|
+
element "ConcatenatedOperation"
|
|
19
|
+
namespace Namespace
|
|
27
20
|
|
|
28
|
-
map_attribute "id", to: :id,
|
|
21
|
+
map_attribute "id", to: :id, form: :qualified
|
|
29
22
|
map_attribute "aggregationType", to: :aggregation_type
|
|
30
23
|
map_element "metaDataProperty", to: :meta_data_property
|
|
31
24
|
map_element "description", to: :description
|
|
@@ -36,7 +29,8 @@ module Ogc
|
|
|
36
29
|
map_element "domainOfValidity", to: :domain_of_validity
|
|
37
30
|
map_element "scope", to: :scope
|
|
38
31
|
map_element "operationVersion", to: :operation_version
|
|
39
|
-
map_element "coordinateOperationAccuracy",
|
|
32
|
+
map_element "coordinateOperationAccuracy",
|
|
33
|
+
to: :coordinate_operation_accuracy
|
|
40
34
|
map_element "sourceCRS", to: :source_crs
|
|
41
35
|
map_element "targetCRS", to: :target_crs
|
|
42
36
|
map_element "coordOperation", to: :coord_operation
|
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "concatenated_operation"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class ConcatenatedOperationProperty < Lutaml::Model::Serializable
|
|
10
8
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
12
10
|
attribute :concatenated_operation, ConcatenatedOperation
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "concatenatedOperationRef"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
17
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
20
18
|
map_element "ConcatenatedOperation", to: :concatenated_operation
|
|
21
19
|
end
|
|
22
20
|
end
|
data/lib/ogc/gml/cone.rb
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
|
-
require_relative "cylinder"
|
|
5
4
|
|
|
6
5
|
module Ogc
|
|
7
6
|
module Gml
|
|
8
7
|
class Cone < Cylinder
|
|
9
8
|
xml do
|
|
10
|
-
|
|
11
|
-
namespace
|
|
9
|
+
element "Cone"
|
|
10
|
+
namespace Namespace
|
|
12
11
|
|
|
13
12
|
map_attribute "aggregationType", to: :aggregation_type
|
|
14
13
|
map_attribute "rows", to: :rows
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "direct_position_list"
|
|
6
|
-
require_relative "direct_position"
|
|
7
|
-
require_relative "point_property"
|
|
8
|
-
|
|
9
5
|
module Ogc
|
|
10
6
|
module Gml
|
|
11
7
|
class ControlPoint < Lutaml::Model::Serializable
|
|
@@ -14,8 +10,8 @@ module Ogc
|
|
|
14
10
|
attribute :point_property, PointProperty, collection: true
|
|
15
11
|
|
|
16
12
|
xml do
|
|
17
|
-
|
|
18
|
-
namespace
|
|
13
|
+
element "controlPoint"
|
|
14
|
+
namespace Namespace
|
|
19
15
|
|
|
20
16
|
map_element "posList", to: :pos_list
|
|
21
17
|
map_element "pos", to: :pos
|
|
@@ -2,15 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "code"
|
|
6
|
-
require_relative "code_with_authority"
|
|
7
|
-
require_relative "conversion_to_preferred_unit"
|
|
8
|
-
require_relative "derivation_unit_term"
|
|
9
|
-
require_relative "meta_data_property"
|
|
10
|
-
require_relative "reference"
|
|
11
|
-
require_relative "string_or_ref"
|
|
12
|
-
require_relative "abstract_topology"
|
|
13
|
-
|
|
14
5
|
module Ogc
|
|
15
6
|
module Gml
|
|
16
7
|
class ConventionalUnit < AbstractTopology
|
|
@@ -23,10 +14,10 @@ module Ogc
|
|
|
23
14
|
attribute :derivation_unit_term, DerivationUnitTerm, collection: true
|
|
24
15
|
|
|
25
16
|
xml do
|
|
26
|
-
|
|
27
|
-
namespace
|
|
17
|
+
element "ConventionalUnit"
|
|
18
|
+
namespace Namespace
|
|
28
19
|
|
|
29
|
-
map_attribute "id", to: :id,
|
|
20
|
+
map_attribute "id", to: :id, form: :qualified
|
|
30
21
|
map_element "metaDataProperty", to: :meta_data_property
|
|
31
22
|
map_element "description", to: :description
|
|
32
23
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -36,8 +27,10 @@ module Ogc
|
|
|
36
27
|
map_element "quantityType", to: :quantity_type
|
|
37
28
|
map_element "quantityTypeReference", to: :quantity_type_reference
|
|
38
29
|
map_element "catalogSymbol", to: :catalog_symbol
|
|
39
|
-
map_element "conversionToPreferredUnit",
|
|
40
|
-
|
|
30
|
+
map_element "conversionToPreferredUnit",
|
|
31
|
+
to: :conversion_to_preferred_unit
|
|
32
|
+
map_element "roughConversionToPreferredUnit",
|
|
33
|
+
to: :rough_conversion_to_preferred_unit
|
|
41
34
|
map_element "derivationUnitTerm", to: :derivation_unit_term
|
|
42
35
|
end
|
|
43
36
|
end
|
data/lib/ogc/gml/conversion.rb
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
|
-
require_relative "abstract_general_parameter_value_property"
|
|
5
|
-
require_relative "operation_method_property"
|
|
6
|
-
require_relative "abstract_general_conversion"
|
|
7
4
|
|
|
8
5
|
module Ogc
|
|
9
6
|
module Gml
|
|
10
7
|
class Conversion < AbstractGeneralConversion
|
|
11
|
-
attribute :
|
|
12
|
-
attribute :parameter_value, AbstractGeneralParameterValueProperty,
|
|
8
|
+
attribute :operation_method, OperationMethodProperty
|
|
9
|
+
attribute :parameter_value, AbstractGeneralParameterValueProperty,
|
|
10
|
+
collection: true
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "Conversion"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
|
-
map_attribute "id", to: :id,
|
|
16
|
+
map_attribute "id", to: :id, form: :qualified
|
|
19
17
|
map_element "metaDataProperty", to: :meta_data_property
|
|
20
18
|
map_element "description", to: :description
|
|
21
19
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -24,8 +22,9 @@ module Ogc
|
|
|
24
22
|
map_element "remarks", to: :remarks
|
|
25
23
|
map_element "domainOfValidity", to: :domain_of_validity
|
|
26
24
|
map_element "scope", to: :scope
|
|
27
|
-
map_element "coordinateOperationAccuracy",
|
|
28
|
-
|
|
25
|
+
map_element "coordinateOperationAccuracy",
|
|
26
|
+
to: :coordinate_operation_accuracy
|
|
27
|
+
map_element "method", to: :operation_method
|
|
29
28
|
map_element "parameterValue", to: :parameter_value
|
|
30
29
|
end
|
|
31
30
|
end
|
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "conversion"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class ConversionProperty < Lutaml::Model::Serializable
|
|
10
8
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
12
10
|
attribute :conversion, Conversion
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "conversionRef"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
17
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
20
18
|
map_element "Conversion", to: :conversion
|
|
21
19
|
end
|
|
22
20
|
end
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "formula"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class ConversionToPreferredUnit < Lutaml::Model::Serializable
|
|
@@ -12,8 +10,8 @@ module Ogc
|
|
|
12
10
|
attribute :formula, Formula
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "roughConversionToPreferredUnit"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "uom", to: :uom
|
|
19
17
|
map_element "factor", to: :factor
|
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "string_or_ref"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class CoordinateOperationAccuracy < Lutaml::Model::Serializable
|
|
10
8
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
12
10
|
attribute :reference_event, StringOrRef
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "coordinateOperationAccuracy"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
17
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
20
18
|
map_element "referenceEvent", to: :reference_event
|
|
21
19
|
end
|
|
22
20
|
end
|
|
@@ -2,22 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "abstract_coordinate_operation"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class CoordinateOperationProperty < Lutaml::Model::Serializable
|
|
10
8
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
12
10
|
attribute :abstract_coordinate_operation, AbstractCoordinateOperation
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "usesOperation"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
20
|
-
map_element "AbstractCoordinateOperation",
|
|
17
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
18
|
+
map_element "AbstractCoordinateOperation",
|
|
19
|
+
to: :abstract_coordinate_operation
|
|
21
20
|
end
|
|
22
21
|
end
|
|
23
22
|
end
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "code"
|
|
6
|
-
require_relative "code_with_authority"
|
|
7
|
-
require_relative "meta_data_property"
|
|
8
|
-
require_relative "reference"
|
|
9
|
-
|
|
10
5
|
module Ogc
|
|
11
6
|
module Gml
|
|
12
7
|
class CoordinateSystemAxis < Lutaml::Model::Serializable
|
|
13
|
-
attribute :id,
|
|
8
|
+
attribute :id, Identifier
|
|
14
9
|
attribute :uom, :string
|
|
15
10
|
attribute :meta_data_property, MetaDataProperty, collection: true
|
|
16
11
|
attribute :description, :string
|
|
@@ -25,10 +20,10 @@ module Ogc
|
|
|
25
20
|
attribute :range_meaning, CodeWithAuthority
|
|
26
21
|
|
|
27
22
|
xml do
|
|
28
|
-
|
|
29
|
-
namespace
|
|
23
|
+
element "CoordinateSystemAxis"
|
|
24
|
+
namespace Namespace
|
|
30
25
|
|
|
31
|
-
map_attribute "id", to: :id,
|
|
26
|
+
map_attribute "id", to: :id, form: :qualified
|
|
32
27
|
map_attribute "uom", to: :uom
|
|
33
28
|
map_element "metaDataProperty", to: :meta_data_property
|
|
34
29
|
map_element "description", to: :description
|
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "coordinate_system_axis"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class CoordinateSystemAxisProperty < Lutaml::Model::Serializable
|
|
10
8
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
12
10
|
attribute :coordinate_system_axis, CoordinateSystemAxis
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "usesAxis"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
17
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
20
18
|
map_element "CoordinateSystemAxis", to: :coordinate_system_axis
|
|
21
19
|
end
|
|
22
20
|
end
|
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "abstract_coordinate_system"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class CoordinateSystemProperty < Lutaml::Model::Serializable
|
|
10
8
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
12
10
|
attribute :abstract_coordinate_system, AbstractCoordinateSystem
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "usesCS"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
17
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
20
18
|
map_element "AbstractCoordinateSystem", to: :abstract_coordinate_system
|
|
21
19
|
end
|
|
22
20
|
end
|
data/lib/ogc/gml/coordinates.rb
CHANGED
|
@@ -11,8 +11,8 @@ module Ogc
|
|
|
11
11
|
attribute :ts, :string, default: -> { " " }
|
|
12
12
|
|
|
13
13
|
xml do
|
|
14
|
-
|
|
15
|
-
namespace
|
|
14
|
+
element "coordinates"
|
|
15
|
+
namespace Namespace
|
|
16
16
|
|
|
17
17
|
map_content to: :content
|
|
18
18
|
map_attribute "decimal", to: :decimal
|
data/lib/ogc/gml/count.rb
CHANGED
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "grid_function"
|
|
6
|
-
require_relative "mapping_rule"
|
|
7
|
-
require_relative "string_or_ref"
|
|
8
|
-
|
|
9
5
|
module Ogc
|
|
10
6
|
module Gml
|
|
11
7
|
class CoverageFunction < Lutaml::Model::Serializable
|
|
@@ -14,8 +10,8 @@ module Ogc
|
|
|
14
10
|
attribute :grid_function, GridFunction
|
|
15
11
|
|
|
16
12
|
xml do
|
|
17
|
-
|
|
18
|
-
namespace
|
|
13
|
+
element "coverageFunction"
|
|
14
|
+
namespace Namespace
|
|
19
15
|
|
|
20
16
|
map_element "MappingRule", to: :mapping_rule
|
|
21
17
|
map_element "CoverageMappingRule", to: :coverage_mapping_rule
|
data/lib/ogc/gml/crs_property.rb
CHANGED
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "abstract_crs"
|
|
6
|
-
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
9
7
|
class CRSProperty < Lutaml::Model::Serializable
|
|
10
8
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
12
10
|
attribute :abstract_crs, AbstractCRS
|
|
13
11
|
|
|
14
12
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
13
|
+
element "crsRef"
|
|
14
|
+
namespace Namespace
|
|
17
15
|
|
|
18
16
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
17
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
20
18
|
map_element "AbstractCRS", to: :abstract_crs
|
|
21
19
|
end
|
|
22
20
|
end
|
data/lib/ogc/gml/cubic_spline.rb
CHANGED
|
@@ -2,13 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "coordinates"
|
|
6
|
-
require_relative "direct_position_list"
|
|
7
|
-
require_relative "direct_position"
|
|
8
|
-
require_relative "point_property"
|
|
9
|
-
require_relative "vector"
|
|
10
|
-
require_relative "abstract_curve_segment"
|
|
11
|
-
|
|
12
5
|
module Ogc
|
|
13
6
|
module Gml
|
|
14
7
|
class CubicSpline < AbstractCurveSegment
|
|
@@ -23,8 +16,8 @@ module Ogc
|
|
|
23
16
|
attribute :vector_at_end, Vector
|
|
24
17
|
|
|
25
18
|
xml do
|
|
26
|
-
|
|
27
|
-
namespace
|
|
19
|
+
element "CubicSpline"
|
|
20
|
+
namespace Namespace
|
|
28
21
|
|
|
29
22
|
map_attribute "numDerivativesAtStart", to: :num_derivatives_at_start
|
|
30
23
|
map_attribute "numDerivativesAtEnd", to: :num_derivatives_at_end
|
data/lib/ogc/gml/curve.rb
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
|
-
require_relative "curve_segment_array_property"
|
|
5
|
-
require_relative "abstract_curve"
|
|
6
4
|
|
|
7
5
|
module Ogc
|
|
8
6
|
module Gml
|
|
@@ -10,10 +8,10 @@ module Ogc
|
|
|
10
8
|
attribute :segments, CurveSegmentArrayProperty, collection: true
|
|
11
9
|
|
|
12
10
|
xml do
|
|
13
|
-
|
|
14
|
-
namespace
|
|
11
|
+
element "Curve"
|
|
12
|
+
namespace Namespace
|
|
15
13
|
|
|
16
|
-
map_attribute "id", to: :id,
|
|
14
|
+
map_attribute "id", to: :id, form: :qualified
|
|
17
15
|
map_attribute "srsName", to: :srs_name
|
|
18
16
|
map_attribute "srsDimension", to: :srs_dimension
|
|
19
17
|
map_attribute "axisLabels", to: :axis_labels
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "abstract_curve"
|
|
6
|
-
require_relative "line_string"
|
|
7
|
-
|
|
8
5
|
module Ogc
|
|
9
6
|
module Gml
|
|
10
7
|
class CurveArrayProperty < Lutaml::Model::Serializable
|
|
@@ -14,8 +11,8 @@ module Ogc
|
|
|
14
11
|
attribute :line_string, LineString, collection: true
|
|
15
12
|
|
|
16
13
|
xml do
|
|
17
|
-
|
|
18
|
-
namespace
|
|
14
|
+
element "curveArrayProperty"
|
|
15
|
+
namespace Namespace
|
|
19
16
|
|
|
20
17
|
map_attribute "owns", to: :owns
|
|
21
18
|
map_element "AbstractCurve", to: :abstract_curve
|
|
@@ -2,16 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "abstract_curve"
|
|
6
|
-
require_relative "curve"
|
|
7
|
-
require_relative "orientable_curve"
|
|
8
|
-
require_relative "line_string"
|
|
9
|
-
|
|
10
5
|
module Ogc
|
|
11
6
|
module Gml
|
|
12
7
|
class CurveProperty < Lutaml::Model::Serializable
|
|
13
8
|
attribute :nil_reason, :string
|
|
14
|
-
attribute :remote_schema,
|
|
9
|
+
attribute :remote_schema, RemoteSchema
|
|
15
10
|
attribute :owns, :boolean
|
|
16
11
|
attribute :abstract_curve, AbstractCurve
|
|
17
12
|
attribute :curve, Curve
|
|
@@ -19,17 +14,17 @@ module Ogc
|
|
|
19
14
|
attribute :line_string, LineString
|
|
20
15
|
|
|
21
16
|
xml do
|
|
22
|
-
|
|
23
|
-
namespace
|
|
17
|
+
element "centerLineOf"
|
|
18
|
+
namespace Namespace
|
|
24
19
|
|
|
25
20
|
map_attribute "nilReason", to: :nil_reason
|
|
26
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
21
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
27
22
|
map_attribute "owns", to: :owns
|
|
28
23
|
|
|
29
24
|
map_element "AbstractCurve", to: :abstract_curve
|
|
30
|
-
map_element "Curve", to: :curve
|
|
31
|
-
map_element "OrientableCurve", to: :orientable_curve
|
|
32
|
-
map_element "LineString", to: :line_string
|
|
25
|
+
map_element "Curve", to: :curve
|
|
26
|
+
map_element "OrientableCurve", to: :orientable_curve
|
|
27
|
+
map_element "LineString", to: :line_string
|
|
33
28
|
end
|
|
34
29
|
end
|
|
35
30
|
end
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
4
|
|
|
5
|
-
require_relative "abstract_curve_segment"
|
|
6
|
-
require_relative "arc"
|
|
7
|
-
require_relative "arc_by_center_point"
|
|
8
|
-
require_relative "line_string_segment"
|
|
9
|
-
require_relative "geodesic_string"
|
|
10
|
-
|
|
11
5
|
module Ogc
|
|
12
6
|
module Gml
|
|
13
7
|
class CurveSegmentArrayProperty < Lutaml::Model::Serializable
|
|
@@ -18,8 +12,9 @@ module Ogc
|
|
|
18
12
|
attribute :geodesic_string, GeodesicString, collection: true
|
|
19
13
|
|
|
20
14
|
xml do
|
|
21
|
-
|
|
22
|
-
namespace
|
|
15
|
+
element "segments"
|
|
16
|
+
namespace Namespace
|
|
17
|
+
ordered
|
|
23
18
|
|
|
24
19
|
map_element "AbstractCurveSegment", to: :abstract_curve_segment
|
|
25
20
|
map_element "GeodesicString", to: :geodesic_string
|
data/lib/ogc/gml/cylinder.rb
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
|
-
require_relative "abstract_gridded_surface"
|
|
5
4
|
|
|
6
5
|
module Ogc
|
|
7
6
|
module Gml
|
|
@@ -10,8 +9,8 @@ module Ogc
|
|
|
10
9
|
attribute :vertical_curve_type, :string
|
|
11
10
|
|
|
12
11
|
xml do
|
|
13
|
-
|
|
14
|
-
namespace
|
|
12
|
+
element "Cylinder"
|
|
13
|
+
namespace Namespace
|
|
15
14
|
|
|
16
15
|
map_attribute "aggregationType", to: :aggregation_type
|
|
17
16
|
map_attribute "rows", to: :rows
|