Skip to content

BAG Editor

Description

The Bag Editor provides a UI element for selecting and storing a BAG shape. The resulting data is stored as a memorix:GeoCoordinates nodeShape.

Shacl definition in the RecordType

A sh:property using a memorix:LocationBagEditor can be defined in the RecordType definition as follows:

1
2
3
4
5
6
7
sh:property     [ rdfs:label   "BAG location" ;
                    dash:editor  memorix:LocationBagEditor ;
                    sh:group     location:DisplayGroupLocation ;
                    sh:class     memorix:GeoCoordinates ;
                    sh:order     1.0 ;
                    sh:path      location:bag
                 ] ;

UI result

The BAG Editor will show as following in the UI:

"BAG editor in the UI"

After clicking the lookingglass the BAG Search will be opened in the sidepanel:

"BAG Search in the sidepanel"