My main use of FS2 is soaring in the Alps so my primary goal of cultivation is to get trees on the mountain slopes.
When you are soaring you never know where you will be up close and personal with the scenery.
As I stated in a previous post, the tree detection functionality works quite well at matching the real tree distribution.
However there is one issue in high mountains where the histogram that gives good detection just about everywhere will
detect spurious vegetation in the shadows on the north face of mountain peaks. It is disconcerting to see a tree or two perched on top of a 2800M rocky crest.
I did not want to fiddle with the histogram and lose tree detection elsewhere so I was looking for a way to eliminate the spurious trees.
I created a separate layer in OSM for the area of interest and drew a polygon around the rocky peak just above the tree line and tagged it landuse="rock".
Then in the SPC I used the AddAttributeIfInside and skip="yes" trick to flush the problem features before generating trees and that eliminated the problem trees.
While in JOSM I noticed a landuse value of "alpine_forest" and that got me thinking about the more general tree cultivation issue of generic broadleaf/conifer mix for cultivation regardless of altitude. I tried adding a second polygon around the peak tagged alpine_forest and a third tagged subalpine_forest.
That gave me 3 vague elevation contours. With a bit of scenProc fiddling I was able to generate three different zones with different species mix from the valley floor to the mountain crest.
I think it does look better having conifers at high altitudes rather than a deciduous tree right next to a scree slope.
It only takes a few minutes to sketch rough contours around the major mountain peaks.
The following SPC is how I got scenProc to handle the contours
ImportOGR|autogen_trees.shp|*|*|AUTODETECT
PlacePointsInPolygon|*|0.0001;0.0001|1.0;1.0
# load vegetation zone contours
ImportOGR|vegetation_zones.osm|*|*|NOREPROJ
AddAttributeIfInside|*|landuse="rock"|String;skip|yes
AddAttributeIfInside|*|landuse="alpine_forest"|String;alpine|yes
AddAttributeIfInside|*|landuse="subalpine_forest"|String;subalpine|yes
#
# eliminate spurious features in rock zone
UnloadFeatures|skip="yes"
#
# generate conifers in alpine zone
CreateAF2Plant|alpine="yes"|8;25|conifer
#
# eliminate alpine features so they don't get replanted as subalpine
UnloadFeatures|alpine="yes"
#
# mixed forest in subalpine zone
CreateAF2Plant|subalpine="yes" And FRAND >= 0.5|8;25|conifer
CreateAF2Plant|subalpine="yes" And FRAND < 0.5|10;20|broadleaf
#
# eliminate subalpine features so they don't get replanted
UnloadFeatures|subalpine="yes"
#
# remaining features are lower slopes or valley floor
# mostly deciduous forest
CreateAF2Plant|FRAND >= 0.8|8;25|conifer
CreateAF2Plant|FRAND < 0.8|10;20|broadleaf
ExportTOC|.\|cultivate
cheers
Stu