ogc-gml 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/main.yml +27 -0
- data/.github/workflows/rake.yml +16 -0
- data/.github/workflows/release.yml +24 -0
- data/.gitignore +11 -0
- data/.gitmodules +3 -0
- data/.rspec +3 -0
- data/.rubocop.yml +8 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +12 -0
- data/README.md +35 -0
- data/Rakefile +12 -0
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/lib/ogc/gml/abstract_continuous_coverage.rb +35 -0
- data/lib/ogc/gml/abstract_coordinate_operation.rb +41 -0
- data/lib/ogc/gml/abstract_coordinate_system.rb +41 -0
- data/lib/ogc/gml/abstract_coverage.rb +36 -0
- data/lib/ogc/gml/abstract_crs.rb +35 -0
- data/lib/ogc/gml/abstract_curve.rb +27 -0
- data/lib/ogc/gml/abstract_curve_segment.rb +23 -0
- data/lib/ogc/gml/abstract_datum.rb +39 -0
- data/lib/ogc/gml/abstract_feature.rb +35 -0
- data/lib/ogc/gml/abstract_feature_collection.rb +36 -0
- data/lib/ogc/gml/abstract_general_conversion.rb +38 -0
- data/lib/ogc/gml/abstract_general_derived_crs.rb +30 -0
- data/lib/ogc/gml/abstract_general_operation_parameter.rb +28 -0
- data/lib/ogc/gml/abstract_general_operation_parameter_property.rb +25 -0
- data/lib/ogc/gml/abstract_general_parameter_value.rb +15 -0
- data/lib/ogc/gml/abstract_general_parameter_value_property.rb +21 -0
- data/lib/ogc/gml/abstract_general_transformation.rb +30 -0
- data/lib/ogc/gml/abstract_geometric_aggregate.rb +30 -0
- data/lib/ogc/gml/abstract_geometric_primitive.rb +42 -0
- data/lib/ogc/gml/abstract_geometry.rb +27 -0
- data/lib/ogc/gml/abstract_gml.rb +28 -0
- data/lib/ogc/gml/abstract_gridded_surface.rb +23 -0
- data/lib/ogc/gml/abstract_meta_data.rb +21 -0
- data/lib/ogc/gml/abstract_parametric_curve_surface.rb +19 -0
- data/lib/ogc/gml/abstract_ring.rb +15 -0
- data/lib/ogc/gml/abstract_ring_property.rb +21 -0
- data/lib/ogc/gml/abstract_solid.rb +27 -0
- data/lib/ogc/gml/abstract_surface.rb +27 -0
- data/lib/ogc/gml/abstract_surface_patch.rb +15 -0
- data/lib/ogc/gml/abstract_time_complex.rb +28 -0
- data/lib/ogc/gml/abstract_time_geometric_primitive.rb +39 -0
- data/lib/ogc/gml/abstract_time_object.rb +28 -0
- data/lib/ogc/gml/abstract_time_primitive.rb +29 -0
- data/lib/ogc/gml/abstract_time_slice.rb +35 -0
- data/lib/ogc/gml/abstract_time_topology_primitive.rb +34 -0
- data/lib/ogc/gml/abstract_topo_primitive.rb +28 -0
- data/lib/ogc/gml/abstract_topology.rb +33 -0
- data/lib/ogc/gml/affine_cs.rb +26 -0
- data/lib/ogc/gml/affine_cs_property.rb +25 -0
- data/lib/ogc/gml/affine_placement.rb +28 -0
- data/lib/ogc/gml/angle.rb +21 -0
- data/lib/ogc/gml/arc.rb +27 -0
- data/lib/ogc/gml/arc_by_bulge.rb +33 -0
- data/lib/ogc/gml/arc_by_center_point.rb +43 -0
- data/lib/ogc/gml/arc_string.rb +40 -0
- data/lib/ogc/gml/arc_string_by_bulge.rb +33 -0
- data/lib/ogc/gml/array.rb +32 -0
- data/lib/ogc/gml/array_association.rb +21 -0
- data/lib/ogc/gml/association_role.rb +23 -0
- data/lib/ogc/gml/b_spline.rb +30 -0
- data/lib/ogc/gml/bag.rb +35 -0
- data/lib/ogc/gml/base_unit.rb +40 -0
- data/lib/ogc/gml/bezier.rb +46 -0
- data/lib/ogc/gml/boolean.rb +21 -0
- data/lib/ogc/gml/bounding_shape.rb +25 -0
- data/lib/ogc/gml/cartesian_cs.rb +26 -0
- data/lib/ogc/gml/cartesian_cs_property.rb +25 -0
- data/lib/ogc/gml/category.rb +23 -0
- data/lib/ogc/gml/category_extent.rb +21 -0
- data/lib/ogc/gml/circle.rb +27 -0
- data/lib/ogc/gml/circle_by_center_point.rb +43 -0
- data/lib/ogc/gml/clothoid.rb +33 -0
- data/lib/ogc/gml/code.rb +21 -0
- data/lib/ogc/gml/code_or_nil_reason_list.rb +21 -0
- data/lib/ogc/gml/code_with_authority.rb +23 -0
- data/lib/ogc/gml/composite_curve.rb +32 -0
- data/lib/ogc/gml/composite_solid.rb +32 -0
- data/lib/ogc/gml/composite_surface.rb +32 -0
- data/lib/ogc/gml/composite_value.rb +42 -0
- data/lib/ogc/gml/compound_crs.rb +32 -0
- data/lib/ogc/gml/compound_crs_property.rb +25 -0
- data/lib/ogc/gml/concatenated_operation.rb +47 -0
- data/lib/ogc/gml/concatenated_operation_property.rb +25 -0
- data/lib/ogc/gml/cone.rb +22 -0
- data/lib/ogc/gml/control_point.rb +27 -0
- data/lib/ogc/gml/conventional_unit.rb +46 -0
- data/lib/ogc/gml/conversion.rb +34 -0
- data/lib/ogc/gml/conversion_property.rb +25 -0
- data/lib/ogc/gml/conversion_to_preferred_unit.rb +25 -0
- data/lib/ogc/gml/coordinate_operation_accuracy.rb +25 -0
- data/lib/ogc/gml/coordinate_operation_property.rb +25 -0
- data/lib/ogc/gml/coordinate_system_axis.rb +48 -0
- data/lib/ogc/gml/coordinate_system_axis_property.rb +25 -0
- data/lib/ogc/gml/coordinate_system_property.rb +25 -0
- data/lib/ogc/gml/coordinates.rb +25 -0
- data/lib/ogc/gml/count.rb +21 -0
- data/lib/ogc/gml/coverage_function.rb +27 -0
- data/lib/ogc/gml/crs_property.rb +25 -0
- data/lib/ogc/gml/cubic_spline.rb +45 -0
- data/lib/ogc/gml/curve.rb +31 -0
- data/lib/ogc/gml/curve_array_property.rb +28 -0
- data/lib/ogc/gml/curve_property.rb +37 -0
- data/lib/ogc/gml/curve_segment_array_property.rb +33 -0
- data/lib/ogc/gml/cylinder.rb +25 -0
- data/lib/ogc/gml/cylindrical_cs.rb +26 -0
- data/lib/ogc/gml/cylindrical_cs_property.rb +25 -0
- data/lib/ogc/gml/data_block.rb +26 -0
- data/lib/ogc/gml/datum_property.rb +25 -0
- data/lib/ogc/gml/definition.rb +31 -0
- data/lib/ogc/gml/definition_proxy.rb +33 -0
- data/lib/ogc/gml/degrees.rb +21 -0
- data/lib/ogc/gml/derivation_unit_term.rb +21 -0
- data/lib/ogc/gml/derived_crs.rb +37 -0
- data/lib/ogc/gml/derived_crs_property.rb +25 -0
- data/lib/ogc/gml/derived_unit.rb +41 -0
- data/lib/ogc/gml/dictionary.rb +46 -0
- data/lib/ogc/gml/dictionary_entry.rb +33 -0
- data/lib/ogc/gml/direct_position.rb +27 -0
- data/lib/ogc/gml/direct_position_list.rb +29 -0
- data/lib/ogc/gml/directed_edge_property.rb +29 -0
- data/lib/ogc/gml/directed_face_property.rb +29 -0
- data/lib/ogc/gml/directed_node_property.rb +29 -0
- data/lib/ogc/gml/directed_observation.rb +50 -0
- data/lib/ogc/gml/directed_observation_at_distance.rb +53 -0
- data/lib/ogc/gml/directed_topo_solid_property.rb +29 -0
- data/lib/ogc/gml/direction_description.rb +28 -0
- data/lib/ogc/gml/direction_property.rb +38 -0
- data/lib/ogc/gml/direction_vector.rb +26 -0
- data/lib/ogc/gml/discrete_coverage.rb +28 -0
- data/lib/ogc/gml/dms_angle.rb +27 -0
- data/lib/ogc/gml/domain_of_validity.rb +25 -0
- data/lib/ogc/gml/domain_set.rb +30 -0
- data/lib/ogc/gml/dynamic_feature.rb +46 -0
- data/lib/ogc/gml/dynamic_feature_collection.rb +49 -0
- data/lib/ogc/gml/dynamic_feature_member.rb +27 -0
- data/lib/ogc/gml/edge.rb +48 -0
- data/lib/ogc/gml/ellipsoid.rb +37 -0
- data/lib/ogc/gml/ellipsoid_property.rb +25 -0
- data/lib/ogc/gml/ellipsoidal_cs.rb +26 -0
- data/lib/ogc/gml/ellipsoidal_cs_property.rb +25 -0
- data/lib/ogc/gml/engineering_crs.rb +54 -0
- data/lib/ogc/gml/engineering_crs_property.rb +25 -0
- data/lib/ogc/gml/engineering_datum.rb +28 -0
- data/lib/ogc/gml/engineering_datum_property.rb +25 -0
- data/lib/ogc/gml/envelope.rb +36 -0
- data/lib/ogc/gml/envelope_with_time_period.rb +43 -0
- data/lib/ogc/gml/face.rb +50 -0
- data/lib/ogc/gml/face_or_topo_solid_property.rb +33 -0
- data/lib/ogc/gml/feature_array_property.rb +21 -0
- data/lib/ogc/gml/feature_collection.rb +27 -0
- data/lib/ogc/gml/feature_property.rb +27 -0
- data/lib/ogc/gml/file.rb +32 -0
- data/lib/ogc/gml/formula.rb +25 -0
- data/lib/ogc/gml/formula_citation.rb +25 -0
- data/lib/ogc/gml/general_conversion_property.rb +25 -0
- data/lib/ogc/gml/general_transformation_property.rb +25 -0
- data/lib/ogc/gml/generic_meta_data.rb +21 -0
- data/lib/ogc/gml/geocentric_crs.rb +36 -0
- data/lib/ogc/gml/geocentric_crs_property.rb +25 -0
- data/lib/ogc/gml/geodesic.rb +33 -0
- data/lib/ogc/gml/geodesic_string.rb +33 -0
- data/lib/ogc/gml/geodetic_crs.rb +40 -0
- data/lib/ogc/gml/geodetic_crs_property.rb +25 -0
- data/lib/ogc/gml/geodetic_datum.rb +35 -0
- data/lib/ogc/gml/geodetic_datum_property.rb +25 -0
- data/lib/ogc/gml/geographic_crs.rb +33 -0
- data/lib/ogc/gml/geographic_crs_property.rb +25 -0
- data/lib/ogc/gml/geometric_complex.rb +32 -0
- data/lib/ogc/gml/geometric_primitive_property.rb +27 -0
- data/lib/ogc/gml/geometry_array_property.rb +23 -0
- data/lib/ogc/gml/geometry_property.rb +27 -0
- data/lib/ogc/gml/grid.rb +49 -0
- data/lib/ogc/gml/grid_envelope.rb +21 -0
- data/lib/ogc/gml/grid_function.rb +23 -0
- data/lib/ogc/gml/grid_limits.rb +21 -0
- data/lib/ogc/gml/history_property.rb +23 -0
- data/lib/ogc/gml/image_crs.rb +39 -0
- data/lib/ogc/gml/image_crs_property.rb +25 -0
- data/lib/ogc/gml/image_datum.rb +31 -0
- data/lib/ogc/gml/image_datum_property.rb +25 -0
- data/lib/ogc/gml/indirect_entry.rb +21 -0
- data/lib/ogc/gml/inline_property.rb +19 -0
- data/lib/ogc/gml/knot.rb +23 -0
- data/lib/ogc/gml/knot_property.rb +21 -0
- data/lib/ogc/gml/length.rb +21 -0
- data/lib/ogc/gml/line_string.rb +43 -0
- data/lib/ogc/gml/line_string_segment.rb +38 -0
- data/lib/ogc/gml/line_string_segment_array_property.rb +21 -0
- data/lib/ogc/gml/linear_cs.rb +26 -0
- data/lib/ogc/gml/linear_cs_property.rb +25 -0
- data/lib/ogc/gml/linear_ring.rb +32 -0
- data/lib/ogc/gml/location_property.rb +33 -0
- data/lib/ogc/gml/mapping_rule.rb +23 -0
- data/lib/ogc/gml/measure.rb +21 -0
- data/lib/ogc/gml/measure_list.rb +21 -0
- data/lib/ogc/gml/measure_or_nil_reason_list.rb +21 -0
- data/lib/ogc/gml/meta_data_property.rb +27 -0
- data/lib/ogc/gml/moving_object_status.rb +59 -0
- data/lib/ogc/gml/multi_curve.rb +33 -0
- data/lib/ogc/gml/multi_curve_property.rb +27 -0
- data/lib/ogc/gml/multi_geometry.rb +35 -0
- data/lib/ogc/gml/multi_geometry_property.rb +27 -0
- data/lib/ogc/gml/multi_point.rb +35 -0
- data/lib/ogc/gml/multi_point_property.rb +27 -0
- data/lib/ogc/gml/multi_solid.rb +35 -0
- data/lib/ogc/gml/multi_solid_property.rb +27 -0
- data/lib/ogc/gml/multi_surface.rb +35 -0
- data/lib/ogc/gml/multi_surface_property.rb +27 -0
- data/lib/ogc/gml/node.rb +48 -0
- data/lib/ogc/gml/node_or_edge_property.rb +33 -0
- data/lib/ogc/gml/node_property.rb +27 -0
- data/lib/ogc/gml/oblique_cartesian_cs.rb +26 -0
- data/lib/ogc/gml/oblique_cartesian_cs_property.rb +25 -0
- data/lib/ogc/gml/observation.rb +47 -0
- data/lib/ogc/gml/offset_curve.rb +31 -0
- data/lib/ogc/gml/operation_method.rb +43 -0
- data/lib/ogc/gml/operation_method_property.rb +25 -0
- data/lib/ogc/gml/operation_parameter.rb +25 -0
- data/lib/ogc/gml/operation_parameter_group.rb +31 -0
- data/lib/ogc/gml/operation_parameter_group_property.rb +25 -0
- data/lib/ogc/gml/operation_parameter_property.rb +25 -0
- data/lib/ogc/gml/operation_property.rb +25 -0
- data/lib/ogc/gml/orientable_curve.rb +50 -0
- data/lib/ogc/gml/orientable_surface.rb +47 -0
- data/lib/ogc/gml/parameter_value.rb +40 -0
- data/lib/ogc/gml/parameter_value_group.rb +24 -0
- data/lib/ogc/gml/pass_through_operation.rb +43 -0
- data/lib/ogc/gml/pass_through_operation_property.rb +25 -0
- data/lib/ogc/gml/point.rb +33 -0
- data/lib/ogc/gml/point_array_property.rb +23 -0
- data/lib/ogc/gml/point_property.rb +27 -0
- data/lib/ogc/gml/polar_cs.rb +26 -0
- data/lib/ogc/gml/polar_cs_property.rb +25 -0
- data/lib/ogc/gml/polygon.rb +34 -0
- data/lib/ogc/gml/polygon_patch.rb +25 -0
- data/lib/ogc/gml/prime_meridian.rb +34 -0
- data/lib/ogc/gml/prime_meridian_property.rb +25 -0
- data/lib/ogc/gml/priority_location_property.rb +35 -0
- data/lib/ogc/gml/procedure_property.rb +27 -0
- data/lib/ogc/gml/projected_crs.rb +37 -0
- data/lib/ogc/gml/projected_crs_property.rb +25 -0
- data/lib/ogc/gml/quantity.rb +23 -0
- data/lib/ogc/gml/quantity_extent.rb +21 -0
- data/lib/ogc/gml/range_set.rb +29 -0
- data/lib/ogc/gml/rectangle.rb +23 -0
- data/lib/ogc/gml/rectified_grid.rb +55 -0
- data/lib/ogc/gml/ref_location.rb +21 -0
- data/lib/ogc/gml/reference.rb +23 -0
- data/lib/ogc/gml/related_time.rb +29 -0
- data/lib/ogc/gml/result.rb +23 -0
- data/lib/ogc/gml/ring.rb +21 -0
- data/lib/ogc/gml/second_defining_parameter1.rb +21 -0
- data/lib/ogc/gml/second_defining_parameter2.rb +26 -0
- data/lib/ogc/gml/sequence_rule.rb +23 -0
- data/lib/ogc/gml/shell.rb +25 -0
- data/lib/ogc/gml/shell_property.rb +27 -0
- data/lib/ogc/gml/single_crs_property.rb +25 -0
- data/lib/ogc/gml/single_operation_property.rb +25 -0
- data/lib/ogc/gml/solid.rb +33 -0
- data/lib/ogc/gml/solid_array_property.rb +23 -0
- data/lib/ogc/gml/solid_property.rb +27 -0
- data/lib/ogc/gml/sphere.rb +22 -0
- data/lib/ogc/gml/spherical_cs.rb +26 -0
- data/lib/ogc/gml/spherical_cs_property.rb +25 -0
- data/lib/ogc/gml/string_or_ref.rb +23 -0
- data/lib/ogc/gml/surface.rb +31 -0
- data/lib/ogc/gml/surface_array_property.rb +23 -0
- data/lib/ogc/gml/surface_patch_array_property.rb +28 -0
- data/lib/ogc/gml/surface_property.rb +30 -0
- data/lib/ogc/gml/target_property.rb +30 -0
- data/lib/ogc/gml/temporal_crs.rb +36 -0
- data/lib/ogc/gml/temporal_crs_property.rb +25 -0
- data/lib/ogc/gml/temporal_cs.rb +26 -0
- data/lib/ogc/gml/temporal_cs_property.rb +25 -0
- data/lib/ogc/gml/temporal_datum.rb +38 -0
- data/lib/ogc/gml/temporal_datum_property.rb +25 -0
- data/lib/ogc/gml/time_calendar.rb +36 -0
- data/lib/ogc/gml/time_calendar_era.rb +41 -0
- data/lib/ogc/gml/time_calendar_era_property.rb +27 -0
- data/lib/ogc/gml/time_calendar_property.rb +27 -0
- data/lib/ogc/gml/time_clock.rb +43 -0
- data/lib/ogc/gml/time_coordinate_system.rb +42 -0
- data/lib/ogc/gml/time_cs.rb +26 -0
- data/lib/ogc/gml/time_cs_property.rb +25 -0
- data/lib/ogc/gml/time_edge.rb +40 -0
- data/lib/ogc/gml/time_edge_property.rb +27 -0
- data/lib/ogc/gml/time_instant.rb +29 -0
- data/lib/ogc/gml/time_instant_property.rb +27 -0
- data/lib/ogc/gml/time_interval_length.rb +25 -0
- data/lib/ogc/gml/time_node.rb +37 -0
- data/lib/ogc/gml/time_node_property.rb +27 -0
- data/lib/ogc/gml/time_ordinal_era.rb +46 -0
- data/lib/ogc/gml/time_ordinal_era_property.rb +27 -0
- data/lib/ogc/gml/time_ordinal_reference_system.rb +36 -0
- data/lib/ogc/gml/time_period.rb +41 -0
- data/lib/ogc/gml/time_period_property.rb +27 -0
- data/lib/ogc/gml/time_position.rb +25 -0
- data/lib/ogc/gml/time_primitive_property.rb +27 -0
- data/lib/ogc/gml/time_reference_system.rb +33 -0
- data/lib/ogc/gml/time_topology_complex.rb +32 -0
- data/lib/ogc/gml/time_topology_primitive_property.rb +27 -0
- data/lib/ogc/gml/tin.rb +43 -0
- data/lib/ogc/gml/topo_complex.rb +54 -0
- data/lib/ogc/gml/topo_complex_property.rb +25 -0
- data/lib/ogc/gml/topo_curve.rb +39 -0
- data/lib/ogc/gml/topo_curve_property.rb +23 -0
- data/lib/ogc/gml/topo_point.rb +32 -0
- data/lib/ogc/gml/topo_point_property.rb +23 -0
- data/lib/ogc/gml/topo_primitive_array_association.rb +23 -0
- data/lib/ogc/gml/topo_primitive_member.rb +27 -0
- data/lib/ogc/gml/topo_solid.rb +50 -0
- data/lib/ogc/gml/topo_solid_property.rb +27 -0
- data/lib/ogc/gml/topo_surface.rb +39 -0
- data/lib/ogc/gml/topo_surface_property.rb +23 -0
- data/lib/ogc/gml/topo_volume.rb +39 -0
- data/lib/ogc/gml/topo_volume_property.rb +23 -0
- data/lib/ogc/gml/transformation.rb +44 -0
- data/lib/ogc/gml/transformation_property.rb +25 -0
- data/lib/ogc/gml/triangle.rb +23 -0
- data/lib/ogc/gml/unit_definition.rb +38 -0
- data/lib/ogc/gml/unit_of_measure.rb +19 -0
- data/lib/ogc/gml/user_defined_cs.rb +26 -0
- data/lib/ogc/gml/user_defined_cs_property.rb +25 -0
- data/lib/ogc/gml/value_array.rb +46 -0
- data/lib/ogc/gml/value_array_property.rb +30 -0
- data/lib/ogc/gml/value_property.rb +34 -0
- data/lib/ogc/gml/vector.rb +21 -0
- data/lib/ogc/gml/version.rb +7 -0
- data/lib/ogc/gml/vertical_crs.rb +33 -0
- data/lib/ogc/gml/vertical_crs_property.rb +25 -0
- data/lib/ogc/gml/vertical_cs.rb +26 -0
- data/lib/ogc/gml/vertical_cs_property.rb +25 -0
- data/lib/ogc/gml/vertical_datum.rb +28 -0
- data/lib/ogc/gml/vertical_datum_property.rb +25 -0
- data/lib/ogc/gml.rb +339 -0
- data/ogc-gml.gemspec +43 -0
- data/references/combined_gml/gml-without-xlink-gmd.xsd +6490 -0
- data/references/combined_gml/original-combined/gml.xsd +6491 -0
- data/references/combined_gml/original-combined/include-chain.txt +78 -0
- data/references/gml/3.2.1.2/SchematronConstraints.xml +71 -0
- data/references/gml/3.2.1.2/basicTypes.xsd +268 -0
- data/references/gml/3.2.1.2/coordinateOperations.xsd +525 -0
- data/references/gml/3.2.1.2/coordinateReferenceSystems.xsd +373 -0
- data/references/gml/3.2.1.2/coordinateSystems.xsd +297 -0
- data/references/gml/3.2.1.2/coverage.xsd +292 -0
- data/references/gml/3.2.1.2/datums.xsd +287 -0
- data/references/gml/3.2.1.2/defaultStyle.xsd +453 -0
- data/references/gml/3.2.1.2/deprecatedTypes.xsd +1133 -0
- data/references/gml/3.2.1.2/dictionary.xsd +90 -0
- data/references/gml/3.2.1.2/direction.xsd +84 -0
- data/references/gml/3.2.1.2/dynamicFeature.xsd +109 -0
- data/references/gml/3.2.1.2/feature.xsd +94 -0
- data/references/gml/3.2.1.2/geometryAggregates.xsd +197 -0
- data/references/gml/3.2.1.2/geometryBasic0d1d.xsd +277 -0
- data/references/gml/3.2.1.2/geometryBasic2d.xsd +124 -0
- data/references/gml/3.2.1.2/geometryComplexes.xsd +95 -0
- data/references/gml/3.2.1.2/geometryPrimitives.xsd +846 -0
- data/references/gml/3.2.1.2/gml.xsd +20 -0
- data/references/gml/3.2.1.2/gmlBase.xsd +185 -0
- data/references/gml/3.2.1.2/gml_32_geometries.rdf +368 -0
- data/references/gml/3.2.1.2/gml_3_2_1-ReadMe.txt +58 -0
- data/references/gml/3.2.1.2/grids.xsd +64 -0
- data/references/gml/3.2.1.2/measures.xsd +68 -0
- data/references/gml/3.2.1.2/observation.xsd +95 -0
- data/references/gml/3.2.1.2/referenceSystems.xsd +70 -0
- data/references/gml/3.2.1.2/temporal.xsd +269 -0
- data/references/gml/3.2.1.2/temporalReferenceSystems.xsd +189 -0
- data/references/gml/3.2.1.2/temporalTopology.xsd +119 -0
- data/references/gml/3.2.1.2/topology.xsd +386 -0
- data/references/gml/3.2.1.2/units.xsd +231 -0
- data/references/gml/3.2.1.2/valueObjects.xsd +205 -0
- data/references/gml/3.3.1/ReadMe.txt +89 -0
- data/references/gml/3.3.1/extdBaseTypes.xsd +67 -0
- data/references/gml/3.3.1/extdEncRule.xsd +8 -0
- data/references/gml/3.3.1/geometryCompact.xsd +218 -0
- data/references/gml/3.3.1/iso8601.sch +19 -0
- data/references/gml/3.3.1/linearRef.xsd +215 -0
- data/references/gml/3.3.1/linearRefOffset.xsd +96 -0
- data/references/gml/3.3.1/linearRefOffsetVector.xsd +48 -0
- data/references/gml/3.3.1/linearRefTowardsReferent.xsd +23 -0
- data/references/gml/3.3.1/referenceableGrid.xsd +79 -0
- data/references/gml/3.3.1/tin.xsd +78 -0
- data/sig/ogc/gml.rbs +8 -0
- data/split_files.rb +28 -0
- metadata +545 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- geometric_complex_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
require_relative "geometric_primitive_property"
|
6
|
+
require_relative "abstract_geometric_aggregate"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class GeometricComplex < AbstractGeometricAggregate
|
11
|
+
attribute :element, GeometricPrimitiveProperty, collection: true
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "GeometricComplex"
|
15
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
16
|
+
|
17
|
+
map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
18
|
+
map_attribute "srsName", to: :srs_name
|
19
|
+
map_attribute "srsDimension", to: :srs_dimension
|
20
|
+
map_attribute "axisLabels", to: :axis_labels
|
21
|
+
map_attribute "uomLabels", to: :uom_labels
|
22
|
+
map_attribute "aggregationType", to: :aggregation_type
|
23
|
+
map_element "metaDataProperty", to: :meta_data_property
|
24
|
+
map_element "description", to: :description
|
25
|
+
map_element "descriptionReference", to: :description_reference
|
26
|
+
map_element "identifier", to: :identifier
|
27
|
+
map_element "name", to: :name
|
28
|
+
map_element "element", to: :element
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- geometric_primitive_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "abstract_geometric_primitive"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class GeometricPrimitiveProperty < Shale::Mapper
|
11
|
+
attribute :owns, Shale::Type::Boolean, default: -> { "false" }
|
12
|
+
attribute :nil_reason, Shale::Type::Value
|
13
|
+
attribute :remote_schema, Shale::Type::Value
|
14
|
+
attribute :abstract_geometric_primitive, AbstractGeometricPrimitive
|
15
|
+
|
16
|
+
xml do
|
17
|
+
root "GeometricPrimitivePropertyType"
|
18
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
19
|
+
|
20
|
+
map_attribute "owns", to: :owns
|
21
|
+
map_attribute "nilReason", to: :nil_reason
|
22
|
+
map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
23
|
+
map_element "AbstractGeometricPrimitive", to: :abstract_geometric_primitive
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- geometry_array_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "abstract_geometry"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class GeometryArrayProperty < Shale::Mapper
|
11
|
+
attribute :owns, Shale::Type::Boolean, default: -> { "false" }
|
12
|
+
attribute :abstract_geometry, AbstractGeometry, collection: true
|
13
|
+
|
14
|
+
xml do
|
15
|
+
root "geometryMembers"
|
16
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
17
|
+
|
18
|
+
map_attribute "owns", to: :owns
|
19
|
+
map_element "AbstractGeometry", to: :abstract_geometry
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- geometry_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "abstract_geometry"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class GeometryProperty < Shale::Mapper
|
11
|
+
attribute :nil_reason, Shale::Type::Value
|
12
|
+
attribute :remote_schema, Shale::Type::Value
|
13
|
+
attribute :owns, Shale::Type::Boolean, default: -> { "false" }
|
14
|
+
attribute :abstract_geometry, AbstractGeometry
|
15
|
+
|
16
|
+
xml do
|
17
|
+
root "geometryMember"
|
18
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
19
|
+
|
20
|
+
map_attribute "nilReason", to: :nil_reason
|
21
|
+
map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
22
|
+
map_attribute "owns", to: :owns
|
23
|
+
map_element "AbstractGeometry", to: :abstract_geometry
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/ogc/gml/grid.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- grid_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "code"
|
7
|
+
require_relative "code_with_authority"
|
8
|
+
require_relative "grid_limits"
|
9
|
+
require_relative "meta_data_property"
|
10
|
+
require_relative "reference"
|
11
|
+
|
12
|
+
module Ogc
|
13
|
+
module Gml
|
14
|
+
class Grid < Shale::Mapper
|
15
|
+
attribute :id, Shale::Type::Value
|
16
|
+
attribute :srs_name, Shale::Type::Value
|
17
|
+
attribute :srs_dimension, Shale::Type::Integer
|
18
|
+
attribute :axis_labels, Shale::Type::Value
|
19
|
+
attribute :uom_labels, Shale::Type::Value
|
20
|
+
attribute :dimension, Shale::Type::Integer
|
21
|
+
attribute :meta_data_property, MetaDataProperty, collection: true
|
22
|
+
attribute :description, Shale::Type::String
|
23
|
+
attribute :description_reference, Reference
|
24
|
+
attribute :identifier, CodeWithAuthority
|
25
|
+
attribute :name, Code, collection: true
|
26
|
+
attribute :limits, GridLimits
|
27
|
+
attribute :axis_name, Shale::Type::String, collection: true
|
28
|
+
|
29
|
+
xml do
|
30
|
+
root "Grid"
|
31
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
32
|
+
|
33
|
+
map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
34
|
+
map_attribute "srsName", to: :srs_name
|
35
|
+
map_attribute "srsDimension", to: :srs_dimension
|
36
|
+
map_attribute "axisLabels", to: :axis_labels
|
37
|
+
map_attribute "uomLabels", to: :uom_labels
|
38
|
+
map_attribute "dimension", to: :dimension
|
39
|
+
map_element "metaDataProperty", to: :meta_data_property
|
40
|
+
map_element "description", to: :description
|
41
|
+
map_element "descriptionReference", to: :description_reference
|
42
|
+
map_element "identifier", to: :identifier
|
43
|
+
map_element "name", to: :name
|
44
|
+
map_element "limits", to: :limits
|
45
|
+
map_element "axisName", to: :axis_name
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- grid_envelope_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
module Ogc
|
7
|
+
module Gml
|
8
|
+
class GridEnvelope < Shale::Mapper
|
9
|
+
attribute :low, Shale::Type::Value
|
10
|
+
attribute :high, Shale::Type::Value
|
11
|
+
|
12
|
+
xml do
|
13
|
+
root "GridEnvelopeType"
|
14
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
15
|
+
|
16
|
+
map_element "low", to: :low
|
17
|
+
map_element "high", to: :high
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- grid_function_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "sequence_rule"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class GridFunction < Shale::Mapper
|
11
|
+
attribute :sequence_rule, SequenceRule
|
12
|
+
attribute :start_point, Shale::Type::Value
|
13
|
+
|
14
|
+
xml do
|
15
|
+
root "GridFunction"
|
16
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
17
|
+
|
18
|
+
map_element "sequenceRule", to: :sequence_rule
|
19
|
+
map_element "startPoint", to: :start_point
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- grid_limits_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "grid_envelope"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class GridLimits < Shale::Mapper
|
11
|
+
attribute :grid_envelope, GridEnvelope
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "GridLimitsType"
|
15
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
16
|
+
|
17
|
+
map_element "GridEnvelope", to: :grid_envelope
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- history_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "abstract_time_slice"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class HistoryProperty < Shale::Mapper
|
11
|
+
attribute :owns, Shale::Type::Boolean, default: -> { "false" }
|
12
|
+
attribute :abstract_time_slice, AbstractTimeSlice, collection: true
|
13
|
+
|
14
|
+
xml do
|
15
|
+
root "track"
|
16
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
17
|
+
|
18
|
+
map_attribute "owns", to: :owns
|
19
|
+
map_element "AbstractTimeSlice", to: :abstract_time_slice
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- image_crs_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
require_relative "affine_cs_property"
|
6
|
+
require_relative "cartesian_cs_property"
|
7
|
+
require_relative "image_datum_property"
|
8
|
+
require_relative "oblique_cartesian_cs_property"
|
9
|
+
require_relative "abstract_crs"
|
10
|
+
|
11
|
+
module Ogc
|
12
|
+
module Gml
|
13
|
+
class ImageCRS < AbstractCRS
|
14
|
+
attribute :cartesian_cs, CartesianCSProperty
|
15
|
+
attribute :affine_cs, AffineCSProperty
|
16
|
+
attribute :uses_oblique_cartesian_cs, ObliqueCartesianCSProperty
|
17
|
+
attribute :image_datum, ImageDatumProperty
|
18
|
+
|
19
|
+
xml do
|
20
|
+
root "ImageCRS"
|
21
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
22
|
+
|
23
|
+
map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
24
|
+
map_element "metaDataProperty", to: :meta_data_property
|
25
|
+
map_element "description", to: :description
|
26
|
+
map_element "descriptionReference", to: :description_reference
|
27
|
+
map_element "identifier", to: :identifier
|
28
|
+
map_element "name", to: :name
|
29
|
+
map_element "remarks", to: :remarks
|
30
|
+
map_element "domainOfValidity", to: :domain_of_validity
|
31
|
+
map_element "scope", to: :scope
|
32
|
+
map_element "cartesianCS", to: :cartesian_cs
|
33
|
+
map_element "affineCS", to: :affine_cs
|
34
|
+
map_element "usesObliqueCartesianCS", to: :uses_oblique_cartesian_cs
|
35
|
+
map_element "imageDatum", to: :image_datum
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- image_crs_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "image_crs"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class ImageCRSProperty < Shale::Mapper
|
11
|
+
attribute :nil_reason, Shale::Type::Value
|
12
|
+
attribute :remote_schema, Shale::Type::Value
|
13
|
+
attribute :image_crs, ImageCRS
|
14
|
+
|
15
|
+
xml do
|
16
|
+
root "imageCRSRef"
|
17
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
18
|
+
|
19
|
+
map_attribute "nilReason", to: :nil_reason
|
20
|
+
map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
21
|
+
map_element "ImageCRS", to: :image_crs
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- image_datum_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
require_relative "abstract_datum"
|
6
|
+
|
7
|
+
module Ogc
|
8
|
+
module Gml
|
9
|
+
class ImageDatum < AbstractDatum
|
10
|
+
attribute :pixel_in_cell, CodeWithAuthority
|
11
|
+
|
12
|
+
xml do
|
13
|
+
root "ImageDatum"
|
14
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
15
|
+
|
16
|
+
map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
17
|
+
map_element "metaDataProperty", to: :meta_data_property
|
18
|
+
map_element "description", to: :description
|
19
|
+
map_element "descriptionReference", to: :description_reference
|
20
|
+
map_element "identifier", to: :identifier
|
21
|
+
map_element "name", to: :name
|
22
|
+
map_element "remarks", to: :remarks
|
23
|
+
map_element "domainOfValidity", to: :domain_of_validity
|
24
|
+
map_element "scope", to: :scope
|
25
|
+
map_element "anchorDefinition", to: :anchor_definition
|
26
|
+
map_element "realizationEpoch", to: :realization_epoch
|
27
|
+
map_element "pixelInCell", to: :pixel_in_cell
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- image_datum_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "image_datum"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class ImageDatumProperty < Shale::Mapper
|
11
|
+
attribute :nil_reason, Shale::Type::Value
|
12
|
+
attribute :remote_schema, Shale::Type::Value
|
13
|
+
attribute :image_datum, ImageDatum
|
14
|
+
|
15
|
+
xml do
|
16
|
+
root "usesImageDatum"
|
17
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
18
|
+
|
19
|
+
map_attribute "nilReason", to: :nil_reason
|
20
|
+
map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
21
|
+
map_element "ImageDatum", to: :image_datum
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- indirect_entry_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "definition_proxy"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class IndirectEntry < Shale::Mapper
|
11
|
+
attribute :definition_proxy, DefinitionProxy
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "indirectEntry"
|
15
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
16
|
+
|
17
|
+
map_element "DefinitionProxy", to: :definition_proxy
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- inline_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
module Ogc
|
7
|
+
module Gml
|
8
|
+
class InlineProperty < Shale::Mapper
|
9
|
+
attribute :owns, Shale::Type::Boolean, default: -> { "false" }
|
10
|
+
|
11
|
+
xml do
|
12
|
+
root "abstractInlineProperty"
|
13
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
14
|
+
|
15
|
+
map_attribute "owns", to: :owns
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/ogc/gml/knot.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- knot_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
module Ogc
|
7
|
+
module Gml
|
8
|
+
class Knot < Shale::Mapper
|
9
|
+
attribute :value, Shale::Type::Float
|
10
|
+
attribute :multiplicity, Shale::Type::Integer
|
11
|
+
attribute :weight, Shale::Type::Float
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "KnotType"
|
15
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
16
|
+
|
17
|
+
map_element "value", to: :value
|
18
|
+
map_element "multiplicity", to: :multiplicity
|
19
|
+
map_element "weight", to: :weight
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- knot_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "knot"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class KnotProperty < Shale::Mapper
|
11
|
+
attribute :knot, Knot
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "KnotPropertyType"
|
15
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
16
|
+
|
17
|
+
map_element "Knot", to: :knot
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- length_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "measure"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class Length < Shale::Mapper
|
11
|
+
attribute :content, Measure
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "LengthType"
|
15
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
16
|
+
|
17
|
+
map_content to: :content
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- line_string_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "coordinates"
|
7
|
+
require_relative "direct_position_list"
|
8
|
+
require_relative "direct_position"
|
9
|
+
require_relative "point_property"
|
10
|
+
require_relative "abstract_geometry"
|
11
|
+
|
12
|
+
module Ogc
|
13
|
+
module Gml
|
14
|
+
class LineString < AbstractGeometry
|
15
|
+
attribute :pos, DirectPosition, collection: true
|
16
|
+
attribute :point_property, PointProperty, collection: true
|
17
|
+
attribute :point_rep, PointProperty, collection: true
|
18
|
+
attribute :pos_list, DirectPositionList
|
19
|
+
attribute :coordinates, Coordinates
|
20
|
+
|
21
|
+
xml do
|
22
|
+
root "LineString"
|
23
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
24
|
+
|
25
|
+
map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
26
|
+
map_attribute "srsName", to: :srs_name
|
27
|
+
map_attribute "srsDimension", to: :srs_dimension
|
28
|
+
map_attribute "axisLabels", to: :axis_labels
|
29
|
+
map_attribute "uomLabels", to: :uom_labels
|
30
|
+
map_element "metaDataProperty", to: :meta_data_property
|
31
|
+
map_element "description", to: :description
|
32
|
+
map_element "descriptionReference", to: :description_reference
|
33
|
+
map_element "identifier", to: :identifier
|
34
|
+
map_element "name", to: :name
|
35
|
+
map_element "pos", to: :pos
|
36
|
+
map_element "pointProperty", to: :point_property
|
37
|
+
map_element "pointRep", to: :point_rep
|
38
|
+
map_element "posList", to: :pos_list
|
39
|
+
map_element "coordinates", to: :coordinates
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- line_string_segment_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "coordinates"
|
7
|
+
require_relative "direct_position_list"
|
8
|
+
require_relative "direct_position"
|
9
|
+
require_relative "point_property"
|
10
|
+
require_relative "abstract_curve_segment"
|
11
|
+
|
12
|
+
module Ogc
|
13
|
+
module Gml
|
14
|
+
class LineStringSegment < AbstractCurveSegment
|
15
|
+
attribute :interpolation, Shale::Type::String
|
16
|
+
attribute :pos, DirectPosition, collection: true
|
17
|
+
attribute :point_property, PointProperty, collection: true
|
18
|
+
attribute :point_rep, PointProperty, collection: true
|
19
|
+
attribute :pos_list, DirectPositionList
|
20
|
+
attribute :coordinates, Coordinates
|
21
|
+
|
22
|
+
xml do
|
23
|
+
root "LineStringSegment"
|
24
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
25
|
+
|
26
|
+
map_attribute "numDerivativesAtStart", to: :num_derivatives_at_start
|
27
|
+
map_attribute "numDerivativesAtEnd", to: :num_derivatives_at_end
|
28
|
+
map_attribute "numDerivativeInterior", to: :num_derivative_interior
|
29
|
+
map_attribute "interpolation", to: :interpolation
|
30
|
+
map_element "pos", to: :pos
|
31
|
+
map_element "pointProperty", to: :point_property
|
32
|
+
map_element "pointRep", to: :point_rep
|
33
|
+
map_element "posList", to: :pos_list
|
34
|
+
map_element "coordinates", to: :coordinates
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- line_string_segment_array_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "line_string_segment"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class LineStringSegmentArrayProperty < Shale::Mapper
|
11
|
+
attribute :line_string_segment, LineStringSegment, collection: true
|
12
|
+
|
13
|
+
xml do
|
14
|
+
root "LineStringSegmentArrayPropertyType"
|
15
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
16
|
+
|
17
|
+
map_element "LineStringSegment", to: :line_string_segment
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- linear_cs_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
require_relative "abstract_coordinate_system"
|
6
|
+
|
7
|
+
module Ogc
|
8
|
+
module Gml
|
9
|
+
class LinearCS < AbstractCoordinateSystem
|
10
|
+
xml do
|
11
|
+
root "LinearCS"
|
12
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
13
|
+
|
14
|
+
map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
15
|
+
map_attribute "aggregationType", to: :aggregation_type
|
16
|
+
map_element "metaDataProperty", to: :meta_data_property
|
17
|
+
map_element "description", to: :description
|
18
|
+
map_element "descriptionReference", to: :description_reference
|
19
|
+
map_element "identifier", to: :identifier
|
20
|
+
map_element "name", to: :name
|
21
|
+
map_element "remarks", to: :remarks
|
22
|
+
map_element "axis", to: :axis
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# --- linear_cs_property_type.rb ---
|
4
|
+
require "shale"
|
5
|
+
|
6
|
+
require_relative "linear_cs"
|
7
|
+
|
8
|
+
module Ogc
|
9
|
+
module Gml
|
10
|
+
class LinearCSProperty < Shale::Mapper
|
11
|
+
attribute :nil_reason, Shale::Type::Value
|
12
|
+
attribute :remote_schema, Shale::Type::Value
|
13
|
+
attribute :linear_cs, LinearCS
|
14
|
+
|
15
|
+
xml do
|
16
|
+
root "linearCSRef"
|
17
|
+
namespace "http://www.opengis.net/gml/3.2", "gml"
|
18
|
+
|
19
|
+
map_attribute "nilReason", to: :nil_reason
|
20
|
+
map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
|
21
|
+
map_element "LinearCS", to: :linear_cs
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|