-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I use Omeka S for the Gouda Timemachine, wher we collect a lot of geo temporal data, which is published as linked data.
This last requirement makes that I cannot directly use the Mapping module (but want to!) as the output is something like:
"o-module-mapping:feature": [
{
"@context": "https://www.goudatijdmachine.nl/omeka/api-context",
"@id": "https://www.goudatijdmachine.nl/omeka/api/mapping_features/3",
"@type": "o-module-mapping:Feature",
"o:id": 3,
"o:item": {
"@id": "https://www.goudatijdmachine.nl/omeka/api/items/97510",
"o:id": 97510
},
"o-module-mapping:geography-type": "LineString",
"o-module-mapping:geography-coordinates": [
[
4.711403,
52.009769
],
[
4.712948,
52.010595
]
]
}
]
I'd like to be able to define in the Mapping module settings a property to which the o-module-mapping:Feature and o-module-mapping:geography-coordinates could be mapped. Additionally, I'd like the coordinates converted to WKT, as this is representation of coordinate reference systems is used often in linked data.
The end result (in JSON-LD) for the example above, would be something like:
geo:hasGeometry: [
{
geo:asWKT: [
{
type: "geometry",
property_id: 1162,
property_label: "Geometry",
is_public: true,
@value: "LINESTRING (4.711403 52.009769, 4.712948 52.010595 )",
@type: "http://www.opengis.net/ont/geosparql#wktLiteral"
}
]
}
]
Where the geo prefix is http://www.opengis.net/ont/geosparql#
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels