-
Notifications
You must be signed in to change notification settings - Fork 1
Mapping
mtbeek32 edited this page Jan 31, 2024
·
6 revisions
Relational functions mapping
- mapping(SrcUnit, DstUnit)
mapping(SrcUnit, DstUnit) results in a relation with the index numbers of the domain unit DstUnit. The resulting attribute has as values unit DstUnit and as domain unit SrcUnit.
mapping(SrcUnit, DstUnit) is equivalent with convert(id (SrcUnit), DstUnit), but requires less memory.
- SrcUnit, DstUnit units with value types of the group CanBeDomainUnit
7.119
unit<uint32> RegionSrc: nrofrows = 5;
unit<uint32> RegionDst: nrofrows = 5;
attribute<Region> RegionDst_rel (RegionSrc) := mapping(RegionSrc, RegionDst);
RegionDst_rel |
---|
0 |
1 |
2 |
3 |
4 |
domain RegionSrc, nr of rows = 5
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.