Posts by TomSimMuc
-
-
-
-
-
-
-
-
-
autobahn.shp is just an example. You can generate it i.e. with QGIS.
A good article to generate a shp file: google for "Creating Shapefiles in QGIS"
Regards,
Thomas
-
thank you for your hints.
Regarding the plants, I found that additional randomness looks more natural.
You could try this:
#Plants
PlacePointsInPolygon|landuse="forest"|0.00015;0.00015|0.7;0.7
#
CreateAF2Plant|landuse="forest" And FRAND >= 0.5|10;24|broadleaf
CreateAF2Plant|landuse="forest" And FRAND < 0.5|10;22|coniferAdditionaly you might define a shape, where you want to exclude buildings or trees (taken from recent tip of Arno himself):
# Load Shapefile that defines an area like airports or motorways
# that should filter out objects like trees etc.
ImportOGR|autobahn.shp|*|*|NOREPROJ# Filter out the buildings, lights and plants that are within
# the specified polygon
AddAttributeIfInside|building="*"|FROMFILE="autobahn.shp"|String;skip|yes
AddAttributeIfInside|point="light"|FROMFILE="autobahn.shp"|String;skip|yes
AddAttributeIfInside|FTYPE="POINT" And landuse="forest"|FROMFILE="autobahn.shp"|String;skip|yesUnloadFeatures|skip="yes"
Regards
Thomas
-
-
To bring a little bit more structure into the street lighting, I changed some street lamp types to slightly violet or greenish.
This is the part of the ScenProc file which shows how it is done:
#Lights
PlacePointsAlongLine|highway="motorway"|CONTINUOUS|30;30|10;10|1|String;point|olight|hdg
PlacePointsAlongLine|highway="primary"|CONTINUOUS|30;30|5;5|25|String;point|olight|hdg
PlacePointsAlongLine|highway="secondary"|SINGLE|40;40|5;5|10|String;point|wlight|hdg
PlacePointsAlongLine|highway="tertiary"|SINGLE|30;30|5;5|10|String;point|wlight|hdg
PlacePointsAlongLine|highway="residential"|CONTINUOUS|30;30|5;5|10|String;point|blight|hdg
PlacePointsAlongLine|highway="living_street"|CONTINUOUS|30;30|5;5|10|String;point|glight|hdg
#
CreateAF2Light|point="olight"|1.0;0.6;0.1|5|0;0;1|15
CreateAF2Light|point="wlight"|0.9;0.9;0.9|3|0;0;1|8
CreateAF2Light|point="glight"|0.6;0.8;0.7|3|0;0;1|8
CreateAF2Light|point="blight"|0.6;0.6;0.8|3|0;0;1|8Regards,
Thomas
-
-
Hi Ray,
thank you for your nice comment.
The .toc file also covers the rest of Munich, has 4 000 000 lines of code and is 150 MB big, zipped 11 MB small.
Beside 250 000 plants it also contains 140 000 lights.
Regards
Thomas
-
-