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

[BDRSPS-918] First stab adding coordinateUncertaintyInMeters #290

Merged
merged 12 commits into from
Nov 6, 2024
3 changes: 2 additions & 1 deletion abis_mapping/base/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ def add_geometry_supplied_as(
graph.add((supplied_as, a, utils.namespaces.GEO.Geometry))
graph.add((supplied_as, utils.namespaces.GEO.asWKT, geom.to_rdf_literal()))
if spatial_accuracy is not None:
graph.add((supplied_as, utils.namespaces.GEO.hasMetricSpatialAccuracy, spatial_accuracy))
accuracy = rdflib.Literal(spatial_accuracy, datatype=rdflib.XSD.double)
chungvl marked this conversation as resolved.
Show resolved Hide resolved
graph.add((supplied_as, utils.namespaces.GEO.hasMetricSpatialAccuracy, accuracy))
graph.add((top_node, utils.namespaces.GEO.hasGeometry, supplied_as))

@classmethod
Expand Down
Loading