@cityssm/mpac-yetf
Version:
Parses the MPAC Year-End Tax File (YETF) into a usable object.
46 lines (44 loc) • 692 B
text/typescript
export const textureCodeNames = {
'0': 'Non-farm land',
'1': 'Sand',
'2': 'Sandy loam',
'3': 'Silt loam, loam',
'4': 'Clay loam',
'5': 'Clay',
'6': 'Swamp',
'7': 'Organic',
'8': 'Water',
'9': 'Rock'
} as const
export const soilClassPointsRemaining: Readonly<
Record<'1' | '2' | '3' | '4' | '5' | '6' | '8', { max: number; min: number; }>
> = {
'1': {
max: 95,
min: 85
},
'2': {
max: 80,
min: 70
},
'3': {
max: 65,
min: 55
},
'4': {
max: 50,
min: 40
},
'5': {
max: 35,
min: 25
},
'6': {
max: 20,
min: 5
},
'8': {
max: 0,
min: 0
}
} as const