podd / podd-redesign

The redesigned PODD
http://podd.plantphenomics.org.au/podd/
GNU Affero General Public License v3.0
3 stars 4 forks source link

Add mapping component to PODD interface and ontologies #142

Closed ansell closed 7 years ago

ansell commented 10 years ago

It would be useful to have a mapping component in PODD to denote the geographic locations that are relevant to projects/experiments/data.

The context for this is that I would like the students working on the visualisation project to be able to have geographic information to link out to external datasets such as Atlas of Living Australia, Bureau of Meteorology and Google Maps, among other possibilities.

To enable this we need to have a component that lets users easily select the locations that are relevant using a map, and we need a new display type in the ontology, and a new predicate.

In terms of the datatype in RDF documents, we can reuse the Virtuoso Geo datatypes:

https://bitbucket.org/openrdf/sesame/src/68af94c0886c9be124bef27ed0b457380ba96ef7/core/rio/datatypes/src/main/java/org/openrdf/rio/datatypes/VirtuosoGeometryDatatypeHandler.java

For example, we could store the point in RDF as:

"POINT(-35.273806 149.115366)"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry>

and visualise it using

https://maps.google.com.au/maps?spn=0.005,0.005&ll=-35.273806,149.115366