pommesschranke wrote in Tue Nov 10, 2015 1:42 pm:maybe you see a mix of Pylons...
Aha. Looking closer at the screenshots I can only see one set of wires.
pommesschranke wrote in Tue Nov 10, 2015 1:42 pm:maybe you see a mix of Pylons...
$ python osm2city.py -f RJCJ/params.ini
Traceback (most recent call last):
File "osm2city.py", line 70, in <module>
import building_lib
File "C:\Users\Redpath\Documents\GitHub\osm2city\building_lib.py", line 18, in
<module>
import textures.manager as tm
File "C:\Users\Redpath\Documents\GitHub\osm2city\textures\manager.py", line 32
, in <module>
import tools
File "C:\Users\Redpath\Documents\GitHub\osm2city\tools.py", line 35, in <modul
e>
import matplotlib.pyplot as plt
File "c:\Program Files (x86)\Python2.7\lib\site-packages\matplotlib\__init__.p
y", line 124, in <module>
from matplotlib.rcsetup import (defaultParams,
File "c:\Program Files (x86)\Python2.7\lib\site-packages\matplotlib\rcsetup.py
", line 29, in <module>
from cycler import Cycler, cycler as ccycler
File "c:\Program Files (x86)\Python2.7\lib\site-packages\cycler.py", line 4, i
n <module>
import six
ImportError: No module named six
Redpath@Redpath-PC ~/Documents/GitHub/osm2city (master)
$ python osm2city.py -f RJCJ/params.ini
Traceback (most recent call last):
File "osm2city.py", line 70, in <module>
import building_lib
File "C:\Users\Redpath\Documents\GitHub\osm2city\building_lib.py", line 18, in
<module>
import textures.manager as tm
File "C:\Users\Redpath\Documents\GitHub\osm2city\textures\manager.py", line 32
, in <module>
import tools
File "C:\Users\Redpath\Documents\GitHub\osm2city\tools.py", line 35, in <modul
e>
import matplotlib.pyplot as plt
File "c:\Program Files (x86)\Python2.7\lib\site-packages\matplotlib\__init__.p
y", line 143, in <module>
raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil
Redpath@Redpath-PC ~/Documents/GitHub/osm2city (master)
$ python osm2city.py -f RJCJ/params.ini
WARNING:root:Unknown parameter: TEXTURES=<module 'textures' from 'C:\Users\Redpa
th\Documents\GitHub\osm2city\textures\__init__.pyc'>
WARNING:root:Unknown parameter: QUIET=False
--- Using the following parameters: ---
ATLAS_SUFFIX_DATE = False
BOUNDARY_CLIPPING = True
BOUNDARY_CLIPPING_BORDER_SIZE = 0.25
BOUNDARY_EAST = 141.71181
BOUNDARY_NORTH = 42.8199
BOUNDARY_SOUTH = 42.75388
BOUNDARY_WEST = 141.6404
BRIDGE_BODY_HEIGHT = 0.9
BRIDGE_LAYER_HEIGHT = 4.0
BRIDGE_MIN_LENGTH = 20.0
BUILDING_CITY_LEVELS_HEIGH = 5.0
BUILDING_CITY_LEVELS_LOW = 2.0
BUILDING_CITY_LEVELS_MODE = 3.5
BUILDING_CITY_LEVEL_HEIGHT_HEIGH = 3.6
BUILDING_CITY_LEVEL_HEIGHT_LOW = 3.1
BUILDING_CITY_LEVEL_HEIGHT_MODE = 3.3
BUILDING_COMPLEX_MIN_HEIGHT = 2
BUILDING_COMPLEX_ROOFS = 1
BUILDING_COMPLEX_ROOFS_MAX_AREA = 1000
BUILDING_COMPLEX_ROOFS_MAX_LEVELS = 3
BUILDING_FAKE_AMBIENT_OCCLUSION = True
BUILDING_FAKE_AMBIENT_OCCLUSION_HEIGHT = 6.0
BUILDING_FAKE_AMBIENT_OCCLUSION_VALUE = 0.6
BUILDING_MIN_AREA = 50.0
BUILDING_MIN_HEIGHT = 1
BUILDING_NEVER_SKIP_LEVELS = 6
BUILDING_REDUCE_CHECK_TOUCH = False
BUILDING_REDUCE_RATE = 0.5
BUILDING_REDUCE_THRESHOLD = 200.0
BUILDING_REMOVE_WITH_PARTS = False
BUILDING_SIMPLIFY_TOLERANCE = 1.0
BUILDING_SKEL_MAX_HEIGHT_RATIO = 0.7
BUILDING_SKEL_MAX_NODES = 10
BUILDING_SKEL_ROOFS = 1
BUILDING_SKEL_ROOFS_MAX_ANGLE = 50
BUILDING_SKEL_ROOFS_MIN_ANGLE = 20
BUILDING_UNKNOWN_ROOF_TYPE = flat
C2P_CABLES_NO_SHADOW = True
C2P_CATENARY_A_AERIALWAY_CABLE_CAR = 1500
C2P_CATENARY_A_AERIALWAY_CHAIR_LIFT = 1500
C2P_CATENARY_A_AERIALWAY_DRAG_LIFT = 1500
C2P_CATENARY_A_AERIALWAY_GONDOLA = 1500
C2P_CATENARY_A_AERIALWAY_GOODS = 1500
C2P_CATENARY_A_OVERHEAD_LINE = 600
C2P_CATENARY_A_POWER_LINE = 1500
C2P_CATENARY_A_POWER_MINOR_LINE = 1200
C2P_CATENARY_MIN_DISTANCE = 30
C2P_CLUSTER_AERIALWAY_MAX_LENGTH = 300
C2P_CLUSTER_OVERHEAD_LINE_MAX_LENGTH = 130
C2P_CLUSTER_POWER_LINE_MAX_LENGTH = 300
C2P_EXTRA_VERTICES_AERIALWAY_CABLE_CAR = 5
C2P_EXTRA_VERTICES_AERIALWAY_CHAIR_LIFT = 3
C2P_EXTRA_VERTICES_AERIALWAY_DRAG_LIFT = 0
C2P_EXTRA_VERTICES_AERIALWAY_GONDOLA = 3
C2P_EXTRA_VERTICES_AERIALWAY_GOODS = 5
C2P_EXTRA_VERTICES_OVERHEAD_LINE = 2
C2P_EXTRA_VERTICES_POWER_LINE = 3
C2P_EXTRA_VERTICES_POWER_MINOR_LINE = 3
C2P_POWER_LINE_ALLOW_100M = False
C2P_PROCESS_AERIALWAYS = True
C2P_PROCESS_OVERHEAD_LINES = True
C2P_PROCESS_POWERLINES = True
C2P_PROCESS_STREETLAMPS = True
C2P_RADIUS_AERIALWAY_CABLE_CAR = 0.05
C2P_RADIUS_AERIALWAY_CHAIR_LIFT = 0.05
C2P_RADIUS_AERIALWAY_DRAG_LIFT = 0.03
C2P_RADIUS_AERIALWAY_GONDOLA = 0.05
C2P_RADIUS_AERIALWAY_GOODS = 0.03
C2P_RADIUS_OVERHEAD_LINE = 0.02
C2P_RADIUS_POWER_LINE = 0.1
C2P_RADIUS_POWER_MINOR_LINE = 0.05
C2P_RADIUS_TOP_LINE = 0.02
C2P_STREETLAMPS_MAX_DISTANCE_LANDUSE = 100
C2P_STREETLAMPS_MIN_STREET_LENGTH = 20
C2P_STREETLAMPS_OTHER_DISTANCE = 70
C2P_STREETLAMPS_RESIDENTIAL_DISTANCE = 40
CLUSTER_MIN_OBJECTS = 5
CONCURRENCY = 1
CREATE_ATLAS = True
CREATE_BRIDGES_ONLY = 0
DEBUG_PLOT = 0
ELEV_MODE = FgelevCaching
ELEV_RASTER_X = 10
ELEV_RASTER_Y = 10
EMBANKMENT_TEXTURE = (0.5, 0.625)
EXPERIMENTAL_INNER = 0
FG_ELEV = "D:/Program Files/FlightGear/bin/Win64/fgelev.exe"
IGNORE_PKL_OVERWRITE = True
KEEP_LIST = []
LIGHTMAP_ENABLE = 1
LOD_ALWAYS_BARE_ABOVE_LEVELS = 10
LOD_ALWAYS_DETAIL_BELOW_AREA = 150
LOD_ALWAYS_DETAIL_BELOW_LEVELS = 3
LOD_ALWAYS_ROUGH_ABOVE_AREA = 500
LOD_ALWAYS_ROUGH_ABOVE_LEVELS = 6
LOD_PERCENTAGE_DETAIL = 0.5
LOGLEVEL = INFO
LU_LANDUSE_BUILDING_BUFFER_DISTANCE = 25
LU_LANDUSE_BUILDING_BUFFER_DISTANCE_MAX = 50
LU_LANDUSE_GENERATE_LANDUSE = True
LU_LANDUSE_MIN_AREA = 5000
MAX_OBJECTS = 2000
MAX_SLOPE_MOTORWAY = 0.03
MAX_SLOPE_RAILWAY = 0.04
MAX_SLOPE_ROAD = 0.08
MAX_TRANSVERSE_GRADIENT = 0.1
NO_ELEV = False
OBSTRUCTION_LIGHT_MIN_LEVELS = 10
OSM_FILE = buildings.osm
OVERLAP_CHECK = True
OVERLAP_CHECK_INSIDE = False
OVERLAP_RADIUS = 5
PATH_TO_OUTPUT = C:\Users\Redpath\Documents\FlightGear\RJCJ
PATH_TO_SCENERY = C:\Users\Redpath\Documents\FlightGear\TerraSync
PREFIX = RJCJ
SKIP_LIST = [u'Theologische Fakult\xe4t', 'Rhombergpassage', 55875208]
TILE_SIZE = 2000
TRAFFIC_SHADER_ENABLE = False
USE_PKL = False
quiet = False
vec2d = <class 'vec2d.vec2d'>
------
INFO:root:Executing tex.src\brick.py
INFO:root:Executing tex.src\industrial_metal_128x32m.py
INFO:root:Executing tex.src\stone.py
INFO:root:Executing tex.src\timber_framing_20mx24m.py
WARNING:root:Skipping non-existing texture tex.src/timber_framing_red_20x24m.png
WARNING:root:Skipping non-existing texture tex.src/timber_framing_yellow_20x24m.
png
WARNING:root:Skipping non-existing texture tex.src/timber_framing_white_20x24m.p
ng
WARNING:root:Skipping non-existing texture tex.src/timber_framing_blue_20x24m.pn
g
WARNING:root:Skipping non-existing texture tex.src/timber_framing_brown_20x24m.p
ng
WARNING:root:Skipping non-existing texture tex.src/timber_framing_pink_20x24m.pn
g
WARNING:root:Skipping non-existing texture tex.src/timber_framing_cream_20x24m.p
ng
INFO:root:Executing tex.src\de\commercial\facade_modern_21x42m.py
INFO:root:Executing tex.src\de\commercial\facade_modern_black_46x60m.py
INFO:root:Executing tex.src\de\commercial\facade_modern_commercial_35x20m.py
INFO:root:Executing tex.src\de\commercial\facade_modern_commercial_90x340m.py
INFO:root:Executing tex.src\de\commercial\facade_modern_commercial_green_red_27x
39m.py
INFO:root:Executing tex.src\de\commercial\facade_modern_commercial_red_gray_20x1
4m.py
INFO:root:Executing tex.src\de\industrial\facade_industrial_red_white_24x18m.py
INFO:root:Executing tex.src\de\industrial\facade_industrial_white_26x14m.py
INFO:root:Executing tex.src\de\industrial\old_factory_30x07m.py
INFO:root:Executing tex.src\de\industrial\transformer_07x03m.py
INFO:root:Executing tex.src\de\residential\CIMG8177_18x14m.py
INFO:root:Executing tex.src\de\residential\coloured_6x12m.py
INFO:root:Executing tex.src\de\residential\cream2_08x05m.py
INFO:root:Executing tex.src\de\residential\cream3_10x06m.py
INFO:root:Executing tex.src\de\residential\cream_high_08x13m.py
INFO:root:Executing tex.src\de\residential\DSCF9495_pow2.py
INFO:root:Executing tex.src\de\residential\DSCF9503_noroofsec_pow2.py
INFO:root:Executing tex.src\de\residential\DSCF9678_pow2.py
INFO:root:Executing tex.src\de\residential\DSCF9710.py
INFO:root:Executing tex.src\de\residential\DSCF9726_noroofsec_pow2.py
INFO:root:Executing tex.src\de\residential\facade_modern36x36_12.py
INFO:root:Executing tex.src\de\residential\facade_modern_residential_25x15m.py
INFO:root:Executing tex.src\de\residential\facade_modern_residential_26x34m.py
INFO:root:Executing tex.src\de\residential\hotel_18x40m.py
INFO:root:Executing tex.src\de\residential\LZ_old_bright_bc2.py
INFO:root:Executing tex.src\de\residential\red_6x12m.py
INFO:root:Executing tex.src\de\residential\wbs70_36x36m.py
INFO:root:Executing tex.src\de\residential\wohnheime_petersburger.py
INFO:root:Executing tex.src\gb\residential\plaster1_07x03m.py
INFO:root:Executing tex.src\gb\residential\plaster2_09x05m.py
INFO:root:Executing tex.src\gb\residential\plaster3_10x03m.py
INFO:root:Executing tex.src\gb\residential\sandstone1_13x06m.py
INFO:root:Executing tex.src\gb\residential\sandstone2_13x03m.py
INFO:root:Executing tex.src\gb\residential\sandstone3_16x03m.py
INFO:root:Executing tex.src\gb\residential\sandstone4_09x05m.py
INFO:root:Executing tex.src\gb\residential\sandstone5_06x07m.py
INFO:root:Executing tex.src\gb\residential\sandstone6_16x11m.py
INFO:root:Executing tex.src\residential\plaster_6x12m.py
INFO:root:Executing tex.src\residential\timber_framing_12mx12m.py
WARNING:root:Skipping non-existing texture tex.src/residential/timber_framing_br
own_12x12m.png
INFO:root:Executing tex.src\us\commercial\10storymodernconcrete.py
INFO:root:Executing tex.src\us\commercial\15storyltbrownconcroffice3.py
INFO:root:Executing tex.src\us\commercial\18storyoffice.py
INFO:root:Executing tex.src\us\commercial\19storyretromodern.py
INFO:root:Executing tex.src\us\commercial\20storybrownconcrmodern.py
INFO:root:Executing tex.src\us\commercial\20storygreycncrglassmodern.py
INFO:root:Executing tex.src\us\commercial\25storyBrownWide1.py
INFO:root:Executing tex.src\us\commercial\27storyConcrBrownGlass.py
INFO:root:Executing tex.src\us\commercial\28storymodern.py
INFO:root:Executing tex.src\us\commercial\30storyconcrbrown4.py
INFO:root:Executing tex.src\us\commercial\35storyconcrmodernwhite.py
INFO:root:Executing tex.src\us\commercial\36storyconcrglassmodern.py
INFO:root:Executing tex.src\us\commercial\40storymodern.py
INFO:root:Executing tex.src\us\commercial\41storyconcrglasswhitemodern2.py
INFO:root:Executing tex.src\us\commercial\45storyglassmodern.py
INFO:root:Executing tex.src\us\commercial\50storySteelGlassmodern1.py
INFO:root:Executing tex.src\us\commercial\5storywhite.py
INFO:root:Executing tex.src\us\commercial\7storymodernsq.py
INFO:root:Executing tex.src\us\commercial\US-dcdupontconcr5st.py
INFO:root:Executing tex.src\us\commercial\US-dchotelDC2_8st.py
INFO:root:Executing tex.src\us\commercial\US-dcofficeconcrwhite6-7st.py
INFO:root:Executing tex.src\us\commercial\US-dcofficeconcrwhite8st.py
INFO:root:Executing tex.src\us\commercial\US-OfficeModern-42st.py
WARNING:root:Skipping non-existing texture tex.src/de/castle.jpg
INFO:root:Final atlas height 65536
INFO:root:Saving tex/atlas_facades.pkl
INFO:root:reading elevation data
INFO:root:Loading RJCJ\elev.pkl
WARNING:root:Loading elev cache failed ([Errno 2] No such file or directory: 'RJ
CJ\\elev.pkl')
INFO:root:Spawning fgelev
INFO:root:cmd line: "D:/Program Files/FlightGear/bin/Win64/fgelev.exe" --expire
1000000 --fg-scenery C:\Users\Redpath\Documents\FlightGear\TerraSync
The device is not ready.
CRITICAL:root:Skipped 20 lines
CRITICAL:root:1 141.676 42.7869
CRITICAL:root:fgelev returned <>, resulting in list index out of range. Did fgel
ev start OK (Record : 1)?
Traceback (most recent call last):
File "osm2city.py", line 687, in <module>
logging.debug("height at origin" + str(elev(vec2d(0,0))))
File "C:\Users\Redpath\Documents\GitHub\osm2city\tools.py", line 294, in __cal
l__
elev = really_probe(position)
File "C:\Users\Redpath\Documents\GitHub\osm2city\tools.py", line 270, in reall
y_probe
raise RuntimeError("fgelev errors are fatal.")
RuntimeError: fgelev errors are fatal.
INFO:root:Saving tex/atlas_facades.pkl
INFO:root:reading elevation data
INFO:root:Loading RJCJ\elev.pkl
INFO:root:OK
INFO:root:Spawning fgelev
INFO:root:cmd line: "C:/Users/Redpath/Documents/Jonathans Folder/FlightGear 3.7
0/bin/fgelev.exe" --expire 1000000 --fg-scenery C:\Users\Redpath\Documents\Flig
tGear\TerraSync
INFO:root:Reading the OSM file might take some time ...
INFO:root:min/max 181.0000000 91.0000000 -181.0000000 -91.0000000
INFO:root:parsed 0 buildings.
INFO:root:Generating clusters 3217567.8301639 5355926.1868954 -26402070.6751097
-14862196.3531143
cluster: -14808.0000000 -10108.0000000
delta: -29619638.5052736 -20218122.5400098
min: 3217567.8301639 5355926.1868954
max: -26402070.6751097 -14862196.3531143
INFO:root:read 0 objects from 0 tiles
clusters -14808.0000000 -10108.0000000
total buildings 0
parse errors 0
written 0
four-sided 0
skipped
small 0
nearby 0
no elevation 0
no texture 0
roof-types
used tex 0 out of 160 ( 0 %)
complex 0
roof_errors 0
ground nodes 0
simplified 0
vertices 0
surfaces 0
LOD
LOD bare 0 ( 0 %)
LOD rough 0 ( 0 %)
LOD detail 0 ( 0 %)
area >=
1 m^2 0 |
10 m^2 0 |
20 m^2 0 |
50 m^2 0 |
100 m^2 0 |
200 m^2 0 |
500 m^2 0 |
1000 m^2 0 |
2000 m^2 0 |
5000 m^2 0 |
10000 m^2 0 |
20000 m^2 0 |
50000 m^2 0 |
number of corners >=
3 0 |
4 0 |
5 0 |
6 0 |
7 0 |
8 0 |
9 0 |
complex 0 |
INFO:root:done.
- Code: Select all
WARNING:root:Loading elev cache failed ([Errno 2] No such file or directory: 'RJ
CJ\\elev.pkl')
INFO:root:Spawning fgelev
INFO:root:cmd line: "D:/Program Files/FlightGear/bin/Win64/fgelev.exe" --expire
1000000 --fg-scenery C:\Users\Redpath\Documents\FlightGear\TerraSync
The device is not ready.
Is it possible to manually edit the altitude of the buildings in the .stg? I really only wanted the airport terminal, so I do not mind if the city buildings start to float or somehing.
Users browsing this forum: No registered users and 6 guests