Goose Management Model ODdox
1.02
tole_declaration.h
Go to the documentation of this file.
1
//
2
// tole_declaration.h
3
//
4
/*
5
*******************************************************************************************************
6
Copyright (c) 2011, Christopher John Topping, University of Aarhus
7
All rights reserved.
8
9
Redistribution and use in source and binary forms, with or without modification, are permitted provided
10
that the following conditions are met:
11
12
Redistributions of source code must retain the above copyright notice, this list of conditions and the
13
following disclaimer.
14
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
15
the following disclaimer in the documentation and/or other materials provided with the distribution.
16
17
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
18
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
19
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
20
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
22
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
********************************************************************************************************
26
*/
27
28
//---------------------------------------------------------------------------
29
#ifndef tole_declarationH
30
#define tole_declarationH
31
//----------------------------------------------------------------------------
32
33
// numbers in comments are the numbers expected in the raw data file direct
34
// from ArcView
35
36
typedef
enum
{
37
tole_Hedges
=0,
//130
38
tole_RoadsideVerge
,
//13
39
tole_Railway
,
//118
40
tole_FieldBoundary
,
//160
41
tole_Marsh
,
//95
42
tole_Scrub
,
//70
43
tole_Field
,
//20&30
44
tole_PermPastureLowYield
,
//26
45
tole_PermPastureTussocky
,
//27
46
tole_PermanentSetaside
,
//33
47
tole_PermPasture
,
//35
48
tole_NaturalGrassDry
,
//110
49
tole_RiversidePlants
,
//98
50
tole_PitDisused
,
//75
51
tole_RiversideTrees
,
//97
52
tole_DeciduousForest
,
//40
53
tole_MixedForest
,
//60
54
tole_ConiferousForest
,
//50
55
tole_YoungForest
,
//55
56
tole_StoneWall
,
//15
57
tole_Fence
,
//225
58
tole_Garden
,
//11//tole20
59
tole_Track
,
//123
60
tole_SmallRoad
,
//122
61
tole_LargeRoad
,
//121
62
tole_Building
,
//5
63
tole_ActivePit
,
//115
64
tole_Freshwater
,
//90
65
tole_River
,
//96
66
tole_Saltwater
,
//80
67
tole_Coast
,
//100//tole30
68
tole_HedgeBank
,
//140
69
tole_BeetleBank
,
//141
70
tole_Heath
,
//94
71
tole_Orchard
,
//56
72
tole_UnsprayedFieldMargin
,
//31
73
tole_OrchardBand
,
//57
74
tole_MownGrass
,
//58
75
tole_BareRock
,
//69
76
tole_AmenityGrass
,
//12
77
tole_Parkland
,
//14
78
tole_UrbanNoVeg
,
//8
79
tole_UrbanPark
,
//17
80
tole_BuiltUpWithParkland
,
//16
81
tole_SandDune
,
//101
82
tole_Copse
,
//41
83
tole_RoadsideSlope
,
//201
84
tole_MetalledPath
,
//202
85
tole_Carpark
,
//203
86
tole_Churchyard
,
//204
87
tole_NaturalGrassWet
,
//205
88
tole_Saltmarsh
,
//206
89
tole_Stream
,
//207
90
tole_HeritageSite
,
//208
91
tole_UnknownGrass
,
92
tole_Wasteland
,
// 209
93
tole_IndividualTree
,
//
94
tole_WoodyEnergyCrop
,
// 216
95
tole_PlantNursery
,
//
96
tole_Pylon
,
97
tole_WindTurbine
,
98
tole_WoodlandMargin
,
99
tole_Vildtager
,
100
tole_PermPastureTussockyWet
,
// 218
101
tole_Pond
,
// 219
102
tole_FishFarm
,
// 220
103
tole_UrbanVeg
,
// Urban vegetated but not garden or park 9
104
tole_RiverBed
,
//221
105
tole_DrainageDitch
,
//222
106
tole_Canal
,
//223
107
tole_RefuseSite
,
// 224
108
tole_WaterBufferZone
,
//226
109
tole_Missing
,
// 2112 will cause this polygon to be removed and its pixels replaced.
110
tole_Chameleon
,
// Special behaviour polygon - replaced when read in, but needs to be here for landscape manipulations
111
tole_Foobar
// 999 !! type unknown - should not happen
112
// Don't use this one when communicating with the landscape
113
// model, it will trip an error in most cases!
114
// --FN-- 24/11-2000.
115
}
116
TTypesOfLandscapeElement
;
117
118
// USE THE CODE BELOW TO TEST FOR MISSING CASES IN SWITCH STATEMENTS. PASTE BEFORE DEFAULT TO ID THOSE WHICH DO NOT GIVE AN
119
// ERROR AS ALREADY BEING PRESENT - REMEMBER TO ADD ANY NEW tole TYPES TO THIS LIST!
120
121
/*
122
case tole_Hedges: //130
123
case tole_RoadsideVerge: //13
124
case tole_Railway: //118
125
case tole_FieldBoundary: //160
126
case tole_Marsh: //95
127
case tole_Scrub: //70
128
case tole_Field: //20&30
129
case tole_PermPastureLowYield: //26
130
case tole_PermPastureTussocky: //27
131
case tole_PermanentSetaside: //33
132
case tole_PermPasture: //35
133
case tole_NaturalGrassDry: //110
134
case tole_RiversidePlants: //98
135
case tole_PitDisused: //75
136
case tole_RiversideTrees: //97
137
case tole_DeciduousForest: //40
138
case tole_MixedForest: //60
139
case tole_ConiferousForest: //50
140
case tole_YoungForest: //55
141
case tole_StoneWall: //15
142
case tole_Garden: //11//tole20
143
case tole_Track: //123
144
case tole_SmallRoad: //122
145
case tole_LargeRoad: //121
146
case tole_Building: //5
147
case tole_ActivePit: //115
148
case tole_Freshwater: //90
149
case tole_River: //96
150
case tole_Saltwater: //80
151
case tole_Coast: //100//tole30
152
case tole_HedgeBank: //140
153
case tole_BeetleBank: //141
154
case tole_Heath: //94
155
case tole_Orchard: //56
156
case tole_UnsprayedFieldMargin: //31
157
case tole_OrchardBand: //57
158
case tole_MownGrass: //58
159
case tole_BareRock: //69
160
case tole_AmenityGrass: //12
161
case tole_Parkland: //14
162
case tole_UrbanNoVeg: //8
163
case tole_UrbanPark: //17
164
case tole_BuiltUpWithParkland: //16
165
case tole_SandDune: //101
166
case tole_Copse: //41
167
case tole_IndividualTree: //42
168
case tole_RoadsideSlope: //201
169
case tole_MetalledPath: //202
170
case tole_Carpark: //203
171
case tole_Churchyard: //204
172
case tole_NaturalGrassWet: //205
173
case tole_Saltmarsh: //206
174
case tole_Stream: //207
175
case tole_HeritageSite: //208
176
case tole_WoodyEnergyCrop:// 59
177
case tole_PlantNursery: // 214
178
case tole_UnknownGrass:
179
case tole_Wasteland:
180
case tole_IndividualTree:
181
case tole_WoodyEnergyCrop:
182
case tole_PlantNursery:
183
case tole_Pylon:
184
case tole_WindTurbine:
185
case tole_WoodlandMargin:
186
case tole_Vildtager:
187
case tole_PermPastureTussockyWet: // 218
188
case tole_Pond: // 219
189
case tole_FishFarm
190
*/
191
192
#endif
193
tole_HedgeBank
Definition:
tole_declaration.h:68
tole_UrbanNoVeg
Definition:
tole_declaration.h:78
tole_Saltwater
Definition:
tole_declaration.h:66
tole_UnsprayedFieldMargin
Definition:
tole_declaration.h:72
tole_UrbanVeg
Definition:
tole_declaration.h:103
tole_Missing
Definition:
tole_declaration.h:109
tole_Building
Definition:
tole_declaration.h:62
tole_Freshwater
Definition:
tole_declaration.h:64
tole_Parkland
Definition:
tole_declaration.h:77
tole_StoneWall
Definition:
tole_declaration.h:56
tole_RiversidePlants
Definition:
tole_declaration.h:49
tole_FishFarm
Definition:
tole_declaration.h:102
tole_Garden
Definition:
tole_declaration.h:58
tole_Churchyard
Definition:
tole_declaration.h:86
tole_RoadsideSlope
Definition:
tole_declaration.h:83
tole_MixedForest
Definition:
tole_declaration.h:53
tole_Copse
Definition:
tole_declaration.h:82
tole_UnknownGrass
Definition:
tole_declaration.h:91
tole_BareRock
Definition:
tole_declaration.h:75
tole_Saltmarsh
Definition:
tole_declaration.h:88
tole_Railway
Definition:
tole_declaration.h:39
tole_RoadsideVerge
Definition:
tole_declaration.h:38
tole_Pylon
Definition:
tole_declaration.h:96
tole_WoodlandMargin
Definition:
tole_declaration.h:98
tole_WindTurbine
Definition:
tole_declaration.h:97
tole_ActivePit
Definition:
tole_declaration.h:63
tole_MownGrass
Definition:
tole_declaration.h:74
tole_YoungForest
Definition:
tole_declaration.h:55
tole_Stream
Definition:
tole_declaration.h:89
tole_Foobar
Definition:
tole_declaration.h:111
tole_ConiferousForest
Definition:
tole_declaration.h:54
tole_LargeRoad
Definition:
tole_declaration.h:61
tole_Marsh
Definition:
tole_declaration.h:41
tole_OrchardBand
Definition:
tole_declaration.h:73
tole_Pond
Definition:
tole_declaration.h:101
tole_PermPasture
Definition:
tole_declaration.h:47
tole_PermanentSetaside
Definition:
tole_declaration.h:46
tole_Canal
Definition:
tole_declaration.h:106
tole_UrbanPark
Definition:
tole_declaration.h:79
tole_Track
Definition:
tole_declaration.h:59
tole_NaturalGrassWet
Definition:
tole_declaration.h:87
tole_Orchard
Definition:
tole_declaration.h:71
tole_MetalledPath
Definition:
tole_declaration.h:84
tole_SandDune
Definition:
tole_declaration.h:81
tole_WoodyEnergyCrop
Definition:
tole_declaration.h:94
tole_River
Definition:
tole_declaration.h:65
tole_Scrub
Definition:
tole_declaration.h:42
tole_PermPastureTussocky
Definition:
tole_declaration.h:45
tole_Field
Definition:
tole_declaration.h:43
tole_PermPastureTussockyWet
Definition:
tole_declaration.h:100
tole_FieldBoundary
Definition:
tole_declaration.h:40
tole_PermPastureLowYield
Definition:
tole_declaration.h:44
tole_WaterBufferZone
Definition:
tole_declaration.h:108
tole_RiversideTrees
Definition:
tole_declaration.h:51
tole_RiverBed
Definition:
tole_declaration.h:104
TTypesOfLandscapeElement
TTypesOfLandscapeElement
Definition:
tole_declaration.h:36
tole_IndividualTree
Definition:
tole_declaration.h:93
tole_PitDisused
Definition:
tole_declaration.h:50
tole_Wasteland
Definition:
tole_declaration.h:92
tole_HeritageSite
Definition:
tole_declaration.h:90
tole_PlantNursery
Definition:
tole_declaration.h:95
tole_DrainageDitch
Definition:
tole_declaration.h:105
tole_Carpark
Definition:
tole_declaration.h:85
tole_DeciduousForest
Definition:
tole_declaration.h:52
tole_Hedges
Definition:
tole_declaration.h:37
tole_Vildtager
Definition:
tole_declaration.h:99
tole_RefuseSite
Definition:
tole_declaration.h:107
tole_Chameleon
Definition:
tole_declaration.h:110
tole_AmenityGrass
Definition:
tole_declaration.h:76
tole_NaturalGrassDry
Definition:
tole_declaration.h:48
tole_BeetleBank
Definition:
tole_declaration.h:69
tole_Coast
Definition:
tole_declaration.h:67
tole_BuiltUpWithParkland
Definition:
tole_declaration.h:80
tole_SmallRoad
Definition:
tole_declaration.h:60
tole_Fence
Definition:
tole_declaration.h:57
tole_Heath
Definition:
tole_declaration.h:70
Repo
ALMaSS_all
Landscape
tole_declaration.h
Generated on Thu Aug 15 2019 10:25:06 for Goose Management Model ODdox by
1.8.16