- Messages
- 94
I'd like to add polyline buildings (those found in extrusions.spb) that are common in European cities with scenproc. I though the easiest way was to put those buildings into different shp file (I cut them from the original buildings.shp and pasted them into new buildings2.shp with QGIS) but they don't show. Here's the code:
# Ljubljana City autogen
ImportOGR|C:\Users\Tomaz\Desktop\Projekt Ljubljana City\autogen shp\natural.shp|*|*|NOREPROJ
ImportOGR|C:\Users\Tomaz\Desktop\Projekt Ljubljana City\autogen shp\buildings.shp|*|*|NOREPROJ
ImportOGR|C:\Users\Tomaz\Desktop\Projekt Ljubljana City\autogen shp\buildings2.shp|*|*|NOREPROJ
#
SPLITGRID|AGN|*
#
SETAGNBUILDINGHEIGHT|*|1.0;0.5;0.0;0.0
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=forest|{e8b937fd-a1f2-4bd5-8548-2c80d30102af}
CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}
CreateAGNPolyBuild|FTYPE=POLYGON;FROMFILE=buildings2.shp|{2589a851-fcc9-4288-93a2-8acd1556f43a}|5|
#
ExportAGN|P3D v2|C:\Users\Tomaz\Desktop\Projekt Ljubljana City\texture
It works for first two agn building types in the code (they show in the sim) but not for agnpolybuild. I have OSM data. I was looking for some examples for adding polyline buildings with scenproc but didn't find anything helpful. Any help would be appreciated. There are some shapes which resembles those types of buildings in OSM data but I can't figure it out how to specify that in scenproc so those buildings would show like polyline (old eu style city buildings, like in paris, prague,..) and others which look like squares like flat roof. I know it's a rookie question but I'd like to learn. Please help!
# Ljubljana City autogen
ImportOGR|C:\Users\Tomaz\Desktop\Projekt Ljubljana City\autogen shp\natural.shp|*|*|NOREPROJ
ImportOGR|C:\Users\Tomaz\Desktop\Projekt Ljubljana City\autogen shp\buildings.shp|*|*|NOREPROJ
ImportOGR|C:\Users\Tomaz\Desktop\Projekt Ljubljana City\autogen shp\buildings2.shp|*|*|NOREPROJ
#
SPLITGRID|AGN|*
#
SETAGNBUILDINGHEIGHT|*|1.0;0.5;0.0;0.0
CREATEAGNPOLYVEG|FTYPE=POLYGON;type=forest|{e8b937fd-a1f2-4bd5-8548-2c80d30102af}
CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CREATEAGNGENBUILD|FTYPE=POLYGON;FROMFILE=buildings.shp;FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}
CreateAGNPolyBuild|FTYPE=POLYGON;FROMFILE=buildings2.shp|{2589a851-fcc9-4288-93a2-8acd1556f43a}|5|
#
ExportAGN|P3D v2|C:\Users\Tomaz\Desktop\Projekt Ljubljana City\texture
It works for first two agn building types in the code (they show in the sim) but not for agnpolybuild. I have OSM data. I was looking for some examples for adding polyline buildings with scenproc but didn't find anything helpful. Any help would be appreciated. There are some shapes which resembles those types of buildings in OSM data but I can't figure it out how to specify that in scenproc so those buildings would show like polyline (old eu style city buildings, like in paris, prague,..) and others which look like squares like flat roof. I know it's a rookie question but I'd like to learn. Please help!
