-
Notifications
You must be signed in to change notification settings - Fork 1
SuitabilityMaps
discrete_alloc function, argument 3: SuitabilityMaps
SuitabilityMaps is the third argument of the discrete_alloc function.
This argument needs to refer to a 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.
5.15
container
source
{
container
Suitability
{
attribute
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
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
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
ADomain := Subset(FreeLand = True), label = "allocation domain";
unit
SuitabilityMaps := Adomain
{
attribute
Living := Suitability/Living[ADomain/nr_orgEntity];
attribute
Working := Suitability/Working[ADomain/nr_orgEntity];
attribute
Nature := Suitability/Nature[ADomain/nr_orgEntity];
}
}
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.