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.
- checksums.yaml +4 -4
- data/.gitmodules +1 -1
- data/.rubocop.yml +2 -0
- data/.rubocop_todo.yml +33 -0
- data/Gemfile +6 -5
- data/README.adoc +102 -0
- data/lib/ogc/gml/abstract_continuous_coverage.rb +1 -2
- data/lib/ogc/gml/abstract_coordinate_operation.rb +5 -6
- data/lib/ogc/gml/abstract_coordinate_system.rb +6 -7
- data/lib/ogc/gml/abstract_coverage.rb +1 -2
- data/lib/ogc/gml/abstract_crs.rb +4 -5
- data/lib/ogc/gml/abstract_curve.rb +1 -2
- data/lib/ogc/gml/abstract_curve_segment.rb +5 -6
- data/lib/ogc/gml/abstract_datum.rb +5 -6
- data/lib/ogc/gml/abstract_feature.rb +1 -2
- data/lib/ogc/gml/abstract_feature_collection.rb +1 -2
- data/lib/ogc/gml/abstract_general_conversion.rb +4 -5
- data/lib/ogc/gml/abstract_general_derived_crs.rb +1 -2
- data/lib/ogc/gml/abstract_general_operation_parameter.rb +3 -4
- data/lib/ogc/gml/abstract_general_operation_parameter_property.rb +4 -5
- data/lib/ogc/gml/abstract_general_parameter_value.rb +2 -3
- data/lib/ogc/gml/abstract_general_parameter_value_property.rb +2 -3
- data/lib/ogc/gml/abstract_general_transformation.rb +1 -2
- data/lib/ogc/gml/abstract_geometric_aggregate.rb +2 -3
- data/lib/ogc/gml/abstract_geometric_primitive.rb +8 -9
- data/lib/ogc/gml/abstract_geometry.rb +1 -2
- data/lib/ogc/gml/abstract_gml.rb +1 -2
- data/lib/ogc/gml/abstract_gridded_surface.rb +5 -6
- data/lib/ogc/gml/abstract_meta_data.rb +4 -5
- data/lib/ogc/gml/abstract_parametric_curve_surface.rb +3 -4
- data/lib/ogc/gml/abstract_ring.rb +2 -3
- data/lib/ogc/gml/abstract_ring_property.rb +2 -3
- data/lib/ogc/gml/abstract_solid.rb +1 -2
- data/lib/ogc/gml/abstract_surface.rb +1 -2
- data/lib/ogc/gml/abstract_surface_patch.rb +2 -3
- data/lib/ogc/gml/abstract_time_complex.rb +1 -2
- data/lib/ogc/gml/abstract_time_geometric_primitive.rb +5 -6
- data/lib/ogc/gml/abstract_time_object.rb +1 -2
- data/lib/ogc/gml/abstract_time_primitive.rb +2 -3
- data/lib/ogc/gml/abstract_time_slice.rb +1 -2
- data/lib/ogc/gml/abstract_time_topology_primitive.rb +1 -2
- data/lib/ogc/gml/abstract_topo_primitive.rb +1 -2
- data/lib/ogc/gml/abstract_topology.rb +4 -5
- data/lib/ogc/gml/affine_cs.rb +1 -2
- data/lib/ogc/gml/affine_cs_property.rb +4 -5
- data/lib/ogc/gml/affine_placement.rb +4 -5
- data/lib/ogc/gml/angle.rb +4 -3
- data/lib/ogc/gml/arc.rb +1 -2
- data/lib/ogc/gml/arc_by_bulge.rb +2 -3
- data/lib/ogc/gml/arc_by_center_point.rb +1 -2
- data/lib/ogc/gml/arc_string.rb +3 -4
- data/lib/ogc/gml/arc_string_by_bulge.rb +2 -3
- data/lib/ogc/gml/array.rb +1 -2
- data/lib/ogc/gml/array_association.rb +4 -5
- data/lib/ogc/gml/association_role.rb +5 -6
- data/lib/ogc/gml/b_spline.rb +1 -2
- data/lib/ogc/gml/bag.rb +1 -2
- data/lib/ogc/gml/base_unit.rb +2 -3
- data/lib/ogc/gml/bezier.rb +5 -6
- data/lib/ogc/gml/boolean.rb +4 -5
- data/lib/ogc/gml/bounding_shape.rb +4 -5
- data/lib/ogc/gml/cartesian_cs.rb +1 -2
- data/lib/ogc/gml/cartesian_cs_property.rb +4 -5
- data/lib/ogc/gml/category.rb +3 -4
- data/lib/ogc/gml/category_extent.rb +2 -3
- data/lib/ogc/gml/circle.rb +1 -2
- data/lib/ogc/gml/circle_by_center_point.rb +3 -4
- data/lib/ogc/gml/clothoid.rb +5 -6
- data/lib/ogc/gml/code.rb +4 -5
- data/lib/ogc/gml/code_or_nil_reason_list.rb +4 -5
- data/lib/ogc/gml/code_with_authority.rb +3 -4
- data/lib/ogc/gml/composite_curve.rb +1 -2
- data/lib/ogc/gml/composite_solid.rb +1 -2
- data/lib/ogc/gml/composite_surface.rb +1 -2
- data/lib/ogc/gml/composite_value.rb +5 -6
- data/lib/ogc/gml/compound_crs.rb +2 -3
- data/lib/ogc/gml/compound_crs_property.rb +4 -5
- data/lib/ogc/gml/concatenated_operation.rb +4 -5
- data/lib/ogc/gml/concatenated_operation_property.rb +4 -5
- data/lib/ogc/gml/cone.rb +1 -2
- data/lib/ogc/gml/control_point.rb +2 -3
- data/lib/ogc/gml/conventional_unit.rb +2 -3
- data/lib/ogc/gml/conversion.rb +1 -2
- data/lib/ogc/gml/conversion_property.rb +4 -5
- data/lib/ogc/gml/conversion_to_preferred_unit.rb +4 -5
- data/lib/ogc/gml/coordinate_operation_accuracy.rb +4 -5
- data/lib/ogc/gml/coordinate_operation_property.rb +4 -5
- data/lib/ogc/gml/coordinate_system_axis.rb +8 -9
- data/lib/ogc/gml/coordinate_system_axis_property.rb +4 -5
- data/lib/ogc/gml/coordinate_system_property.rb +4 -5
- data/lib/ogc/gml/coordinates.rb +6 -7
- data/lib/ogc/gml/count.rb +4 -5
- data/lib/ogc/gml/coverage_function.rb +2 -3
- data/lib/ogc/gml/crs_property.rb +4 -5
- data/lib/ogc/gml/cubic_spline.rb +3 -4
- data/lib/ogc/gml/curve.rb +1 -2
- data/lib/ogc/gml/curve_array_property.rb +3 -4
- data/lib/ogc/gml/curve_property.rb +5 -6
- data/lib/ogc/gml/curve_segment_array_property.rb +2 -3
- data/lib/ogc/gml/cylinder.rb +3 -4
- data/lib/ogc/gml/cylindrical_cs.rb +1 -2
- data/lib/ogc/gml/cylindrical_cs_property.rb +4 -5
- data/lib/ogc/gml/data_block.rb +3 -4
- data/lib/ogc/gml/datum_property.rb +4 -5
- data/lib/ogc/gml/definition.rb +2 -3
- data/lib/ogc/gml/definition_proxy.rb +2 -3
- data/lib/ogc/gml/degrees.rb +4 -5
- data/lib/ogc/gml/derivation_unit_term.rb +4 -5
- data/lib/ogc/gml/derived_crs.rb +1 -2
- data/lib/ogc/gml/derived_crs_property.rb +4 -5
- data/lib/ogc/gml/derived_unit.rb +2 -3
- data/lib/ogc/gml/dictionary.rb +7 -10
- data/lib/ogc/gml/dictionary_entry.rb +8 -9
- data/lib/ogc/gml/direct_position.rb +7 -8
- data/lib/ogc/gml/direct_position_list.rb +8 -9
- data/lib/ogc/gml/directed_edge_property.rb +6 -7
- data/lib/ogc/gml/directed_face_property.rb +6 -7
- data/lib/ogc/gml/directed_node_property.rb +6 -7
- data/lib/ogc/gml/directed_observation.rb +1 -2
- data/lib/ogc/gml/directed_observation_at_distance.rb +1 -2
- data/lib/ogc/gml/directed_topo_solid_property.rb +6 -7
- data/lib/ogc/gml/direction_description.rb +4 -5
- data/lib/ogc/gml/direction_property.rb +6 -7
- data/lib/ogc/gml/direction_vector.rb +2 -3
- data/lib/ogc/gml/discrete_coverage.rb +1 -2
- data/lib/ogc/gml/dms_angle.rb +5 -6
- data/lib/ogc/gml/domain_of_validity.rb +4 -5
- data/lib/ogc/gml/domain_set.rb +5 -6
- data/lib/ogc/gml/dynamic_feature.rb +1 -2
- data/lib/ogc/gml/dynamic_feature_collection.rb +1 -2
- data/lib/ogc/gml/dynamic_feature_member.rb +5 -6
- data/lib/ogc/gml/edge.rb +5 -6
- data/lib/ogc/gml/ellipsoid.rb +2 -3
- data/lib/ogc/gml/ellipsoid_property.rb +4 -5
- data/lib/ogc/gml/ellipsoidal_cs.rb +1 -2
- data/lib/ogc/gml/ellipsoidal_cs_property.rb +4 -5
- data/lib/ogc/gml/engineering_crs.rb +1 -2
- data/lib/ogc/gml/engineering_crs_property.rb +4 -5
- data/lib/ogc/gml/engineering_datum.rb +1 -2
- data/lib/ogc/gml/engineering_datum_property.rb +4 -5
- data/lib/ogc/gml/envelope.rb +6 -7
- data/lib/ogc/gml/envelope_with_time_period.rb +7 -8
- data/lib/ogc/gml/face.rb +6 -7
- data/lib/ogc/gml/face_or_topo_solid_property.rb +7 -8
- data/lib/ogc/gml/feature_array_property.rb +2 -3
- data/lib/ogc/gml/feature_collection.rb +1 -2
- data/lib/ogc/gml/feature_property.rb +5 -6
- data/lib/ogc/gml/file.rb +6 -7
- data/lib/ogc/gml/formula.rb +6 -7
- data/lib/ogc/gml/formula_citation.rb +4 -5
- data/lib/ogc/gml/general_conversion_property.rb +4 -5
- data/lib/ogc/gml/general_transformation_property.rb +4 -5
- data/lib/ogc/gml/generic_meta_data.rb +4 -5
- data/lib/ogc/gml/geocentric_crs.rb +1 -2
- data/lib/ogc/gml/geocentric_crs_property.rb +4 -5
- data/lib/ogc/gml/geodesic.rb +2 -3
- data/lib/ogc/gml/geodesic_string.rb +2 -3
- data/lib/ogc/gml/geodetic_crs.rb +1 -2
- data/lib/ogc/gml/geodetic_crs_property.rb +4 -5
- data/lib/ogc/gml/geodetic_datum.rb +1 -2
- data/lib/ogc/gml/geodetic_datum_property.rb +4 -5
- data/lib/ogc/gml/geographic_crs.rb +1 -2
- data/lib/ogc/gml/geographic_crs_property.rb +4 -5
- data/lib/ogc/gml/geometric_complex.rb +1 -2
- data/lib/ogc/gml/geometric_primitive_property.rb +5 -6
- data/lib/ogc/gml/geometry_array_property.rb +3 -4
- data/lib/ogc/gml/geometry_property.rb +5 -6
- data/lib/ogc/gml/grid.rb +10 -11
- data/lib/ogc/gml/grid_envelope.rb +4 -5
- data/lib/ogc/gml/grid_function.rb +3 -4
- data/lib/ogc/gml/grid_limits.rb +2 -3
- data/lib/ogc/gml/history_property.rb +3 -4
- data/lib/ogc/gml/image_crs.rb +1 -2
- data/lib/ogc/gml/image_crs_property.rb +4 -5
- data/lib/ogc/gml/image_datum.rb +1 -2
- data/lib/ogc/gml/image_datum_property.rb +4 -5
- data/lib/ogc/gml/indirect_entry.rb +2 -3
- data/lib/ogc/gml/inline_property.rb +3 -4
- data/lib/ogc/gml/knot.rb +5 -6
- data/lib/ogc/gml/knot_property.rb +2 -3
- data/lib/ogc/gml/length.rb +4 -3
- data/lib/ogc/gml/line_string.rb +1 -2
- data/lib/ogc/gml/line_string_segment.rb +2 -3
- data/lib/ogc/gml/line_string_segment_array_property.rb +2 -3
- data/lib/ogc/gml/linear_cs.rb +1 -2
- data/lib/ogc/gml/linear_cs_property.rb +4 -5
- data/lib/ogc/gml/linear_ring.rb +2 -3
- data/lib/ogc/gml/location_property.rb +5 -6
- data/lib/ogc/gml/mapping_rule.rb +3 -4
- data/lib/ogc/gml/measure.rb +4 -5
- data/lib/ogc/gml/measure_list.rb +4 -5
- data/lib/ogc/gml/measure_or_nil_reason_list.rb +4 -5
- data/lib/ogc/gml/meta_data_property.rb +5 -6
- data/lib/ogc/gml/moving_object_status.rb +1 -2
- data/lib/ogc/gml/multi_curve.rb +1 -2
- data/lib/ogc/gml/multi_curve_property.rb +5 -6
- data/lib/ogc/gml/multi_geometry.rb +1 -2
- data/lib/ogc/gml/multi_geometry_property.rb +5 -6
- data/lib/ogc/gml/multi_point.rb +1 -2
- data/lib/ogc/gml/multi_point_property.rb +5 -6
- data/lib/ogc/gml/multi_solid.rb +1 -2
- data/lib/ogc/gml/multi_solid_property.rb +5 -6
- data/lib/ogc/gml/multi_surface.rb +1 -2
- data/lib/ogc/gml/multi_surface_property.rb +5 -6
- data/lib/ogc/gml/node.rb +6 -7
- data/lib/ogc/gml/node_or_edge_property.rb +6 -7
- data/lib/ogc/gml/node_property.rb +5 -6
- data/lib/ogc/gml/oblique_cartesian_cs.rb +1 -2
- data/lib/ogc/gml/oblique_cartesian_cs_property.rb +4 -5
- data/lib/ogc/gml/observation.rb +1 -2
- data/lib/ogc/gml/offset_curve.rb +1 -2
- data/lib/ogc/gml/operation_method.rb +4 -5
- data/lib/ogc/gml/operation_method_property.rb +4 -5
- data/lib/ogc/gml/operation_parameter.rb +1 -2
- data/lib/ogc/gml/operation_parameter_group.rb +2 -3
- data/lib/ogc/gml/operation_parameter_group_property.rb +4 -5
- data/lib/ogc/gml/operation_parameter_property.rb +4 -5
- data/lib/ogc/gml/operation_property.rb +4 -5
- data/lib/ogc/gml/orientable_curve.rb +10 -11
- data/lib/ogc/gml/orientable_surface.rb +9 -10
- data/lib/ogc/gml/parameter_value.rb +7 -8
- data/lib/ogc/gml/parameter_value_group.rb +2 -3
- data/lib/ogc/gml/pass_through_operation.rb +2 -3
- data/lib/ogc/gml/pass_through_operation_property.rb +4 -5
- data/lib/ogc/gml/point.rb +1 -2
- data/lib/ogc/gml/point_array_property.rb +3 -4
- data/lib/ogc/gml/point_property.rb +5 -6
- data/lib/ogc/gml/polar_cs.rb +2 -3
- data/lib/ogc/gml/polar_cs_property.rb +4 -5
- data/lib/ogc/gml/polygon.rb +1 -2
- data/lib/ogc/gml/polygon_patch.rb +3 -4
- data/lib/ogc/gml/prime_meridian.rb +2 -3
- data/lib/ogc/gml/prime_meridian_property.rb +4 -5
- data/lib/ogc/gml/priority_location_property.rb +6 -7
- data/lib/ogc/gml/procedure_property.rb +5 -6
- data/lib/ogc/gml/projected_crs.rb +1 -2
- data/lib/ogc/gml/projected_crs_property.rb +4 -5
- data/lib/ogc/gml/quantity.rb +3 -4
- data/lib/ogc/gml/quantity_extent.rb +2 -3
- data/lib/ogc/gml/range_set.rb +3 -4
- data/lib/ogc/gml/rectangle.rb +3 -4
- data/lib/ogc/gml/rectified_grid.rb +10 -11
- data/lib/ogc/gml/ref_location.rb +2 -3
- data/lib/ogc/gml/reference.rb +5 -6
- data/lib/ogc/gml/related_time.rb +6 -7
- data/lib/ogc/gml/result.rb +5 -6
- data/lib/ogc/gml/ring.rb +2 -3
- data/lib/ogc/gml/second_defining_parameter1.rb +2 -3
- data/lib/ogc/gml/second_defining_parameter2.rb +3 -4
- data/lib/ogc/gml/sequence_rule.rb +5 -6
- data/lib/ogc/gml/shell.rb +4 -5
- data/lib/ogc/gml/shell_property.rb +2 -3
- data/lib/ogc/gml/single_crs_property.rb +4 -5
- data/lib/ogc/gml/single_operation_property.rb +4 -5
- data/lib/ogc/gml/solid.rb +1 -2
- data/lib/ogc/gml/solid_array_property.rb +3 -4
- data/lib/ogc/gml/solid_property.rb +5 -6
- data/lib/ogc/gml/sphere.rb +1 -2
- data/lib/ogc/gml/spherical_cs.rb +2 -3
- data/lib/ogc/gml/spherical_cs_property.rb +4 -5
- data/lib/ogc/gml/string_or_ref.rb +5 -6
- data/lib/ogc/gml/surface.rb +1 -2
- data/lib/ogc/gml/surface_array_property.rb +3 -4
- data/lib/ogc/gml/surface_patch_array_property.rb +2 -3
- data/lib/ogc/gml/surface_property.rb +5 -6
- data/lib/ogc/gml/target_property.rb +5 -6
- data/lib/ogc/gml/temporal_crs.rb +1 -2
- data/lib/ogc/gml/temporal_crs_property.rb +4 -5
- data/lib/ogc/gml/temporal_cs.rb +1 -2
- data/lib/ogc/gml/temporal_cs_property.rb +4 -5
- data/lib/ogc/gml/temporal_datum.rb +4 -5
- data/lib/ogc/gml/temporal_datum_property.rb +4 -5
- data/lib/ogc/gml/time_calendar.rb +3 -4
- data/lib/ogc/gml/time_calendar_era.rb +4 -5
- data/lib/ogc/gml/time_calendar_era_property.rb +5 -6
- data/lib/ogc/gml/time_calendar_property.rb +5 -6
- data/lib/ogc/gml/time_clock.rb +5 -6
- data/lib/ogc/gml/time_coordinate_system.rb +3 -4
- data/lib/ogc/gml/time_cs.rb +1 -2
- data/lib/ogc/gml/time_cs_property.rb +4 -5
- data/lib/ogc/gml/time_edge.rb +1 -2
- data/lib/ogc/gml/time_edge_property.rb +5 -6
- data/lib/ogc/gml/time_instant.rb +1 -2
- data/lib/ogc/gml/time_instant_property.rb +5 -6
- data/lib/ogc/gml/time_interval_length.rb +6 -7
- data/lib/ogc/gml/time_node.rb +2 -3
- data/lib/ogc/gml/time_node_property.rb +5 -6
- data/lib/ogc/gml/time_ordinal_era.rb +3 -4
- data/lib/ogc/gml/time_ordinal_era_property.rb +5 -6
- data/lib/ogc/gml/time_ordinal_reference_system.rb +3 -4
- data/lib/ogc/gml/time_period.rb +2 -3
- data/lib/ogc/gml/time_period_property.rb +5 -6
- data/lib/ogc/gml/time_position.rb +6 -7
- data/lib/ogc/gml/time_primitive_property.rb +5 -6
- data/lib/ogc/gml/time_reference_system.rb +3 -4
- data/lib/ogc/gml/time_topology_complex.rb +1 -2
- data/lib/ogc/gml/time_topology_primitive_property.rb +5 -6
- data/lib/ogc/gml/tin.rb +1 -2
- data/lib/ogc/gml/topo_complex.rb +7 -8
- data/lib/ogc/gml/topo_complex_property.rb +4 -5
- data/lib/ogc/gml/topo_curve.rb +5 -6
- data/lib/ogc/gml/topo_curve_property.rb +3 -4
- data/lib/ogc/gml/topo_point.rb +1 -2
- data/lib/ogc/gml/topo_point_property.rb +3 -4
- data/lib/ogc/gml/topo_primitive_array_association.rb +3 -4
- data/lib/ogc/gml/topo_primitive_member.rb +5 -6
- data/lib/ogc/gml/topo_solid.rb +7 -8
- data/lib/ogc/gml/topo_solid_property.rb +5 -6
- data/lib/ogc/gml/topo_surface.rb +5 -6
- data/lib/ogc/gml/topo_surface_property.rb +3 -4
- data/lib/ogc/gml/topo_volume.rb +5 -6
- data/lib/ogc/gml/topo_volume_property.rb +3 -4
- data/lib/ogc/gml/transformation.rb +1 -2
- data/lib/ogc/gml/transformation_property.rb +4 -5
- data/lib/ogc/gml/triangle.rb +3 -4
- data/lib/ogc/gml/unit_definition.rb +2 -3
- data/lib/ogc/gml/unit_of_measure.rb +3 -4
- data/lib/ogc/gml/user_defined_cs.rb +1 -2
- data/lib/ogc/gml/user_defined_cs_property.rb +4 -5
- data/lib/ogc/gml/value_array.rb +7 -8
- data/lib/ogc/gml/value_array_property.rb +5 -6
- data/lib/ogc/gml/value_property.rb +7 -8
- data/lib/ogc/gml/vector.rb +2 -3
- data/lib/ogc/gml/version.rb +1 -1
- data/lib/ogc/gml/vertical_crs.rb +1 -2
- data/lib/ogc/gml/vertical_crs_property.rb +4 -5
- data/lib/ogc/gml/vertical_cs.rb +1 -2
- data/lib/ogc/gml/vertical_cs_property.rb +4 -5
- data/lib/ogc/gml/vertical_datum.rb +1 -2
- data/lib/ogc/gml/vertical_datum_property.rb +4 -5
- data/lib/ogc/gml.rb +8 -5
- data/ogc-gml.gemspec +10 -17
- metadata +10 -94
- data/.github/workflows/main.yml +0 -27
- data/README.md +0 -35
data/lib/ogc/gml/rectangle.rb
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "shell_property"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class Rectangle <
|
11
|
-
attribute :interpolation,
|
9
|
+
class Rectangle < Lutaml::Model::Serializable
|
10
|
+
attribute :interpolation, :string
|
12
11
|
attribute :exterior, ShellProperty
|
13
12
|
|
14
13
|
xml do
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "code"
|
7
6
|
require_relative "code_with_authority"
|
@@ -13,20 +12,20 @@ require_relative "vector"
|
|
13
12
|
|
14
13
|
module Ogc
|
15
14
|
module Gml
|
16
|
-
class RectifiedGrid <
|
17
|
-
attribute :id,
|
18
|
-
attribute :srs_name,
|
19
|
-
attribute :srs_dimension,
|
20
|
-
attribute :axis_labels,
|
21
|
-
attribute :uom_labels,
|
22
|
-
attribute :dimension,
|
15
|
+
class RectifiedGrid < Lutaml::Model::Serializable
|
16
|
+
attribute :id, :string
|
17
|
+
attribute :srs_name, :string
|
18
|
+
attribute :srs_dimension, :integer
|
19
|
+
attribute :axis_labels, :string
|
20
|
+
attribute :uom_labels, :string
|
21
|
+
attribute :dimension, :integer
|
23
22
|
attribute :meta_data_property, MetaDataProperty, collection: true
|
24
|
-
attribute :description,
|
23
|
+
attribute :description, :string
|
25
24
|
attribute :description_reference, Reference
|
26
25
|
attribute :identifier, CodeWithAuthority
|
27
26
|
attribute :name, Code, collection: true
|
28
27
|
attribute :limits, GridLimits
|
29
|
-
attribute :axis_name,
|
28
|
+
attribute :axis_name, :string, collection: true
|
30
29
|
attribute :origin, PointProperty
|
31
30
|
attribute :offset_vector, Vector, collection: true
|
32
31
|
|
data/lib/ogc/gml/ref_location.rb
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "affine_placement"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class RefLocation <
|
9
|
+
class RefLocation < Lutaml::Model::Serializable
|
11
10
|
attribute :affine_placement, AffinePlacement
|
12
11
|
|
13
12
|
xml do
|
data/lib/ogc/gml/reference.rb
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
module Ogc
|
7
6
|
module Gml
|
8
|
-
class Reference <
|
9
|
-
attribute :owns,
|
10
|
-
attribute :nil_reason,
|
11
|
-
attribute :remote_schema,
|
7
|
+
class Reference < Lutaml::Model::Serializable
|
8
|
+
attribute :owns, :boolean, default: -> { false }
|
9
|
+
attribute :nil_reason, :string
|
10
|
+
attribute :remote_schema, :string
|
12
11
|
|
13
12
|
xml do
|
14
13
|
root "statusReference"
|
data/lib/ogc/gml/related_time.rb
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "abstract_time_primitive"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class RelatedTime <
|
11
|
-
attribute :nil_reason,
|
12
|
-
attribute :remote_schema,
|
13
|
-
attribute :owns,
|
14
|
-
attribute :relative_position,
|
9
|
+
class RelatedTime < Lutaml::Model::Serializable
|
10
|
+
attribute :nil_reason, :string
|
11
|
+
attribute :remote_schema, :string
|
12
|
+
attribute :owns, :boolean, default: -> { false }
|
13
|
+
attribute :relative_position, :string
|
15
14
|
attribute :abstract_time_primitive, AbstractTimePrimitive
|
16
15
|
|
17
16
|
xml do
|
data/lib/ogc/gml/result.rb
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
module Ogc
|
7
6
|
module Gml
|
8
|
-
class Result <
|
9
|
-
attribute :owns,
|
10
|
-
attribute :nil_reason,
|
11
|
-
attribute :remote_schema,
|
7
|
+
class Result < Lutaml::Model::Serializable
|
8
|
+
attribute :owns, :boolean, default: -> { false }
|
9
|
+
attribute :nil_reason, :string
|
10
|
+
attribute :remote_schema, :string
|
12
11
|
|
13
12
|
xml do
|
14
13
|
root "resultOf"
|
data/lib/ogc/gml/ring.rb
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
require_relative "composite_curve"
|
6
5
|
|
7
6
|
module Ogc
|
8
7
|
module Gml
|
9
8
|
class Ring < CompositeCurve
|
10
|
-
attribute :aggregation_type,
|
9
|
+
attribute :aggregation_type, :string
|
11
10
|
|
12
11
|
xml do
|
13
12
|
root "Ring"
|
@@ -1,13 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "second_defining_parameter2"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class SecondDefiningParameter1 <
|
9
|
+
class SecondDefiningParameter1 < Lutaml::Model::Serializable
|
11
10
|
attribute :second_defining_parameter, SecondDefiningParameter2
|
12
11
|
|
13
12
|
xml do
|
@@ -1,17 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "length"
|
7
6
|
require_relative "measure"
|
8
7
|
|
9
8
|
module Ogc
|
10
9
|
module Gml
|
11
|
-
class SecondDefiningParameter2 <
|
10
|
+
class SecondDefiningParameter2 < Lutaml::Model::Serializable
|
12
11
|
attribute :inverse_flattening, Measure
|
13
12
|
attribute :semi_minor_axis, Length
|
14
|
-
attribute :is_sphere,
|
13
|
+
attribute :is_sphere, :boolean, default: -> { true }
|
15
14
|
|
16
15
|
xml do
|
17
16
|
root "SecondDefiningParameter"
|
@@ -1,14 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
module Ogc
|
7
6
|
module Gml
|
8
|
-
class SequenceRule <
|
9
|
-
attribute :content,
|
10
|
-
attribute :order,
|
11
|
-
attribute :axis_order,
|
7
|
+
class SequenceRule < Lutaml::Model::Serializable
|
8
|
+
attribute :content, :string
|
9
|
+
attribute :order, :string
|
10
|
+
attribute :axis_order, :string
|
12
11
|
|
13
12
|
xml do
|
14
13
|
root "SequenceRuleType"
|
data/lib/ogc/gml/shell.rb
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
require_relative "surface_property"
|
6
5
|
|
7
6
|
module Ogc
|
8
7
|
module Gml
|
9
|
-
class SurfaceProperty <
|
8
|
+
class SurfaceProperty < Lutaml::Model::Serializable
|
10
9
|
end
|
11
10
|
|
12
|
-
class Shell <
|
13
|
-
attribute :aggregation_type,
|
11
|
+
class Shell < Lutaml::Model::Serializable
|
12
|
+
attribute :aggregation_type, :string
|
14
13
|
attribute :surface_member, SurfaceProperty, collection: true
|
15
14
|
|
16
15
|
xml do
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "shell"
|
7
6
|
require_relative "ring"
|
@@ -9,7 +8,7 @@ require_relative "linear_ring"
|
|
9
8
|
|
10
9
|
module Ogc
|
11
10
|
module Gml
|
12
|
-
class ShellProperty <
|
11
|
+
class ShellProperty < Lutaml::Model::Serializable
|
13
12
|
attribute :shell, Shell
|
14
13
|
attribute :ring, Ring
|
15
14
|
attribute :linear_ring, LinearRing
|
@@ -1,15 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
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 SingleCRSProperty <
|
11
|
-
attribute :nil_reason,
|
12
|
-
attribute :remote_schema,
|
9
|
+
class SingleCRSProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :nil_reason, :string
|
11
|
+
attribute :remote_schema, :string
|
13
12
|
attribute :abstract_single_crs, AbstractCRS
|
14
13
|
|
15
14
|
xml do
|
@@ -1,15 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
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 SingleOperationProperty <
|
11
|
-
attribute :nil_reason,
|
12
|
-
attribute :remote_schema,
|
9
|
+
class SingleOperationProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :nil_reason, :string
|
11
|
+
attribute :remote_schema, :string
|
13
12
|
attribute :abstract_single_operation, AbstractCoordinateOperation
|
14
13
|
|
15
14
|
xml do
|
data/lib/ogc/gml/solid.rb
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "abstract_solid"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class SolidArrayProperty <
|
11
|
-
attribute :owns,
|
9
|
+
class SolidArrayProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :owns, :boolean, default: -> { false }
|
12
11
|
attribute :abstract_solid, AbstractSolid, collection: true
|
13
12
|
|
14
13
|
xml do
|
@@ -1,16 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "abstract_solid"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class SolidProperty <
|
11
|
-
attribute :nil_reason,
|
12
|
-
attribute :remote_schema,
|
13
|
-
attribute :owns,
|
9
|
+
class SolidProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :nil_reason, :string
|
11
|
+
attribute :remote_schema, :string
|
12
|
+
attribute :owns, :boolean, default: -> { false }
|
14
13
|
attribute :abstract_solid, AbstractSolid
|
15
14
|
|
16
15
|
xml do
|
data/lib/ogc/gml/sphere.rb
CHANGED
data/lib/ogc/gml/spherical_cs.rb
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
require_relative "abstract_coordinate_system"
|
6
5
|
|
7
6
|
module Ogc
|
8
7
|
module Gml
|
9
|
-
class SphericalCS <
|
8
|
+
class SphericalCS < Lutaml::Model::Serializable
|
10
9
|
xml do
|
11
10
|
root "SphericalCS"
|
12
11
|
namespace "http://www.opengis.net/gml/3.2", "gml"
|
@@ -1,15 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "spherical_cs"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class SphericalCSProperty <
|
11
|
-
attribute :nil_reason,
|
12
|
-
attribute :remote_schema,
|
9
|
+
class SphericalCSProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :nil_reason, :string
|
11
|
+
attribute :remote_schema, :string
|
13
12
|
attribute :spherical_cs, SphericalCS
|
14
13
|
|
15
14
|
xml do
|
@@ -1,14 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
module Ogc
|
7
6
|
module Gml
|
8
|
-
class StringOrRef <
|
9
|
-
attribute :content,
|
10
|
-
attribute :nil_reason,
|
11
|
-
attribute :remote_schema,
|
7
|
+
class StringOrRef < Lutaml::Model::Serializable
|
8
|
+
attribute :content, :string
|
9
|
+
attribute :nil_reason, :string
|
10
|
+
attribute :remote_schema, :string
|
12
11
|
|
13
12
|
xml do
|
14
13
|
root "status"
|
data/lib/ogc/gml/surface.rb
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "abstract_surface"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class SurfaceArrayProperty <
|
11
|
-
attribute :owns,
|
9
|
+
class SurfaceArrayProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :owns, :boolean, default: -> { false }
|
12
11
|
attribute :abstract_surface, AbstractSurface, collection: true
|
13
12
|
|
14
13
|
xml do
|
@@ -1,14 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "abstract_surface_patch"
|
7
6
|
require_relative "triangle"
|
8
7
|
|
9
8
|
module Ogc
|
10
9
|
module Gml
|
11
|
-
class SurfacePatchArrayProperty <
|
10
|
+
class SurfacePatchArrayProperty < Lutaml::Model::Serializable
|
12
11
|
attribute :abstract_surface_patch, AbstractSurfacePatch, collection: true
|
13
12
|
attribute :polygon_patch, PolygonPatch, collection: true
|
14
13
|
attribute :rectangle, Rectangle, collection: true
|
@@ -1,17 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "abstract_surface"
|
7
6
|
require_relative "polygon"
|
8
7
|
|
9
8
|
module Ogc
|
10
9
|
module Gml
|
11
|
-
class SurfaceProperty <
|
12
|
-
attribute :nil_reason,
|
13
|
-
attribute :remote_schema,
|
14
|
-
attribute :owns,
|
10
|
+
class SurfaceProperty < Lutaml::Model::Serializable
|
11
|
+
attribute :nil_reason, :string
|
12
|
+
attribute :remote_schema, :string
|
13
|
+
attribute :owns, :boolean # , default: -> { "false" }
|
15
14
|
attribute :abstract_surface, AbstractSurface
|
16
15
|
attribute :polygon, Polygon
|
17
16
|
|
@@ -1,17 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "abstract_feature"
|
7
6
|
require_relative "abstract_geometry"
|
8
7
|
|
9
8
|
module Ogc
|
10
9
|
module Gml
|
11
|
-
class TargetProperty <
|
12
|
-
attribute :owns,
|
13
|
-
attribute :nil_reason,
|
14
|
-
attribute :remote_schema,
|
10
|
+
class TargetProperty < Lutaml::Model::Serializable
|
11
|
+
attribute :owns, :boolean, default: -> { false }
|
12
|
+
attribute :nil_reason, :string
|
13
|
+
attribute :remote_schema, :string
|
15
14
|
attribute :abstract_feature, AbstractFeature
|
16
15
|
attribute :abstract_geometry, AbstractGeometry
|
17
16
|
|
data/lib/ogc/gml/temporal_crs.rb
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "temporal_crs"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class TemporalCRSProperty <
|
11
|
-
attribute :nil_reason,
|
12
|
-
attribute :remote_schema,
|
9
|
+
class TemporalCRSProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :nil_reason, :string
|
11
|
+
attribute :remote_schema, :string
|
13
12
|
attribute :temporal_crs, TemporalCRS
|
14
13
|
|
15
14
|
xml do
|
data/lib/ogc/gml/temporal_cs.rb
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "temporal_cs"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class TemporalCSProperty <
|
11
|
-
attribute :nil_reason,
|
12
|
-
attribute :remote_schema,
|
9
|
+
class TemporalCSProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :nil_reason, :string
|
11
|
+
attribute :remote_schema, :string
|
13
12
|
attribute :temporal_cs, TemporalCS
|
14
13
|
|
15
14
|
xml do
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "code"
|
7
6
|
require_relative "code_with_authority"
|
@@ -13,9 +12,9 @@ require_relative "abstract_topology"
|
|
13
12
|
module Ogc
|
14
13
|
module Gml
|
15
14
|
class TemporalDatum < AbstractTopology
|
16
|
-
attribute :remarks,
|
17
|
-
attribute :domain_of_validity,
|
18
|
-
attribute :scope,
|
15
|
+
attribute :remarks, :string
|
16
|
+
attribute :domain_of_validity, :string
|
17
|
+
attribute :scope, :string, collection: true
|
19
18
|
attribute :origin, TimeInstantProperty
|
20
19
|
|
21
20
|
xml do
|
@@ -1,15 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "temporal_datum"
|
7
6
|
|
8
7
|
module Ogc
|
9
8
|
module Gml
|
10
|
-
class TemporalDatumProperty <
|
11
|
-
attribute :nil_reason,
|
12
|
-
attribute :remote_schema,
|
9
|
+
class TemporalDatumProperty < Lutaml::Model::Serializable
|
10
|
+
attribute :nil_reason, :string
|
11
|
+
attribute :remote_schema, :string
|
13
12
|
attribute :temporal_datum, TemporalDatum
|
14
13
|
|
15
14
|
xml do
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require "shale"
|
3
|
+
require "lutaml/model"
|
5
4
|
|
6
5
|
require_relative "code"
|
7
6
|
require_relative "code_with_authority"
|
@@ -13,8 +12,8 @@ require_relative "abstract_topology"
|
|
13
12
|
module Ogc
|
14
13
|
module Gml
|
15
14
|
class TimeCalendar < AbstractTopology
|
16
|
-
attribute :remarks,
|
17
|
-
attribute :domain_of_validity,
|
15
|
+
attribute :remarks, :string
|
16
|
+
attribute :domain_of_validity, :string
|
18
17
|
attribute :reference_frame, TimeCalendarEraProperty, collection: true
|
19
18
|
|
20
19
|
xml do
|