Arno,
I am trying to test out ScenProc to generate some trees and buildings. I downloaded the monaco shapefiles from GEOFABRIK and selected the buildings.shp file. My SPC file looks like the following:
____________________________________________________________
#
IMPORTSHP|monaco_buildings.shp|NOREPROJ
#
SPLITGRID|0.0146484375;0.010986328125
#
#CREATEAGNPOLYVEG|type=forest|{e8b937fd-a1f2-4bd5-8548-2c80d30102af}
CREATEAGNGENBUILD|shpfile=monaco_buildings.shp|{00000000-0000-0000-0000-000000000000}
#
WRITEAGNFILES
____________________________________________________
When I run it, I get the following:
scenProc version 1.0.0.0 - Arno Gerretsen
Initializing processing steps...
> found AddAttribute
> found AssignUuid
> found CreateAGNGenBuild
> found CreateAGNLibObj
> found CreateAGNPolyBuild
> found CreateAGNPolyVeg
> found CreateAGNRectVeg
> found CreateAGNRowHouse
> found ImportSHP
> found CreateMaterial
> found CreatePolygon
> found CreateTestData
> found ExportBGL
> found ExportSHP
> found ExtrudeLine
> found FilterGeoLocation
> found FilterLineOnPolygon
> found ImportDXF
> found LocalProjection
> found SetAGNBuildingTexture
> found SetAGNBuildingHeight
> found SetAGNRowHouseTexture
> found SplitGrid
> found WriteAGNFiles
Parsing apProc configuration monaco.spc
Reading SHP file monaco_buildings.shp
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'shapelib.dll'
: The specified module could not be found. (Exception from HRESULT:0x8007007E)
at MapTools.ShapeLib.SHPOpen(String szShapeFile, String szAccess)
at ASToFra.scenProc.ImportSHP.ReadSHPFile(String filenam
at ASToFra.scenProc.ImportSHP.Process(List`1 cells, Stri
at ASToFra.scenProc.SceneryProcessor.Process()
at ASToFra.Launcher_scenProc.Program.Main(String[] args)
Is it maybe because I am using Windows 7 64-bit?
(I did make sure that shapelib.dll is in the same directory as scenProc.exe
Thanks
Dave
I am trying to test out ScenProc to generate some trees and buildings. I downloaded the monaco shapefiles from GEOFABRIK and selected the buildings.shp file. My SPC file looks like the following:
____________________________________________________________
#
IMPORTSHP|monaco_buildings.shp|NOREPROJ
#
SPLITGRID|0.0146484375;0.010986328125
#
#CREATEAGNPOLYVEG|type=forest|{e8b937fd-a1f2-4bd5-8548-2c80d30102af}
CREATEAGNGENBUILD|shpfile=monaco_buildings.shp|{00000000-0000-0000-0000-000000000000}
#
WRITEAGNFILES
____________________________________________________
When I run it, I get the following:
scenProc version 1.0.0.0 - Arno Gerretsen
Initializing processing steps...
> found AddAttribute
> found AssignUuid
> found CreateAGNGenBuild
> found CreateAGNLibObj
> found CreateAGNPolyBuild
> found CreateAGNPolyVeg
> found CreateAGNRectVeg
> found CreateAGNRowHouse
> found ImportSHP
> found CreateMaterial
> found CreatePolygon
> found CreateTestData
> found ExportBGL
> found ExportSHP
> found ExtrudeLine
> found FilterGeoLocation
> found FilterLineOnPolygon
> found ImportDXF
> found LocalProjection
> found SetAGNBuildingTexture
> found SetAGNBuildingHeight
> found SetAGNRowHouseTexture
> found SplitGrid
> found WriteAGNFiles
Parsing apProc configuration monaco.spc
Reading SHP file monaco_buildings.shp
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'shapelib.dll'
: The specified module could not be found. (Exception from HRESULT:0x8007007E)
at MapTools.ShapeLib.SHPOpen(String szShapeFile, String szAccess)
at ASToFra.scenProc.ImportSHP.ReadSHPFile(String filenam
at ASToFra.scenProc.ImportSHP.Process(List`1 cells, Stri
at ASToFra.scenProc.SceneryProcessor.Process()
at ASToFra.Launcher_scenProc.Program.Main(String[] args)
Is it maybe because I am using Windows 7 64-bit?
(I did make sure that shapelib.dll is in the same directory as scenProc.exe
Thanks
Dave