- Messages
- 247
- Country

Hello all,
This is my first venture into scenProc, and using the manual I've tried to piece together some code to process road and add different light poles depending on what kind of road it is. I see in the code it's creating points, but then no polygons or objects are created, and subsequently no autogen files are created... Form the manual I'm, not getting the sense that I'm doing anything wrong, so I'm pretty stumped on what my error is. Any ideas? See my code below.
I was trying to attached the log file, but have no idea of how to export the event log... At any rate, it shows the creation of points along the roads as specified, but never creates the actual polygons and all subsequent steps don't produce any results.
Any pointers would be greatly appreciated!
This is my first venture into scenProc, and using the manual I've tried to piece together some code to process road and add different light poles depending on what kind of road it is. I see in the code it's creating points, but then no polygons or objects are created, and subsequently no autogen files are created... Form the manual I'm, not getting the sense that I'm doing anything wrong, so I'm pretty stumped on what my error is. Any ideas? See my code below.
Code:
ImportOGR|C:\Users\Benjamin van Soldt\Documents\Airport Projects\Chattanooga_KCHA\KCHA_Large_GISdata.osm|*|*|AUTODETECT
#
SplitGrid|AGN|*|building="*"
#Make doublelights on bigger road
PlacePointsAlongLine|FTYPE="LINE" AND highway="motorway"|CONTINUOUS|150;150|0;0|0|String;doublelight1|LIGHT|HDG1
PlacePointsAlongLine|FTYPE="LINE" AND highway="primary"|CONTINUOUS|150;150|0;0|0|String;doublelight2|LIGHT|HDG2
PlacePointsAlongLine|FTYPE="LINE" AND highway="secondary"|CONTINUOUS|150;150|0;0|0|String;doublelight3|LIGHT|HDG3
#
PointToPolygon|type="doublelight1"|8.107347;0.386563|HDG1|String;type|doublelightpoly1
PointToPolygon|type="doublelight2"|8.107347;0.386563|HDG2|String;type|doublelightpoly2
PointToPolygon|type="doublelight3"|8.107347;0.386563|HDG3|String;type|doublelightpoly3
#
CreateAGNLibObject|type="doublelightpoly1"|{7d30ef69-40b0-3f63-6abf-5a950ebe84b3}
CreateAGNLibObject|type="doublelightpoly2"|{7d30ef69-40b0-3f63-6abf-5a950ebe84b3}
CreateAGNLibObject|type="doublelightpoly3"|{7d30ef69-40b0-3f63-6abf-5a950ebe84b3}
#Make single lights on smaller roads
PlacePointsAlongLine|FTYPE="LINE" AND highway="residential"|CONTINUOUS|150;150|5;5|0|String;singlelight|LIGHT|HDG
#
PointToPolygon|type="singlelight"|4.179772;0.375349|HDG|String;type|singlelightpoly
#
CreateAGNLibObject|type="singlelightpoly"|{43ca0530-4a04-9ff0-f40c-9283a7083267}
#
ExportAGN|FSX|C:\Users\Benjamin van Soldt\Documents\Airport Projects\Chattanooga_KCHA\scenProc AGN
I was trying to attached the log file, but have no idea of how to export the event log... At any rate, it shows the creation of points along the roads as specified, but never creates the actual polygons and all subsequent steps don't produce any results.
Any pointers would be greatly appreciated!