ogc-gml 1.0.4 → 1.1.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/Gemfile +2 -3
- data/README.adoc +1 -0
- data/lib/ogc/gml/abstract_continuous_coverage.rb +3 -3
- data/lib/ogc/gml/abstract_coordinate_operation.rb +7 -5
- data/lib/ogc/gml/abstract_coordinate_system.rb +5 -4
- data/lib/ogc/gml/abstract_coverage.rb +3 -3
- data/lib/ogc/gml/abstract_crs.rb +3 -3
- data/lib/ogc/gml/abstract_curve.rb +3 -3
- data/lib/ogc/gml/abstract_curve_segment.rb +2 -2
- data/lib/ogc/gml/abstract_datum.rb +3 -3
- data/lib/ogc/gml/abstract_feature.rb +3 -3
- data/lib/ogc/gml/abstract_feature_collection.rb +3 -3
- data/lib/ogc/gml/abstract_general_conversion.rb +7 -5
- data/lib/ogc/gml/abstract_general_derived_crs.rb +3 -3
- data/lib/ogc/gml/abstract_general_operation_parameter.rb +3 -3
- data/lib/ogc/gml/abstract_general_operation_parameter_property.rb +14 -6
- data/lib/ogc/gml/abstract_general_parameter_value.rb +2 -2
- data/lib/ogc/gml/abstract_general_parameter_value_property.rb +4 -3
- data/lib/ogc/gml/abstract_general_transformation.rb +5 -4
- data/lib/ogc/gml/abstract_geometric_aggregate.rb +3 -3
- data/lib/ogc/gml/abstract_geometric_primitive.rb +5 -4
- data/lib/ogc/gml/abstract_geometry.rb +3 -3
- data/lib/ogc/gml/abstract_gml.rb +3 -3
- data/lib/ogc/gml/abstract_gridded_surface.rb +2 -2
- data/lib/ogc/gml/abstract_meta_data.rb +5 -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 -2
- data/lib/ogc/gml/abstract_solid.rb +3 -3
- data/lib/ogc/gml/abstract_surface.rb +3 -3
- data/lib/ogc/gml/abstract_surface_patch.rb +2 -2
- data/lib/ogc/gml/abstract_time_complex.rb +3 -3
- data/lib/ogc/gml/abstract_time_geometric_primitive.rb +5 -4
- data/lib/ogc/gml/abstract_time_object.rb +3 -3
- data/lib/ogc/gml/abstract_time_primitive.rb +3 -3
- data/lib/ogc/gml/abstract_time_slice.rb +3 -3
- data/lib/ogc/gml/abstract_time_topology_primitive.rb +3 -3
- data/lib/ogc/gml/abstract_topo_primitive.rb +3 -3
- data/lib/ogc/gml/abstract_topology.rb +5 -4
- data/lib/ogc/gml/affine_cs.rb +3 -3
- data/lib/ogc/gml/affine_cs_property.rb +4 -4
- data/lib/ogc/gml/affine_placement.rb +2 -2
- data/lib/ogc/gml/angle.rb +2 -2
- data/lib/ogc/gml/arc.rb +2 -2
- data/lib/ogc/gml/arc_by_bulge.rb +2 -2
- data/lib/ogc/gml/arc_by_center_point.rb +2 -2
- data/lib/ogc/gml/arc_string.rb +2 -2
- data/lib/ogc/gml/arc_string_by_bulge.rb +2 -2
- data/lib/ogc/gml/array.rb +3 -3
- 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 -2
- data/lib/ogc/gml/bag.rb +3 -3
- data/lib/ogc/gml/base_unit.rb +3 -3
- data/lib/ogc/gml/bezier.rb +2 -2
- data/lib/ogc/gml/boolean.rb +2 -2
- data/lib/ogc/gml/bounding_shape.rb +2 -2
- data/lib/ogc/gml/cartesian_cs.rb +3 -3
- data/lib/ogc/gml/cartesian_cs_property.rb +4 -4
- data/lib/ogc/gml/category.rb +2 -2
- data/lib/ogc/gml/category_extent.rb +2 -2
- data/lib/ogc/gml/circle.rb +2 -2
- data/lib/ogc/gml/circle_by_center_point.rb +2 -2
- data/lib/ogc/gml/clothoid.rb +2 -2
- 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 -2
- data/lib/ogc/gml/composite_curve.rb +3 -3
- data/lib/ogc/gml/composite_solid.rb +3 -3
- data/lib/ogc/gml/composite_surface.rb +3 -3
- data/lib/ogc/gml/composite_value.rb +5 -4
- data/lib/ogc/gml/compound_crs.rb +3 -3
- data/lib/ogc/gml/compound_crs_property.rb +4 -4
- data/lib/ogc/gml/concatenated_operation.rb +7 -5
- data/lib/ogc/gml/concatenated_operation_property.rb +4 -4
- data/lib/ogc/gml/cone.rb +2 -2
- data/lib/ogc/gml/control_point.rb +2 -2
- data/lib/ogc/gml/conventional_unit.rb +7 -5
- data/lib/ogc/gml/conversion.rb +9 -7
- data/lib/ogc/gml/conversion_property.rb +4 -4
- data/lib/ogc/gml/conversion_to_preferred_unit.rb +2 -2
- data/lib/ogc/gml/coordinate_operation_accuracy.rb +4 -4
- data/lib/ogc/gml/coordinate_operation_property.rb +6 -5
- data/lib/ogc/gml/coordinate_system_axis.rb +5 -4
- data/lib/ogc/gml/coordinate_system_axis_property.rb +4 -4
- data/lib/ogc/gml/coordinate_system_property.rb +4 -4
- data/lib/ogc/gml/coordinates.rb +2 -2
- data/lib/ogc/gml/count.rb +2 -2
- data/lib/ogc/gml/coverage_function.rb +2 -2
- data/lib/ogc/gml/crs_property.rb +4 -4
- data/lib/ogc/gml/cubic_spline.rb +2 -2
- data/lib/ogc/gml/curve.rb +3 -3
- data/lib/ogc/gml/curve_array_property.rb +2 -2
- data/lib/ogc/gml/curve_property.rb +7 -7
- data/lib/ogc/gml/curve_segment_array_property.rb +3 -2
- data/lib/ogc/gml/cylinder.rb +2 -2
- data/lib/ogc/gml/cylindrical_cs.rb +3 -3
- data/lib/ogc/gml/cylindrical_cs_property.rb +4 -4
- data/lib/ogc/gml/data_block.rb +4 -3
- data/lib/ogc/gml/datum_property.rb +4 -4
- data/lib/ogc/gml/definition.rb +3 -3
- data/lib/ogc/gml/definition_proxy.rb +3 -3
- 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 -3
- data/lib/ogc/gml/derived_crs_property.rb +4 -4
- data/lib/ogc/gml/derived_unit.rb +3 -3
- data/lib/ogc/gml/dictionary.rb +23 -13
- data/lib/ogc/gml/dictionary_entry.rb +10 -9
- 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 -4
- data/lib/ogc/gml/directed_face_property.rb +4 -4
- data/lib/ogc/gml/directed_node_property.rb +4 -4
- data/lib/ogc/gml/directed_observation.rb +3 -3
- data/lib/ogc/gml/directed_observation_at_distance.rb +3 -3
- data/lib/ogc/gml/directed_topo_solid_property.rb +4 -4
- data/lib/ogc/gml/direction_description.rb +2 -2
- data/lib/ogc/gml/direction_property.rb +4 -4
- data/lib/ogc/gml/direction_vector.rb +2 -2
- data/lib/ogc/gml/discrete_coverage.rb +3 -3
- data/lib/ogc/gml/dms_angle.rb +2 -2
- data/lib/ogc/gml/domain_of_validity.rb +4 -4
- data/lib/ogc/gml/domain_set.rb +4 -4
- data/lib/ogc/gml/dynamic_feature.rb +3 -3
- data/lib/ogc/gml/dynamic_feature_collection.rb +3 -3
- data/lib/ogc/gml/dynamic_feature_member.rb +4 -4
- data/lib/ogc/gml/edge.rb +5 -4
- data/lib/ogc/gml/ellipsoid.rb +3 -3
- data/lib/ogc/gml/ellipsoid_property.rb +4 -4
- data/lib/ogc/gml/ellipsoidal_cs.rb +3 -3
- data/lib/ogc/gml/ellipsoidal_cs_property.rb +4 -4
- data/lib/ogc/gml/engineering_crs.rb +3 -3
- data/lib/ogc/gml/engineering_crs_property.rb +4 -4
- data/lib/ogc/gml/engineering_datum.rb +3 -3
- data/lib/ogc/gml/engineering_datum_property.rb +4 -4
- data/lib/ogc/gml/envelope.rb +2 -2
- data/lib/ogc/gml/envelope_with_time_period.rb +2 -2
- data/lib/ogc/gml/face.rb +7 -5
- data/lib/ogc/gml/face_or_topo_solid_property.rb +4 -4
- data/lib/ogc/gml/feature_array_property.rb +2 -2
- data/lib/ogc/gml/feature_collection.rb +3 -3
- data/lib/ogc/gml/feature_property.rb +4 -4
- data/lib/ogc/gml/file.rb +2 -2
- data/lib/ogc/gml/formula.rb +2 -2
- data/lib/ogc/gml/formula_citation.rb +4 -4
- data/lib/ogc/gml/general_conversion_property.rb +6 -5
- data/lib/ogc/gml/general_transformation_property.rb +6 -5
- data/lib/ogc/gml/generic_meta_data.rb +5 -4
- data/lib/ogc/gml/geocentric_crs.rb +3 -3
- data/lib/ogc/gml/geocentric_crs_property.rb +4 -4
- data/lib/ogc/gml/geodesic.rb +2 -2
- data/lib/ogc/gml/geodesic_string.rb +2 -2
- data/lib/ogc/gml/geodetic_crs.rb +3 -3
- data/lib/ogc/gml/geodetic_crs_property.rb +4 -4
- data/lib/ogc/gml/geodetic_datum.rb +3 -3
- data/lib/ogc/gml/geodetic_datum_property.rb +4 -4
- data/lib/ogc/gml/geographic_crs.rb +3 -3
- data/lib/ogc/gml/geographic_crs_property.rb +4 -4
- data/lib/ogc/gml/geometric_complex.rb +3 -3
- data/lib/ogc/gml/geometric_primitive_property.rb +6 -5
- data/lib/ogc/gml/geometry_array_property.rb +2 -2
- data/lib/ogc/gml/geometry_property.rb +4 -4
- data/lib/ogc/gml/grid.rb +5 -4
- data/lib/ogc/gml/grid_envelope.rb +2 -2
- data/lib/ogc/gml/grid_function.rb +2 -2
- data/lib/ogc/gml/grid_limits.rb +2 -2
- data/lib/ogc/gml/history_property.rb +2 -2
- data/lib/ogc/gml/identifier.rb +13 -0
- data/lib/ogc/gml/image_crs.rb +3 -3
- data/lib/ogc/gml/image_crs_property.rb +4 -4
- data/lib/ogc/gml/image_datum.rb +3 -3
- data/lib/ogc/gml/image_datum_property.rb +4 -4
- data/lib/ogc/gml/indirect_entry.rb +2 -2
- 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 -2
- data/lib/ogc/gml/length.rb +2 -2
- data/lib/ogc/gml/line_string.rb +3 -3
- data/lib/ogc/gml/line_string_segment.rb +2 -2
- data/lib/ogc/gml/line_string_segment_array_property.rb +2 -2
- data/lib/ogc/gml/linear_cs.rb +3 -3
- data/lib/ogc/gml/linear_cs_property.rb +4 -4
- data/lib/ogc/gml/linear_ring.rb +2 -2
- data/lib/ogc/gml/location_property.rb +4 -4
- data/lib/ogc/gml/mapping_rule.rb +2 -2
- 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 -4
- data/lib/ogc/gml/moving_object_status.rb +3 -3
- data/lib/ogc/gml/multi_curve.rb +3 -3
- data/lib/ogc/gml/multi_curve_property.rb +4 -4
- data/lib/ogc/gml/multi_geometry.rb +3 -3
- data/lib/ogc/gml/multi_geometry_property.rb +6 -5
- data/lib/ogc/gml/multi_point.rb +3 -3
- data/lib/ogc/gml/multi_point_property.rb +4 -4
- data/lib/ogc/gml/multi_solid.rb +3 -3
- data/lib/ogc/gml/multi_solid_property.rb +4 -4
- data/lib/ogc/gml/multi_surface.rb +3 -3
- data/lib/ogc/gml/multi_surface_property.rb +4 -4
- data/lib/ogc/gml/namespace.rb +11 -0
- data/lib/ogc/gml/namespace_registry.rb +56 -0
- data/lib/ogc/gml/namespaces/gml_31_namespace.rb +15 -0
- data/lib/ogc/gml/namespaces/gml_32_namespace.rb +15 -0
- data/lib/ogc/gml/node.rb +5 -4
- data/lib/ogc/gml/node_or_edge_property.rb +4 -4
- data/lib/ogc/gml/node_property.rb +4 -4
- data/lib/ogc/gml/oblique_cartesian_cs.rb +3 -3
- data/lib/ogc/gml/oblique_cartesian_cs_property.rb +4 -4
- data/lib/ogc/gml/observation.rb +3 -3
- data/lib/ogc/gml/offset_curve.rb +2 -2
- data/lib/ogc/gml/operation_method.rb +5 -4
- data/lib/ogc/gml/operation_method_property.rb +4 -4
- data/lib/ogc/gml/operation_parameter.rb +3 -3
- data/lib/ogc/gml/operation_parameter_group.rb +5 -4
- data/lib/ogc/gml/operation_parameter_group_property.rb +4 -4
- data/lib/ogc/gml/operation_parameter_property.rb +4 -4
- data/lib/ogc/gml/operation_property.rb +4 -4
- data/lib/ogc/gml/orientable_curve.rb +5 -4
- data/lib/ogc/gml/orientable_surface.rb +5 -4
- data/lib/ogc/gml/parameter_value.rb +2 -2
- data/lib/ogc/gml/parameter_value_group.rb +4 -3
- data/lib/ogc/gml/pass_through_operation.rb +5 -4
- data/lib/ogc/gml/pass_through_operation_property.rb +4 -4
- data/lib/ogc/gml/point.rb +3 -3
- data/lib/ogc/gml/point_array_property.rb +2 -2
- data/lib/ogc/gml/point_property.rb +4 -4
- data/lib/ogc/gml/polar_cs.rb +3 -3
- data/lib/ogc/gml/polar_cs_property.rb +4 -4
- data/lib/ogc/gml/polygon.rb +3 -3
- data/lib/ogc/gml/polygon_patch.rb +2 -2
- data/lib/ogc/gml/prime_meridian.rb +3 -3
- data/lib/ogc/gml/prime_meridian_property.rb +4 -4
- data/lib/ogc/gml/priority_location_property.rb +4 -4
- data/lib/ogc/gml/procedure_property.rb +4 -4
- data/lib/ogc/gml/projected_crs.rb +3 -3
- data/lib/ogc/gml/projected_crs_property.rb +4 -4
- data/lib/ogc/gml/quantity.rb +2 -2
- data/lib/ogc/gml/quantity_extent.rb +2 -2
- data/lib/ogc/gml/range_set.rb +2 -2
- data/lib/ogc/gml/rectangle.rb +2 -2
- data/lib/ogc/gml/rectified_grid.rb +5 -4
- data/lib/ogc/gml/ref_location.rb +2 -2
- data/lib/ogc/gml/reference.rb +10 -4
- data/lib/ogc/gml/related_time.rb +4 -4
- data/lib/ogc/gml/result.rb +4 -4
- data/lib/ogc/gml/ring.rb +2 -2
- data/lib/ogc/gml/second_defining_parameter1.rb +2 -2
- data/lib/ogc/gml/second_defining_parameter2.rb +2 -2
- data/lib/ogc/gml/sequence_rule.rb +2 -2
- data/lib/ogc/gml/shell.rb +2 -2
- data/lib/ogc/gml/shell_property.rb +2 -2
- data/lib/ogc/gml/single_crs_property.rb +4 -4
- data/lib/ogc/gml/single_operation_property.rb +4 -4
- data/lib/ogc/gml/solid.rb +3 -3
- data/lib/ogc/gml/solid_array_property.rb +2 -2
- data/lib/ogc/gml/solid_property.rb +4 -4
- data/lib/ogc/gml/sphere.rb +2 -2
- data/lib/ogc/gml/spherical_cs.rb +3 -3
- data/lib/ogc/gml/spherical_cs_property.rb +4 -4
- data/lib/ogc/gml/string_or_ref.rb +4 -4
- data/lib/ogc/gml/surface.rb +4 -3
- data/lib/ogc/gml/surface_array_property.rb +2 -2
- data/lib/ogc/gml/surface_patch_array_property.rb +2 -2
- data/lib/ogc/gml/surface_property.rb +4 -4
- data/lib/ogc/gml/target_property.rb +4 -4
- data/lib/ogc/gml/temporal_crs.rb +3 -3
- data/lib/ogc/gml/temporal_crs_property.rb +4 -4
- data/lib/ogc/gml/temporal_cs.rb +3 -3
- data/lib/ogc/gml/temporal_cs_property.rb +4 -4
- data/lib/ogc/gml/temporal_datum.rb +3 -3
- data/lib/ogc/gml/temporal_datum_property.rb +4 -4
- data/lib/ogc/gml/time_calendar.rb +3 -3
- data/lib/ogc/gml/time_calendar_era.rb +3 -3
- data/lib/ogc/gml/time_calendar_era_property.rb +4 -4
- data/lib/ogc/gml/time_calendar_property.rb +4 -4
- data/lib/ogc/gml/time_clock.rb +3 -3
- data/lib/ogc/gml/time_coordinate_system.rb +3 -3
- data/lib/ogc/gml/time_cs.rb +3 -3
- data/lib/ogc/gml/time_cs_property.rb +4 -4
- data/lib/ogc/gml/time_edge.rb +3 -3
- data/lib/ogc/gml/time_edge_property.rb +4 -4
- data/lib/ogc/gml/time_instant.rb +3 -3
- data/lib/ogc/gml/time_instant_property.rb +4 -4
- data/lib/ogc/gml/time_interval_length.rb +2 -2
- data/lib/ogc/gml/time_node.rb +3 -3
- data/lib/ogc/gml/time_node_property.rb +4 -4
- data/lib/ogc/gml/time_ordinal_era.rb +3 -3
- data/lib/ogc/gml/time_ordinal_era_property.rb +4 -4
- data/lib/ogc/gml/time_ordinal_reference_system.rb +3 -3
- data/lib/ogc/gml/time_period.rb +3 -3
- data/lib/ogc/gml/time_period_property.rb +4 -4
- data/lib/ogc/gml/time_position.rb +2 -2
- data/lib/ogc/gml/time_primitive_property.rb +4 -4
- data/lib/ogc/gml/time_reference_system.rb +3 -3
- data/lib/ogc/gml/time_topology_complex.rb +3 -3
- data/lib/ogc/gml/time_topology_primitive_property.rb +6 -5
- data/lib/ogc/gml/tin.rb +3 -3
- data/lib/ogc/gml/topo_complex.rb +5 -4
- data/lib/ogc/gml/topo_complex_property.rb +4 -4
- data/lib/ogc/gml/topo_curve.rb +5 -4
- data/lib/ogc/gml/topo_curve_property.rb +2 -2
- data/lib/ogc/gml/topo_point.rb +3 -3
- data/lib/ogc/gml/topo_point_property.rb +2 -2
- data/lib/ogc/gml/topo_primitive_array_association.rb +4 -3
- data/lib/ogc/gml/topo_primitive_member.rb +4 -4
- data/lib/ogc/gml/topo_solid.rb +5 -4
- data/lib/ogc/gml/topo_solid_property.rb +4 -4
- data/lib/ogc/gml/topo_surface.rb +5 -4
- data/lib/ogc/gml/topo_surface_property.rb +2 -2
- data/lib/ogc/gml/topo_volume.rb +7 -5
- data/lib/ogc/gml/topo_volume_property.rb +2 -2
- data/lib/ogc/gml/transformation.rb +9 -7
- data/lib/ogc/gml/transformation_property.rb +4 -4
- data/lib/ogc/gml/triangle.rb +2 -2
- data/lib/ogc/gml/unit_definition.rb +3 -3
- data/lib/ogc/gml/unit_of_measure.rb +2 -2
- data/lib/ogc/gml/user_defined_cs.rb +3 -3
- data/lib/ogc/gml/user_defined_cs_property.rb +4 -4
- data/lib/ogc/gml/value_array.rb +5 -4
- data/lib/ogc/gml/value_array_property.rb +2 -2
- data/lib/ogc/gml/value_property.rb +4 -4
- data/lib/ogc/gml/vector.rb +2 -2
- data/lib/ogc/gml/version.rb +1 -1
- data/lib/ogc/gml/versioned_model.rb +78 -0
- data/lib/ogc/gml/vertical_crs.rb +3 -3
- data/lib/ogc/gml/vertical_crs_property.rb +4 -4
- data/lib/ogc/gml/vertical_cs.rb +3 -3
- data/lib/ogc/gml/vertical_cs_property.rb +4 -4
- data/lib/ogc/gml/vertical_datum.rb +3 -3
- data/lib/ogc/gml/vertical_datum_property.rb +4 -4
- data/lib/ogc/gml.rb +3 -2
- data/ogc-gml.gemspec +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85394869fbff7b7cac85c5d8ca435c1876b34dde2edb5936e1c05d88dc4fa36e
|
|
4
|
+
data.tar.gz: 85a6bed6c6f6c0e9c78ab57b616eac56a4ea7fe5aba9fed0464da454041b2263
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 893f2fcf43800b1049274ce83f2a73804768c82ccba372e831a940a1a592c3eb3033696af4b4ed1b0143587c00db7e68b0004df26ac42eac9e1f483e685b17a3
|
|
7
|
+
data.tar.gz: 3e32002b943e8c4c09876f0ee94c9328670fca33385a5c5efcf3de5af4ff1a8c01e326fb9d2c449349f95f9ff32797c9b79000b01286ac55f46c4a0b30421b52
|
data/.rubocop.yml
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
inherit_from:
|
|
1
|
+
inherit_from:
|
|
2
|
+
- https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml
|
|
3
|
+
- .rubocop_todo.yml
|
|
2
4
|
|
|
3
5
|
plugins:
|
|
4
6
|
- rubocop-performance
|
|
@@ -10,11 +12,3 @@ AllCops:
|
|
|
10
12
|
NewCops: enable
|
|
11
13
|
Exclude:
|
|
12
14
|
- 'vendor/**/*'
|
|
13
|
-
- 'Gemfile'
|
|
14
|
-
|
|
15
|
-
Style/StringLiterals:
|
|
16
|
-
EnforcedStyle: double_quotes
|
|
17
|
-
|
|
18
|
-
Style/StringLiteralsInInterpolation:
|
|
19
|
-
EnforcedStyle: double_quotes
|
|
20
|
-
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,29 +1,100 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on
|
|
3
|
+
# on 2026-03-21 03:02:47 UTC using RuboCop version 1.85.1.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
|
8
8
|
|
|
9
9
|
# Offense count: 1
|
|
10
|
-
# Configuration parameters: Severity, Include.
|
|
11
|
-
# Include: **/*.gemspec
|
|
12
10
|
Gemspec/RequiredRubyVersion:
|
|
13
11
|
Exclude:
|
|
14
12
|
- 'ogc-gml.gemspec'
|
|
15
13
|
|
|
14
|
+
# Offense count: 1
|
|
15
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
16
|
+
Layout/EmptyLineAfterGuardClause:
|
|
17
|
+
Exclude:
|
|
18
|
+
- 'profile_canon_detailed.rb'
|
|
19
|
+
|
|
20
|
+
# Offense count: 33
|
|
21
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
22
|
+
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
|
|
23
|
+
# URISchemes: http, https
|
|
24
|
+
Layout/LineLength:
|
|
25
|
+
Exclude:
|
|
26
|
+
- 'profile_canon.rb'
|
|
27
|
+
- 'profile_canon_detailed.rb'
|
|
28
|
+
- 'spec/ogc/gml/composite_curve_spec.rb'
|
|
29
|
+
- 'spec/ogc/gml/curve_spec.rb'
|
|
30
|
+
- 'spec/ogc/gml/dictionary_spec.rb'
|
|
31
|
+
- 'spec/ogc/gml/envelope_spec.rb'
|
|
32
|
+
- 'spec/ogc/gml/line_string_spec.rb'
|
|
33
|
+
- 'spec/ogc/gml/multi_curve_spec.rb'
|
|
34
|
+
- 'spec/ogc/gml/multi_point_spec.rb'
|
|
35
|
+
- 'spec/ogc/gml/multi_surface_spec.rb'
|
|
36
|
+
- 'spec/ogc/gml/point_spec.rb'
|
|
37
|
+
- 'spec/ogc/gml/polygon_spec.rb'
|
|
38
|
+
- 'spec/ogc/gml/surface_spec.rb'
|
|
39
|
+
|
|
40
|
+
# Offense count: 20
|
|
41
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
42
|
+
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
|
|
43
|
+
# SupportedStylesForExponentOperator: space, no_space
|
|
44
|
+
# SupportedStylesForRationalLiterals: space, no_space
|
|
45
|
+
Layout/SpaceAroundOperators:
|
|
46
|
+
Exclude:
|
|
47
|
+
- 'profile_canon.rb'
|
|
48
|
+
- 'profile_canon_detailed.rb'
|
|
49
|
+
|
|
16
50
|
# Offense count: 12
|
|
17
51
|
# Configuration parameters: CountAsOne.
|
|
18
52
|
RSpec/ExampleLength:
|
|
19
|
-
Max:
|
|
53
|
+
Max: 11
|
|
20
54
|
|
|
21
55
|
# Offense count: 2
|
|
22
56
|
RSpec/RepeatedDescription:
|
|
23
57
|
Exclude:
|
|
24
58
|
- 'spec/ogc/gml/polygon_spec.rb'
|
|
25
59
|
|
|
26
|
-
# Offense count:
|
|
27
|
-
#
|
|
28
|
-
|
|
29
|
-
|
|
60
|
+
# Offense count: 2
|
|
61
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
62
|
+
# Configuration parameters: AllowOnlyRestArgument, UseAnonymousForwarding, RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, RedundantBlockArgumentNames.
|
|
63
|
+
# RedundantRestArgumentNames: args, arguments
|
|
64
|
+
# RedundantKeywordRestArgumentNames: kwargs, options, opts
|
|
65
|
+
# RedundantBlockArgumentNames: blk, block, proc
|
|
66
|
+
Style/ArgumentsForwarding:
|
|
67
|
+
Exclude:
|
|
68
|
+
- 'lib/ogc/gml/versioned_model.rb'
|
|
69
|
+
|
|
70
|
+
# Offense count: 2
|
|
71
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
72
|
+
Style/RedundantParentheses:
|
|
73
|
+
Exclude:
|
|
74
|
+
- 'profile_canon.rb'
|
|
75
|
+
|
|
76
|
+
# Offense count: 17
|
|
77
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
78
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
79
|
+
# SupportedStyles: single_quotes, double_quotes
|
|
80
|
+
Style/StringLiterals:
|
|
81
|
+
Exclude:
|
|
82
|
+
- 'profile_canon.rb'
|
|
83
|
+
- 'profile_canon_detailed.rb'
|
|
84
|
+
|
|
85
|
+
# Offense count: 5
|
|
86
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
87
|
+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
|
88
|
+
# AllowedMethods: define_method
|
|
89
|
+
Style/SymbolProc:
|
|
90
|
+
Exclude:
|
|
91
|
+
- 'profile_canon.rb'
|
|
92
|
+
- 'profile_canon_detailed.rb'
|
|
93
|
+
|
|
94
|
+
# Offense count: 1
|
|
95
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
96
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
|
97
|
+
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
98
|
+
Style/TrailingCommaInHashLiteral:
|
|
99
|
+
Exclude:
|
|
100
|
+
- 'spec/spec_helper.rb'
|
data/Gemfile
CHANGED
|
@@ -5,12 +5,11 @@ source "https://rubygems.org"
|
|
|
5
5
|
# Specify your gem's dependencies in ogc-gml.gemspec
|
|
6
6
|
gemspec
|
|
7
7
|
|
|
8
|
-
gem "
|
|
9
|
-
gem "
|
|
8
|
+
gem "canon"
|
|
9
|
+
gem "lutaml-model", github: "lutaml/lutaml-model", branch: "main"
|
|
10
10
|
gem "rake"
|
|
11
11
|
gem "rspec"
|
|
12
12
|
gem "rubocop"
|
|
13
13
|
gem "rubocop-performance"
|
|
14
14
|
gem "rubocop-rake"
|
|
15
15
|
gem "rubocop-rspec"
|
|
16
|
-
gem "xml-c14n"
|
data/README.adoc
CHANGED
|
@@ -14,10 +14,10 @@ module Ogc
|
|
|
14
14
|
attribute :coverage_function, CoverageFunction
|
|
15
15
|
|
|
16
16
|
xml do
|
|
17
|
-
|
|
18
|
-
namespace
|
|
17
|
+
element "AbstractContinuousCoverage"
|
|
18
|
+
namespace Namespace
|
|
19
19
|
|
|
20
|
-
map_attribute "id", to: :id,
|
|
20
|
+
map_attribute "id", to: :id, form: :qualified
|
|
21
21
|
map_element "metaDataProperty", to: :meta_data_property
|
|
22
22
|
map_element "description", to: :description
|
|
23
23
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -13,15 +13,16 @@ module Ogc
|
|
|
13
13
|
attribute :domain_of_validity, :string
|
|
14
14
|
attribute :scope, :string, collection: true
|
|
15
15
|
attribute :operation_version, :string
|
|
16
|
-
attribute :coordinate_operation_accuracy, CoordinateOperationAccuracy,
|
|
16
|
+
attribute :coordinate_operation_accuracy, CoordinateOperationAccuracy,
|
|
17
|
+
collection: true
|
|
17
18
|
attribute :source_crs, CRSProperty
|
|
18
19
|
attribute :target_crs, CRSProperty
|
|
19
20
|
|
|
20
21
|
xml do
|
|
21
|
-
|
|
22
|
-
namespace
|
|
22
|
+
element "AbstractOperation"
|
|
23
|
+
namespace Namespace
|
|
23
24
|
|
|
24
|
-
map_attribute "id", to: :id,
|
|
25
|
+
map_attribute "id", to: :id, form: :qualified
|
|
25
26
|
map_element "metaDataProperty", to: :meta_data_property
|
|
26
27
|
map_element "description", to: :description
|
|
27
28
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -31,7 +32,8 @@ module Ogc
|
|
|
31
32
|
map_element "domainOfValidity", to: :domain_of_validity
|
|
32
33
|
map_element "scope", to: :scope
|
|
33
34
|
map_element "operationVersion", to: :operation_version
|
|
34
|
-
map_element "coordinateOperationAccuracy",
|
|
35
|
+
map_element "coordinateOperationAccuracy",
|
|
36
|
+
to: :coordinate_operation_accuracy
|
|
35
37
|
map_element "sourceCRS", to: :source_crs
|
|
36
38
|
map_element "targetCRS", to: :target_crs
|
|
37
39
|
end
|
|
@@ -7,11 +7,12 @@ require_relative "code_with_authority"
|
|
|
7
7
|
require_relative "coordinate_system_axis_property"
|
|
8
8
|
require_relative "meta_data_property"
|
|
9
9
|
require_relative "reference"
|
|
10
|
+
require_relative "identifier"
|
|
10
11
|
|
|
11
12
|
module Ogc
|
|
12
13
|
module Gml
|
|
13
14
|
class AbstractCoordinateSystem < Lutaml::Model::Serializable
|
|
14
|
-
attribute :id,
|
|
15
|
+
attribute :id, Identifier
|
|
15
16
|
attribute :aggregation_type, :string
|
|
16
17
|
attribute :meta_data_property, MetaDataProperty, collection: true
|
|
17
18
|
attribute :description, :string
|
|
@@ -22,10 +23,10 @@ module Ogc
|
|
|
22
23
|
attribute :axis, CoordinateSystemAxisProperty, collection: true
|
|
23
24
|
|
|
24
25
|
xml do
|
|
25
|
-
|
|
26
|
-
namespace
|
|
26
|
+
element "AbstractCoordinateSystem"
|
|
27
|
+
namespace Namespace
|
|
27
28
|
|
|
28
|
-
map_attribute "id", to: :id,
|
|
29
|
+
map_attribute "id", to: :id, form: :qualified
|
|
29
30
|
map_attribute "aggregationType", to: :aggregation_type
|
|
30
31
|
map_element "metaDataProperty", to: :meta_data_property
|
|
31
32
|
map_element "description", to: :description
|
|
@@ -16,10 +16,10 @@ module Ogc
|
|
|
16
16
|
attribute :range_set, RangeSet
|
|
17
17
|
|
|
18
18
|
xml do
|
|
19
|
-
|
|
20
|
-
namespace
|
|
19
|
+
element "AbstractCoverage"
|
|
20
|
+
namespace Namespace
|
|
21
21
|
|
|
22
|
-
map_attribute "id", to: :id,
|
|
22
|
+
map_attribute "id", to: :id, form: :qualified
|
|
23
23
|
map_element "metaDataProperty", to: :meta_data_property
|
|
24
24
|
map_element "description", to: :description
|
|
25
25
|
map_element "descriptionReference", to: :description_reference
|
data/lib/ogc/gml/abstract_crs.rb
CHANGED
|
@@ -16,10 +16,10 @@ module Ogc
|
|
|
16
16
|
attribute :scope, :string, collection: true
|
|
17
17
|
|
|
18
18
|
xml do
|
|
19
|
-
|
|
20
|
-
namespace
|
|
19
|
+
element "AbstractSingleCRS"
|
|
20
|
+
namespace Namespace
|
|
21
21
|
|
|
22
|
-
map_attribute "id", to: :id,
|
|
22
|
+
map_attribute "id", to: :id, form: :qualified
|
|
23
23
|
map_element "metaDataProperty", to: :meta_data_property
|
|
24
24
|
map_element "description", to: :description
|
|
25
25
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -7,10 +7,10 @@ module Ogc
|
|
|
7
7
|
module Gml
|
|
8
8
|
class AbstractCurve < AbstractGeometricPrimitive
|
|
9
9
|
xml do
|
|
10
|
-
|
|
11
|
-
namespace
|
|
10
|
+
element "AbstractCurve"
|
|
11
|
+
namespace Namespace
|
|
12
12
|
|
|
13
|
-
map_attribute "id", to: :id,
|
|
13
|
+
map_attribute "id", to: :id, form: :qualified
|
|
14
14
|
map_attribute "srsName", to: :srs_name
|
|
15
15
|
map_attribute "srsDimension", to: :srs_dimension
|
|
16
16
|
map_attribute "axisLabels", to: :axis_labels
|
|
@@ -10,8 +10,8 @@ module Ogc
|
|
|
10
10
|
attribute :num_derivative_interior, :integer # , default: -> { "0" }
|
|
11
11
|
|
|
12
12
|
xml do
|
|
13
|
-
|
|
14
|
-
namespace
|
|
13
|
+
element "AbstractCurveSegment"
|
|
14
|
+
namespace Namespace
|
|
15
15
|
|
|
16
16
|
map_attribute "numDerivativesAtStart", to: :num_derivatives_at_start
|
|
17
17
|
map_attribute "numDerivativesAtEnd", to: :num_derivatives_at_end
|
|
@@ -18,10 +18,10 @@ module Ogc
|
|
|
18
18
|
attribute :realization_epoch, :date
|
|
19
19
|
|
|
20
20
|
xml do
|
|
21
|
-
|
|
22
|
-
namespace
|
|
21
|
+
element "AbstractDatum"
|
|
22
|
+
namespace Namespace
|
|
23
23
|
|
|
24
|
-
map_attribute "id", to: :id,
|
|
24
|
+
map_attribute "id", to: :id, form: :qualified
|
|
25
25
|
map_element "metaDataProperty", to: :meta_data_property
|
|
26
26
|
map_element "description", to: :description
|
|
27
27
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -17,10 +17,10 @@ module Ogc
|
|
|
17
17
|
attribute :location, LocationProperty
|
|
18
18
|
|
|
19
19
|
xml do
|
|
20
|
-
|
|
21
|
-
namespace
|
|
20
|
+
element "AbstractFeature"
|
|
21
|
+
namespace Namespace
|
|
22
22
|
|
|
23
|
-
map_attribute "id", to: :id,
|
|
23
|
+
map_attribute "id", to: :id, form: :qualified
|
|
24
24
|
map_element "metaDataProperty", to: :meta_data_property
|
|
25
25
|
map_element "description", to: :description
|
|
26
26
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -16,10 +16,10 @@ module Ogc
|
|
|
16
16
|
attribute :feature_members, FeatureArrayProperty
|
|
17
17
|
|
|
18
18
|
xml do
|
|
19
|
-
|
|
20
|
-
namespace
|
|
19
|
+
element "AbstractFeatureCollection"
|
|
20
|
+
namespace Namespace
|
|
21
21
|
|
|
22
|
-
map_attribute "id", to: :id,
|
|
22
|
+
map_attribute "id", to: :id, form: :qualified
|
|
23
23
|
map_element "metaDataProperty", to: :meta_data_property
|
|
24
24
|
map_element "description", to: :description
|
|
25
25
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -15,13 +15,14 @@ module Ogc
|
|
|
15
15
|
attribute :remarks, :string
|
|
16
16
|
attribute :domain_of_validity, :string
|
|
17
17
|
attribute :scope, :string, collection: true
|
|
18
|
-
attribute :coordinate_operation_accuracy, CoordinateOperationAccuracy,
|
|
18
|
+
attribute :coordinate_operation_accuracy, CoordinateOperationAccuracy,
|
|
19
|
+
collection: true
|
|
19
20
|
|
|
20
21
|
xml do
|
|
21
|
-
|
|
22
|
-
namespace
|
|
22
|
+
element "AbstractGeneralConversion"
|
|
23
|
+
namespace Namespace
|
|
23
24
|
|
|
24
|
-
map_attribute "id", to: :id,
|
|
25
|
+
map_attribute "id", to: :id, form: :qualified
|
|
25
26
|
map_element "metaDataProperty", to: :meta_data_property
|
|
26
27
|
map_element "description", to: :description
|
|
27
28
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -30,7 +31,8 @@ module Ogc
|
|
|
30
31
|
map_element "remarks", to: :remarks
|
|
31
32
|
map_element "domainOfValidity", to: :domain_of_validity
|
|
32
33
|
map_element "scope", to: :scope
|
|
33
|
-
map_element "coordinateOperationAccuracy",
|
|
34
|
+
map_element "coordinateOperationAccuracy",
|
|
35
|
+
to: :coordinate_operation_accuracy
|
|
34
36
|
end
|
|
35
37
|
end
|
|
36
38
|
end
|
|
@@ -10,10 +10,10 @@ module Ogc
|
|
|
10
10
|
attribute :conversion, GeneralConversionProperty
|
|
11
11
|
|
|
12
12
|
xml do
|
|
13
|
-
|
|
14
|
-
namespace
|
|
13
|
+
element "AbstractGeneralDerivedCRS"
|
|
14
|
+
namespace Namespace
|
|
15
15
|
|
|
16
|
-
map_attribute "id", to: :id,
|
|
16
|
+
map_attribute "id", to: :id, form: :qualified
|
|
17
17
|
map_element "metaDataProperty", to: :meta_data_property
|
|
18
18
|
map_element "description", to: :description
|
|
19
19
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -10,10 +10,10 @@ module Ogc
|
|
|
10
10
|
attribute :minimum_occurs, :integer
|
|
11
11
|
|
|
12
12
|
xml do
|
|
13
|
-
|
|
14
|
-
namespace
|
|
13
|
+
element "AbstractGeneralOperationParameter"
|
|
14
|
+
namespace Namespace
|
|
15
15
|
|
|
16
|
-
map_attribute "id", to: :id,
|
|
16
|
+
map_attribute "id", to: :id, form: :qualified
|
|
17
17
|
map_element "metaDataProperty", to: :meta_data_property
|
|
18
18
|
map_element "description", to: :description
|
|
19
19
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -6,18 +6,26 @@ require_relative "abstract_general_operation_parameter"
|
|
|
6
6
|
|
|
7
7
|
module Ogc
|
|
8
8
|
module Gml
|
|
9
|
+
class RemoteSchema < Lutaml::Model::Type::String
|
|
10
|
+
xml do
|
|
11
|
+
namespace Namespace
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
9
15
|
class AbstractGeneralOperationParameterProperty < Lutaml::Model::Serializable
|
|
10
16
|
attribute :nil_reason, :string
|
|
11
|
-
attribute :remote_schema,
|
|
12
|
-
attribute :abstract_general_operation_parameter,
|
|
17
|
+
attribute :remote_schema, RemoteSchema
|
|
18
|
+
attribute :abstract_general_operation_parameter,
|
|
19
|
+
AbstractGeneralOperationParameter
|
|
13
20
|
|
|
14
21
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
22
|
+
element "generalOperationParameter"
|
|
23
|
+
namespace Namespace
|
|
17
24
|
|
|
18
25
|
map_attribute "nilReason", to: :nil_reason
|
|
19
|
-
map_attribute "remoteSchema", to: :remote_schema
|
|
20
|
-
map_element "AbstractGeneralOperationParameter",
|
|
26
|
+
map_attribute "remoteSchema", to: :remote_schema
|
|
27
|
+
map_element "AbstractGeneralOperationParameter",
|
|
28
|
+
to: :abstract_general_operation_parameter
|
|
21
29
|
end
|
|
22
30
|
end
|
|
23
31
|
end
|
|
@@ -6,8 +6,8 @@ module Ogc
|
|
|
6
6
|
module Gml
|
|
7
7
|
class AbstractGeneralParameterValue < Lutaml::Model::Serializable
|
|
8
8
|
xml do
|
|
9
|
-
|
|
10
|
-
namespace
|
|
9
|
+
element "AbstractGeneralParameterValue"
|
|
10
|
+
namespace Namespace
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
end
|
|
@@ -10,10 +10,11 @@ module Ogc
|
|
|
10
10
|
attribute :abstract_general_parameter_value, AbstractGeneralParameterValue
|
|
11
11
|
|
|
12
12
|
xml do
|
|
13
|
-
|
|
14
|
-
namespace
|
|
13
|
+
element "includesValue"
|
|
14
|
+
namespace Namespace
|
|
15
15
|
|
|
16
|
-
map_element "AbstractGeneralParameterValue",
|
|
16
|
+
map_element "AbstractGeneralParameterValue",
|
|
17
|
+
to: :abstract_general_parameter_value
|
|
17
18
|
end
|
|
18
19
|
end
|
|
19
20
|
end
|
|
@@ -7,10 +7,10 @@ module Ogc
|
|
|
7
7
|
module Gml
|
|
8
8
|
class AbstractGeneralTransformation < AbstractCoordinateOperation
|
|
9
9
|
xml do
|
|
10
|
-
|
|
11
|
-
namespace
|
|
10
|
+
element "AbstractGeneralTransformation"
|
|
11
|
+
namespace Namespace
|
|
12
12
|
|
|
13
|
-
map_attribute "id", to: :id,
|
|
13
|
+
map_attribute "id", to: :id, form: :qualified
|
|
14
14
|
map_element "metaDataProperty", to: :meta_data_property
|
|
15
15
|
map_element "description", to: :description
|
|
16
16
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -20,7 +20,8 @@ module Ogc
|
|
|
20
20
|
map_element "domainOfValidity", to: :domain_of_validity
|
|
21
21
|
map_element "scope", to: :scope
|
|
22
22
|
map_element "operationVersion", to: :operation_version
|
|
23
|
-
map_element "coordinateOperationAccuracy",
|
|
23
|
+
map_element "coordinateOperationAccuracy",
|
|
24
|
+
to: :coordinate_operation_accuracy
|
|
24
25
|
map_element "sourceCRS", to: :source_crs
|
|
25
26
|
map_element "targetCRS", to: :target_crs
|
|
26
27
|
end
|
|
@@ -9,10 +9,10 @@ module Ogc
|
|
|
9
9
|
attribute :aggregation_type, :string
|
|
10
10
|
|
|
11
11
|
xml do
|
|
12
|
-
|
|
13
|
-
namespace
|
|
12
|
+
element "AbstractGeometricAggregate"
|
|
13
|
+
namespace Namespace
|
|
14
14
|
|
|
15
|
-
map_attribute "id", to: :id,
|
|
15
|
+
map_attribute "id", to: :id, form: :qualified
|
|
16
16
|
map_attribute "srsName", to: :srs_name
|
|
17
17
|
map_attribute "srsDimension", to: :srs_dimension
|
|
18
18
|
map_attribute "axisLabels", to: :axis_labels
|
|
@@ -6,11 +6,12 @@ require_relative "code"
|
|
|
6
6
|
require_relative "code_with_authority"
|
|
7
7
|
require_relative "meta_data_property"
|
|
8
8
|
require_relative "reference"
|
|
9
|
+
require_relative "identifier"
|
|
9
10
|
|
|
10
11
|
module Ogc
|
|
11
12
|
module Gml
|
|
12
13
|
class AbstractGeometricPrimitive < Lutaml::Model::Serializable
|
|
13
|
-
attribute :id,
|
|
14
|
+
attribute :id, Identifier
|
|
14
15
|
attribute :srs_name, :string
|
|
15
16
|
attribute :srs_dimension, :integer
|
|
16
17
|
attribute :axis_labels, :string
|
|
@@ -22,10 +23,10 @@ module Ogc
|
|
|
22
23
|
attribute :name, Code, collection: true
|
|
23
24
|
|
|
24
25
|
xml do
|
|
25
|
-
|
|
26
|
-
namespace
|
|
26
|
+
element "AbstractGeometricPrimitive"
|
|
27
|
+
namespace Namespace
|
|
27
28
|
|
|
28
|
-
map_attribute "id", to: :id,
|
|
29
|
+
map_attribute "id", to: :id, form: :qualified
|
|
29
30
|
map_attribute "srsName", to: :srs_name
|
|
30
31
|
map_attribute "srsDimension", to: :srs_dimension
|
|
31
32
|
map_attribute "axisLabels", to: :axis_labels
|
|
@@ -7,10 +7,10 @@ module Ogc
|
|
|
7
7
|
module Gml
|
|
8
8
|
class AbstractGeometry < AbstractGeometricPrimitive
|
|
9
9
|
xml do
|
|
10
|
-
|
|
11
|
-
namespace
|
|
10
|
+
element "AbstractImplicitGeometry"
|
|
11
|
+
namespace Namespace
|
|
12
12
|
|
|
13
|
-
map_attribute "id", to: :id,
|
|
13
|
+
map_attribute "id", to: :id, form: :qualified
|
|
14
14
|
map_attribute "srsName", to: :srs_name
|
|
15
15
|
map_attribute "srsDimension", to: :srs_dimension
|
|
16
16
|
map_attribute "axisLabels", to: :axis_labels
|
data/lib/ogc/gml/abstract_gml.rb
CHANGED
|
@@ -12,10 +12,10 @@ module Ogc
|
|
|
12
12
|
module Gml
|
|
13
13
|
class AbstractGML < AbstractTopology
|
|
14
14
|
xml do
|
|
15
|
-
|
|
16
|
-
namespace
|
|
15
|
+
element "AbstractGML"
|
|
16
|
+
namespace Namespace
|
|
17
17
|
|
|
18
|
-
map_attribute "id", to: :id,
|
|
18
|
+
map_attribute "id", to: :id, form: :qualified
|
|
19
19
|
map_element "metaDataProperty", to: :meta_data_property
|
|
20
20
|
map_element "description", to: :description
|
|
21
21
|
map_element "descriptionReference", to: :description_reference
|
|
@@ -10,8 +10,8 @@ module Ogc
|
|
|
10
10
|
attribute :columns, :integer
|
|
11
11
|
|
|
12
12
|
xml do
|
|
13
|
-
|
|
14
|
-
namespace
|
|
13
|
+
element "AbstractGriddedSurface"
|
|
14
|
+
namespace Namespace
|
|
15
15
|
|
|
16
16
|
map_attribute "aggregationType", to: :aggregation_type
|
|
17
17
|
map_attribute "rows", to: :rows
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "lutaml/model"
|
|
4
|
+
require_relative "identifier"
|
|
4
5
|
|
|
5
6
|
module Ogc
|
|
6
7
|
module Gml
|
|
7
8
|
class AbstractMetaData < Lutaml::Model::Serializable
|
|
8
9
|
attribute :content, :string
|
|
9
|
-
attribute :id,
|
|
10
|
+
attribute :id, Identifier
|
|
10
11
|
|
|
11
12
|
xml do
|
|
12
|
-
|
|
13
|
-
namespace
|
|
13
|
+
element "AbstractMetaData"
|
|
14
|
+
namespace Namespace
|
|
14
15
|
|
|
15
16
|
map_content to: :content
|
|
16
|
-
map_attribute "id", to: :id,
|
|
17
|
+
map_attribute "id", to: :id, form: :qualified
|
|
17
18
|
end
|
|
18
19
|
end
|
|
19
20
|
end
|
|
@@ -8,8 +8,8 @@ module Ogc
|
|
|
8
8
|
attribute :aggregation_type, :string
|
|
9
9
|
|
|
10
10
|
xml do
|
|
11
|
-
|
|
12
|
-
namespace
|
|
11
|
+
element "AbstractParametricCurveSurface"
|
|
12
|
+
namespace Namespace
|
|
13
13
|
|
|
14
14
|
map_attribute "aggregationType", to: :aggregation_type
|
|
15
15
|
end
|