Hi, Everyone, I have been working on new roads in P3Dv5 and got rid of the landbridges. Now I have flat roads over water. Essentially, I have already successfully managed to flatten the roads over the water channels using a combination of ScenProc and SBuilder compiling, which completely destroyed the ugly default mudwalls. My final goal now is to automate the generation of over-water landable bridges with physical collision decks over these flat water gaps without having to manually trace thousands of lines. How can I do that? Here is a photo of what I achieved currently:
here is my baseline code, that is throwing errors in scenproc:
# 1. Import your massive global road network shapefile
ImportOGR|C:\Scenery\gis_osm_roads_free_1.shp|*|*|NOREPROJ
# 2. Import your precise local watermask polygon shapefile
ImportOGR|C:\Scenery\gis_osm_water_a_free_1.shp|*|*|NOREPROJ
# =====================================================================
# NEED HELP HERE:
# What is the correct v3.2 spatial command to isolate roads crossing water?
# Currently getting "Failed to find processing step" for standard relation steps.
# =====================================================================
[Spatial Step Name Here]|FTYPE="LINE"|FTYPE="POLYGON"|IsABridge="True"
# 3. Create the 3D bridges utilizing the requested v3.2 compiler layout
CreateXMLBridge|IsABridge="True"|*|20.0|*|1.0|0.0|{ad6a7f62-c374-4c56-9e97-2f606671a5d1}|{7ed5603a-d17a-4246-bc3d-baadea6909fa}|{a0f564da-00f2-46ee-acf6-73febbc36608}
# 4. Compiling via FSX format to bypass P3Dv5 memory limits and XML crashes
ExportBGL|FSX|NYC_Drivable_Bridges|C:\Scenery\Output
P.S. One additional question: For iconic suspension spans like the Verrazzano-Narrows, Brooklyn, and Manhattan bridges, the deck elevation needs to be much higher (40m to 70m) compared to standard 15m overpasses to clear shipping channels and match the visual models.
What is the cleanest way in scenProc to handle these height overrides? Should I use a bounding box polygon to filter and assign a higher altitude attribute to those specific locations before calling CreateXMLBridge?
here is my baseline code, that is throwing errors in scenproc:
# 1. Import your massive global road network shapefile
ImportOGR|C:\Scenery\gis_osm_roads_free_1.shp|*|*|NOREPROJ
# 2. Import your precise local watermask polygon shapefile
ImportOGR|C:\Scenery\gis_osm_water_a_free_1.shp|*|*|NOREPROJ
# =====================================================================
# NEED HELP HERE:
# What is the correct v3.2 spatial command to isolate roads crossing water?
# Currently getting "Failed to find processing step" for standard relation steps.
# =====================================================================
[Spatial Step Name Here]|FTYPE="LINE"|FTYPE="POLYGON"|IsABridge="True"
# 3. Create the 3D bridges utilizing the requested v3.2 compiler layout
CreateXMLBridge|IsABridge="True"|*|20.0|*|1.0|0.0|{ad6a7f62-c374-4c56-9e97-2f606671a5d1}|{7ed5603a-d17a-4246-bc3d-baadea6909fa}|{a0f564da-00f2-46ee-acf6-73febbc36608}
# 4. Compiling via FSX format to bypass P3Dv5 memory limits and XML crashes
ExportBGL|FSX|NYC_Drivable_Bridges|C:\Scenery\Output
P.S. One additional question: For iconic suspension spans like the Verrazzano-Narrows, Brooklyn, and Manhattan bridges, the deck elevation needs to be much higher (40m to 70m) compared to standard 15m overpasses to clear shipping channels and match the visual models.
What is the cleanest way in scenProc to handle these height overrides? Should I use a bounding box polygon to filter and assign a higher altitude attribute to those specific locations before calling CreateXMLBridge?
Last edited:

