-
Notifications
You must be signed in to change notification settings - Fork 1
SuitabilityMaps
mtbeek32 edited this page Feb 20, 2024
·
7 revisions
discrete_alloc function, argument 3: SuitabilityMaps
SuitabilityMaps is the third argument of the discrete_alloc function.
This argument needs to refer to container with as subitems attributes for each land use type.
These attributes define the suitability for the land use type for each land unit. It is advised to configure a monetary values unit (e.g. EuroPerHa) for these attributes.
The domain unit of these attributes need to be the LandUnitDomain.
The values unit of the each SuitabilityMap with value type:int32
The names of the SuitabilityMap attributes need to match with the values of the TypeNames argument.
container source
{
container Suitability
{
attribute<EurM2> Living (GridDomain):
[
1 , 2, 5, 4, 3, 1,
2, 5, 8, 9, 7, 3,
4, 10, 12, 13, 12, 6,
5, 11, 13, 14, 12, 6,
4, 9, 9, 5, 3, 2,
2, 2, 4, 3, 1, 1
];
attribute<EurM2> Working (GridDomain):
[
1, 1, 2, 3, 4, 6,
2, 3, 4, 6, 8, 9,
2, 4, 9, 11, 12, 10,
1, 3, 5, 9, 10, 6,
2, 4, 5, 5, 3, 2,
1, 1, 2, 1, 1, 1
];
attribute<EurM2> Nature (GridDomain):
[
3, 3, 3, 2, 2, 2,
3, 3, 2, 2, 2, 2,
3, 2, 1, 1, 1, 1,
3, 2, 1, 1 ,1, 2,
3, 3, 2, 1, 2, 2,
3, 3, 3, 3, 3, 3
];
}
}
container Compacted
{
unit<uint32> ADomain := select_with_org_rel(FreeLand = True), label = "allocation domain";
unit<uint32> SuitabilityMaps := Adomain
{
attribute<EurM2> Living := Suitability/Living[ADomain/org_rel];
attribute<EurM2> Working := Suitability/Working[ADomain/org_rel];
attribute<EurM2> Nature := Suitability/Nature[ADomain/org_rel];
}
}
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.