Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend mapping to spatialCoverage #12

Open
4 tasks done
airnst opened this issue Jul 15, 2024 · 1 comment · May be fixed by #18
Open
4 tasks done

Extend mapping to spatialCoverage #12

airnst opened this issue Jul 15, 2024 · 1 comment · May be fixed by #18
Assignees
Labels
enhancement New feature or request mapping_xslt

Comments

@airnst
Copy link
Collaborator

airnst commented Jul 15, 2024

Description

In the dataset, some locality information is already mapped to schema:spatialCoverage:Place properties, see

  • ./Gathering/Country/Name → Place:name
  • ./Gathering/Country/ISO3166Code → Place:identifier
  • ./Gathering/SiteCoordinateSets/SiteCoordinates/CoordinatesLatLong/LongitudeDecimal → Place:geo:GeoCoordinates:longitude
  • ./Gathering/SiteCoordinateSets/SiteCoordinates/CoordinatesLatLong/LatitudeDecimal → Place:geo:GeoCoordinates:latitude

The following information can be mapped as well:

  • ./Gathering/LocalityText → Place:description
  • ./Gathering/NamedAreas/NamedArea/AreaName → Place:keywords
  • ./Gathering/NamedAreas/NamedArea/AreaClass → Place:additionalType
  • ./Gathering/Altitude → Place:geo:GeoCoordinates:elevation
  • ./Gathering/SiteCoordinateSets/SiteCoordinates/CoordinatesLatLong/SpatialDatum → Place:geo:GeoCoordinates:additionalType

For testing, some units in the example XML must be extended by corresponding location information.

Open questions

Altitude is much more complex to map as it can be a MeasurementOrFactAtomised and thus can be a range with or without different units used. However, altitude information can be used to create a PropertyValue Elevation with a minValue and a maxValue that enables filtering datasets by elevation.

Files

XML file
XSLT file

Tasks

  • Extend example XML file.
  • Update XSLT file.
  • Create follow-up ticket.
  • Test if spatialCoverage information is mapped correctly.
@airnst airnst added enhancement New feature or request mapping_xslt labels Jul 15, 2024
@airnst airnst self-assigned this Jul 15, 2024
snsb-seifert added a commit that referenced this issue Jul 15, 2024
LocalityText, and Coordinates are given. Partial example for Issue #12.
@airnst
Copy link
Collaborator Author

airnst commented Jul 16, 2024

Many thanks for providing the example files, @snsb-seifert!

@airnst airnst added the question Further information is requested label Jul 18, 2024
airnst pushed a commit that referenced this issue Jul 18, 2024
@airnst airnst linked a pull request Jul 23, 2024 that will close this issue
@airnst airnst linked a pull request Jul 23, 2024 that will close this issue
@airnst airnst removed the question Further information is requested label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mapping_xslt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant