Board index FlightGear Development Scenery

LOWI city buildings

Questions and discussion about enhancing and populating the FlightGear world.

Re: LOWI city buildings

Postby radi » Sun Sep 28, 2014 8:48 am

Image

New release!

The populated area is a bit smaller than previously, but now features textured railways and bridges (tough they lack pillars ATM). DL first post.

If someone feels like creating a regionalized materials.xml that replaces the city texture with something uniform (as seen in the screenshot) for the LOWI region, I'm more than happy to include it in the DL.
OSM buildings for LOWI, EDDC
Custom scenery for VHXX YMML
Edit .stg via the FG Object Placement Tool
radi
 
Posts: 659
Joined: Mon Aug 25, 2008 5:24 pm
Location: YMML, EDDC

Re: LOWI city buildings

Postby Catalanoic » Sun Sep 28, 2014 10:26 pm

Stunning screenshot!
User avatar
Catalanoic
 
Posts: 1099
Joined: Mon Mar 05, 2012 1:33 am
Location: Barcelona (LEBL)
Callsign: Catalanoic
Version: 2017.3
OS: Lubuntu/Windows 7

Re: LOWI city buildings

Postby abassign » Wed Oct 22, 2014 8:27 pm

I was able to start the application, but when I start the UFO on LOWI here is what I see:

Image

When I took off, I rotate the UFO by 180 °, I look towards EST, and I do not see anything! :(

Image

This is the .ini file:

Code: Select all
# PARAMETERS FOR ALL osm2city MODULES
#=============================================================================

# -- Scenery folder, typically a geographic name or the ICAO code of the airport
PREFIX = "LOWI"

# -- Boundary of the scenery in degrees (use "." not ","). The example below is from LOWI.
BOUNDARY_WEST = 11.16
BOUNDARY_SOUTH = 47.20
BOUNDARY_EAST = 11.79
BOUNDARY_NORTH = 47.38

# -- Full path to the scenery folder without trailing slash. There must be
#    an OBJECTS/ folder below PATH_TO_SCENERY
PATH_TO_SCENERY = "/home/abassign/fgfs/install/flightgear/fgdata/Scenery"

OSM_FILE = "buildings.osm"  # -- file name of the file with OSM data. Must reside in $PREFIX
USE_PKL = False             # -- instead of parsing the OSM file, read a previously created cache file $PREFIX/buildings.pkl
IGNORE_PKL_OVERWRITE = True # -- Ignore overwriting of Cache File

# -- write .stg, .ac, .xml to this path. If empty, data is automatically written to correct location
#    in $PATH_TO_SCENERY
PATH_TO_OUTPUT = ""

NO_ELEV = False             # -- skip elevation probing
ELEV_MODE = "FgelevCaching" # -- elev probing mode. Possible values are FgelevCaching (recommended), Manual, or Telnet
ELEV_RASTER_X = 10          # -- Distance between raster points for the derived
ELEV_RASTER_Y = 10          #    elevation map (x is horizontal, y is vertical)
FG_ELEV = "/home/abassign/fgfs/install/flightgear/bin/fgelev"



The start parameters:

Code: Select all
   /home/abassign/fgfs/install/fgrun/bin/../../flightgear/bin/fgfs
  --fg-root=/home/abassign/fgfs/install/fgrun/bin/../../flightgear/fgdata
  --fg-scenery=/home/abassign/fgfs/install/fgrun/bin/../../flightgear/fgdata/Scenery
  --airport=LOWI
  --aircraft=ufo
  --disable-random-objects
  --enable-auto-coordination
  --enable-horizon-effect
  --enable-enhanced-lighting
  --enable-distance-attenuation
  --disable-ai-models
  --disable-ai-traffic
  --disable-real-weather-fetch
  --bpp=32
  --texture-filtering=16
  --prop:/sim/rendering/multi-sample-buffers=1
  --prop:/sim/rendering/multi-samples=4
  --timeofday=noon
  --enable-terrasync
  --httpd=5500
  --props=5501
  --callsign=I-BASSY
  --disable-fgcom
  --ai-scenario=aircraft_demo


This is the log file:

Image

What can I do to correct the problem ?

I try with LIME Airport (Orio Bergamo - Italy) and I discovered...

Image

The home are at the sea level (?!)...

Reading the output, I notice a lot of this messages, there is a relation with the error ?

Code: Select all
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e010n40/e016n47/3220073.stg'
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: LOWI city buildings

Postby radi » Wed Oct 22, 2014 11:17 pm

The elevation probing failed. What version of FG are you running? Try the lastest osm2city from git. Try http://wiki.flightgear.org/Osm2city.py#Troubleshooting . If that doen't help, please post the complete osm2city output.
OSM buildings for LOWI, EDDC
Custom scenery for VHXX YMML
Edit .stg via the FG Object Placement Tool
radi
 
Posts: 659
Joined: Mon Aug 25, 2008 5:24 pm
Location: YMML, EDDC

Re: LOWI city buildings

Postby abassign » Wed Oct 22, 2014 11:22 pm

The the the FGFS version is 3.3
Code: Select all
Reading parameters from file: LIME/params.ini
--- Using the following parameters: ---
BOUNDARY_EAST = 9.8325
BOUNDARY_NORTH = 45.767
BOUNDARY_SOUTH = 45.6269
BOUNDARY_WEST = 9.5675
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_ROOFS = 1
BUILDING_COMPLEX_ROOFS_MAX_AREA = 2000
BUILDING_COMPLEX_ROOFS_MAX_LEVELS = 5
BUILDING_MIN_AREA = 50.0
BUILDING_MIN_HEIGHT = 3.4
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
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
DEBUG_PLOT = 0
ELEV_MODE = FgelevCaching
ELEV_RASTER_X = 10
ELEV_RASTER_Y = 10
EXPERIMENTAL_INNER = 0
EXPERIMENTAL_USE_SKEL = 0
FG_ELEV = /home/abassign/fgfs/install/flightgear/bin/fgelev
IGNORE_PKL_OVERWRITE = True
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
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 = 1000
MAX_SLOPE_MOTORWAY = 0.03
MAX_SLOPE_ROAD = 0.08
MAX_TRANSVERSE_GRADIENT = 0.1
NO_ELEV = False
OBSTRUCTION_LIGHT_MIN_LEVELS = 15
OSM_FILE = buildings.osm
OVERLAP_CHECK = True
OVERLAP_RADIUS = 5
PATH_TO_OUTPUT =
PATH_TO_SCENERY = /home/abassign/fgfs/install/flightgear/fgdata/Scenery
PREFIX = LIME
SKEL_MAX_HEIGHT_RATIO = 0.7
SKEL_MAX_NODES = 10
SKIP_LIST = ["Dresden Hauptbahnhof, Semperoper, Zwinger, Hofkirche, Frauenkirche, Coselpalais, Palais im Großen Garten, Residenzschloss Dresden, Fernsehturm, Fernsehturm Dresden, 87807683"]
TILE_SIZE = 2000
TRAFFIC_SHADER_ENABLE = False
USE_PKL = False
vec2d = <class 'vec2d.vec2d'>
------
textures: init
tools: init <tools.Stats object at 0x7fba68ed4b50>
FIXME: ignoring all but first inner way (5 total) of ID 1229362
FIXME: ignoring all but first inner way (2 total) of ID 1296504
FIXME: ignoring all but first inner way (3 total) of ID 1308519
FIXME: ignoring all but first inner way (2 total) of ID 1314575
FIXME: ignoring all but first inner way (2 total) of ID 1339668
FIXME: ignoring all but first inner way (2 total) of ID 1561783
FIXME: ignoring all but first inner way (4 total) of ID 1628297
FIXME: ignoring all but first inner way (2 total) of ID 1765822
FIXME: ignoring all but first inner way (2 total) of ID 1900167
FIXME: ignoring all but first inner way (2 total) of ID 2081101
FIXME: ignoring all but first inner way (2 total) of ID 2118326
FIXME: ignoring all but first inner way (3 total) of ID 2179021
FIXME: ignoring all but first inner way (2 total) of ID 2224997
FIXME: ignoring all but first inner way (2 total) of ID 2250575
FIXME: ignoring all but first inner way (2 total) of ID 2273628
FIXME: ignoring all but first inner way (2 total) of ID 2440389
FIXME: ignoring all but first inner way (3 total) of ID 2539712
FIXME: ignoring all but first inner way (11 total) of ID 2624173
FIXME: ignoring all but first inner way (2 total) of ID 2800474
cluster:  441.0000000 270.0000000
  delta:  880781.0085662 538621.5658253
  min:  -362510.4739139 -244788.1236849
  max:  518270.5346522 293833.4421404
Skipping small building with height < building_min_height parameter
Skipping small building with height < building_min_height parameter
clusters 441.0000000 270.0000000
1 9  11.1%     
2 9  22.2%     
3 9  33.3%     
4 9  44.4%     
5 9  55.6%     
6 9  66.7%     
7 9  77.8%     
8 9  88.9%     
9 9 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 13   7.7%     
2 13  15.4%     
3 13  23.1%     
4 13  30.8%     
5 13  38.5%     
6 13  46.2%     
7 13  53.8%     
8 13  61.5%     
9 13  69.2%     
10 13  76.9%     
11 13  84.6%     
12 13  92.3%     
13 13 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 29   3.4%     
2 29   6.9%     
3 29  10.3%     
4 29  13.8%     
5 29  17.2%     
6 29  20.7%     
7 29  24.1%     
8 29  27.6%     
9 29  31.0%     
10 29  34.5%     
11 29  37.9%     
12 29  41.4%     
13 29  44.8%     
14 29  48.3%     
15 29  51.7%     
16 29  55.2%     
17 29  58.6%     
18 29  62.1%     
19 29  65.5%     
20 29  69.0%     
21 29  72.4%     
22 29  75.9%     
23 29  79.3%     
24 29  82.8%     
25 29  86.2%     
26 29  89.7%     
27 29  93.1%     
28 29  96.6%     
29 29 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 5  20.0%     
2 5  40.0%     
3 5  60.0%     
4 5  80.0%     
5 5 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 31   3.2%     
2 31   6.5%     
3 31   9.7%     
4 31  12.9%     
5 31  16.1%     
6 31  19.4%     
7 31  22.6%     
8 31  25.8%     
9 31  29.0%     
10 31  32.3%     
11 31  35.5%     
12 31  38.7%     
13 31  41.9%     
14 31  45.2%     
15 31  48.4%     
16 31  51.6%     
17 31  54.8%     
18 31  58.1%     
19 31  61.3%     
20 31  64.5%     
21 31  67.7%     
22 31  71.0%     
23 31  74.2%     
24 31  77.4%     
25 31  80.6%     
26 31  83.9%     
27 31  87.1%     
28 31  90.3%     
29 31  93.5%     
30 31  96.8%     
31 31 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff

.
.
.
.
.
.
.

1 49   2.0%     
2 49   4.1%     
3 49   6.1%     
4 49   8.2%     
5 49  10.2%     
6 49  12.2%     
7 49  14.3%     
8 49  16.3%     
9 49  18.4%     
10 49  20.4%     
11 49  22.4%     
12 49  24.5%     
13 49  26.5%     
14 49  28.6%     
15 49  30.6%     
16 49  32.7%     
17 49  34.7%     
18 49  36.7%     
19 49  38.8%     
20 49  40.8%     
21 49  42.9%     
22 49  44.9%     
23 49  46.9%     
24 49  49.0%     
25 49  51.0%     
26 49  53.1%     
27 49  55.1%     
28 49  57.1%     
29 49  59.2%     
30 49  61.2%     
31 49  63.3%     
32 49  65.3%     
33 49  67.3%     
34 49  69.4%     
35 49  71.4%     
36 49  73.5%     
37 49  75.5%     
38 49  77.6%     
39 49  79.6%     
40 49  81.6%     
41 49  83.7%     
42 49  85.7%     
43 49  87.8%     
44 49  89.8%     
45 49  91.8%     
46 49  93.9%     
47 49  95.9%     
48 49  98.0%     
49 49 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 19   5.3%     
2 19  10.5%     
3 19  15.8%     
4 19  21.1%     
5 19  26.3%     
6 19  31.6%     
7 19  36.8%     
8 19  42.1%     
9 19  47.4%     
10 19  52.6%     
11 19  57.9%     
12 19  63.2%     
13 19  68.4%     
14 19  73.7%     
15 19  78.9%     
16 19  84.2%     
17 19  89.5%     
18 19  94.7%     
19 19 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 29   3.4%     
2 29   6.9%     
3 29  10.3%     
4 29  13.8%     
5 29  17.2%     
6 29  20.7%     
7 29  24.1%     
8 29  27.6%     
9 29  31.0%     
10 29  34.5%     
11 29  37.9%     
12 29  41.4%     
13 29  44.8%     
14 29  48.3%     
15 29  51.7%     
16 29  55.2%     
17 29  58.6%     
18 29  62.1%     
19 29  65.5%     
20 29  69.0%     
21 29  72.4%     
22 29  75.9%     
23 29  79.3%     
24 29  82.8%     
25 29  86.2%     
26 29  89.7%     
27 29  93.1%     
28 29  96.6%     
29 29 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 16   6.2%     
2 16  12.5%     
3 16  18.8%     
4 16  25.0%     
5 16  31.2%     
6 16  37.5%     
7 16  43.8%     
8 16  50.0%     
9 16  56.2%     
10 16  62.5%     
11 16  68.8%     
12 16  75.0%     
13 16  81.2%     
14 16  87.5%     
15 16  93.8%     
16 16 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 10  10.0%     
2 10  20.0%     
3 10  30.0%     
4 10  40.0%     
5 10  50.0%     
6 10  60.0%     
7 10  70.0%     
8 10  80.0%     
9 10  90.0%     
10 10 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 10  10.0%     
2 10  20.0%     
3 10  30.0%     
4 10  40.0%     
5 10  50.0%     
6 10  60.0%     
7 10  70.0%     
8 10  80.0%     
9 10  90.0%     
10 10 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 32   3.1%     
2 32   6.2%     
3 32   9.4%     
4 32  12.5%     
5 32  15.6%     
6 32  18.8%     
7 32  21.9%     
8 32  25.0%     
9 32  28.1%     
10 32  31.2%     
11 32  34.4%     
12 32  37.5%     
13 32  40.6%     
14 32  43.8%     
15 32  46.9%     
16 32  50.0%     
17 32  53.1%     
18 32  56.2%     
19 32  59.4%     
20 32  62.5%     
21 32  65.6%     
22 32  68.8%     
23 32  71.9%     
24 32  75.0%     
25 32  78.1%     
26 32  81.2%     
27 32  84.4%     
28 32  87.5%     
29 32  90.6%     
30 32  93.8%     
31 32  96.9%     
32 32 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 11   9.1%     
2 11  18.2%     
3 11  27.3%     
4 11  36.4%     
5 11  45.5%     
6 11  54.5%     
7 11  63.6%     
8 11  72.7%     
9 11  81.8%     
10 11  90.9%     
11 11 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 13   7.7%     
2 13  15.4%     
3 13  23.1%     
4 13  30.8%     
5 13  38.5%     
6 13  46.2%     
7 13  53.8%     
8 13  61.5%     
9 13  69.2%     
10 13  76.9%     
11 13  84.6%     
12 13  92.3%     
13 13 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff

total buildings 12175
parse errors    0
written         9907
skipped
  small         2268
  nearby        0
  no elevation  0
  no texture    0
roof-types
  unknown   9876
  complex       0
  roof_errors   0
ground nodes    67243
  simplified    2381
vertices        114894
surfaces        67323
repeated tex x  0 out of 0 ( 0 %)
    LOD bare        0 ( 0 %)
    LOD rough       5688 (57 %)
    LOD detail      4219 ( 0 %)
above
     1 m^2      0 |
    10 m^2      0 |
    20 m^2      0 |
    50 m^2    204 |##
   100 m^2   1792 |###################
   200 m^2   5103 |########################################################
   500 m^2   1430 |###############
  1000 m^2    725 |#######
  2000 m^2    462 |#####
  5000 m^2    118 |#
 10000 m^2     27 |
 20000 m^2     13 |
 50000 m^2      2 |
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: LOWI city buildings

Postby radi » Thu Oct 23, 2014 12:00 am

Any luck with the troubleshooting link so far? I've just checked, FG 3.3.0 (as tagged on gitorious) doesn't yet include my fgelev patch. Mhh. Can you compile FG git? Or obtain a recent nightly build?

I've just pushed some more diagnostics to git, please git pull osm2city.
When posting osm2city's output, make sure to run (note the &)
Code: Select all
./osm2city.py -f $PREFIX/params.ini >& log

to include stderr.

If everything else fails, you'll have to revert to ELEV_MODE = Manual, see http://wiki.flightgear.org/Osm2city.py#Probe_elevation . Unfortunately, I won't be able to test much for the next month or so.
OSM buildings for LOWI, EDDC
Custom scenery for VHXX YMML
Edit .stg via the FG Object Placement Tool
radi
 
Posts: 659
Joined: Mon Aug 25, 2008 5:24 pm
Location: YMML, EDDC

Re: LOWI city buildings

Postby abassign » Thu Oct 23, 2014 5:06 am

I recompile the last version of GIT (Ubuntu with download_and_compile.sh), this is the log file

Code: Select all
INFO:root:Skipping non-existing texture tex.src/castle.jpg
INFO:root:Saving tex/atlas_facades.pkl
INFO:root:<tex.src/facade_industrial_red_white_24x18m.jpg> x0,1 0.00 1.00  y0,1 0.98 1.00  sh,v 23.80m 18.50m
 <tex.src/DSCF9495_pow2.png> x0,1 0.00 1.00  y0,1 0.94 0.98  sh,v 14.00m 19.40m
 <tex.src/LZ_old_bright_bc2.png> x0,1 0.00 1.00  y0,1 0.91 0.94  sh,v 17.90m 14.80m
 <tex.src/facade_modern_21x42m.jpg> x0,1 0.00 1.00  y0,1 0.85 0.91  sh,v 43.00m 88.00m
 <tex.src/facade_modern_black_46x60m.jpg> x0,1 0.00 1.00  y0,1 0.81 0.85  sh,v 45.90m 60.50m
 <tex.src/facade_industrial_white_26x14m.jpg> x0,1 0.00 1.00  y0,1 0.79 0.81  sh,v 25.70m 13.50m
 <tex.src/facade_modern_commercial_35x20m.jpg> x0,1 0.00 1.00  y0,1 0.77 0.79  sh,v 34.60m 20.40m
 <tex.src/facade_modern36x36_12.png> x0,1 0.00 1.00  y0,1 0.74 0.77  sh,v 36.00m 36.00m
 <tex.src/facade_modern_residential_26x34m.jpg> x0,1 0.00 1.00  y0,1 0.70 0.74  sh,v 26.30m 33.90m
 <tex.src/DSCF9503_noroofsec_pow2.png> x0,1 0.00 1.00  y0,1 0.67 0.70  sh,v 12.85m 17.66m
 <tex.src/DSCF9710.png> x0,1 0.00 1.00  y0,1 0.66 0.67  sh,v 29.90m 19.80m
 <tex.src/DSCF9678_pow2.png> x0,1 0.00 1.00  y0,1 0.62 0.66  sh,v 10.40m 15.50m
 <tex.src/DSCF9726_noroofsec_pow2.png> x0,1 0.00 1.00  y0,1 0.61 0.62  sh,v 15.10m 9.60m
 <tex.src/wohnheime_petersburger.png> x0,1 0.00 1.00  y0,1 0.58 0.61  sh,v 15.60m 15.60m
 <tex.src/facade_modern_black_46x60m.jpg> x0,1 0.00 1.00  y0,1 0.54 0.58  sh,v 450.90m 600.50m

INFO:root:reading elevation data
INFO:root:Loading LIME/elev.pkl
WARNING:root:Loading elev cache failed ([Errno 2] No such file or directory: 'LIME/elev.pkl')
INFO:root:Spawning fgelev
Problems loading FlightGear preferences.
Probably FG_ROOT is not properly set.
Error reading materials: Failed to open file
Problems loading FlightGear materials.
Probably FG_ROOT is not properly set.
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
Ack! unknown use material name = Ocean
INFO:root:Reading the OSM file might take some time ...
./osm2city.py:292: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if name in parameters.SKIP_LIST:
Reading parameters from file: LIME/params.ini
--- Using the following parameters: ---
BOUNDARY_EAST = 9.8325
BOUNDARY_NORTH = 45.767
BOUNDARY_SOUTH = 45.6269
BOUNDARY_WEST = 9.5675
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_ROOFS = 1
BUILDING_COMPLEX_ROOFS_MAX_AREA = 2000
BUILDING_COMPLEX_ROOFS_MAX_LEVELS = 5
BUILDING_MIN_AREA = 50.0
BUILDING_MIN_HEIGHT = 3.4
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
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
DEBUG_PLOT = 0
ELEV_MODE = FgelevCaching
ELEV_RASTER_X = 10
ELEV_RASTER_Y = 10
EXPERIMENTAL_INNER = 0
EXPERIMENTAL_USE_SKEL = 0
FG_ELEV = /home/abassign/fgfs/install/flightgear/bin/fgelev
IGNORE_PKL_OVERWRITE = True
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
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 = 1000
MAX_SLOPE_MOTORWAY = 0.03
MAX_SLOPE_ROAD = 0.08
MAX_TRANSVERSE_GRADIENT = 0.1
NO_ELEV = False
OBSTRUCTION_LIGHT_MIN_LEVELS = 15
OSM_FILE = buildings.osm
OVERLAP_CHECK = True
OVERLAP_RADIUS = 5
PATH_TO_OUTPUT =
PATH_TO_SCENERY = /home/abassign/fgfs/install/flightgear/fgdata/Scenery
PREFIX = LIME
SKEL_MAX_HEIGHT_RATIO = 0.7
SKEL_MAX_NODES = 10
SKIP_LIST = ["Dresden Hauptbahnhof, Semperoper, Zwinger, Hofkirche, Frauenkirche, Coselpalais, Palais im Großen Garten, Residenzschloss Dresden, Fernsehturm, Fernsehturm Dresden, 87807683"]
TILE_SIZE = 2000
TRAFFIC_SHADER_ENABLE = False
USE_PKL = False
vec2d = <class 'vec2d.vec2d'>
------
textures: init
tools: init <tools.Stats object at 0x7fe0acb10b50>
FIXME: ignoring all but first inner way (5 total) of ID 1229362
FIXME: ignoring all but first inner way (2 total) of ID 1296504
FIXME: ignoring all but first inner way (3 total) of ID 1308519
FIXME: ignoring all but first inner way (2 total) of ID 1314575
FIXME: ignoring all but first inner way (2 total) of ID 1339668
FIXME: ignoring all but first inner way (2 total) of ID 1561783
FIXME: ignoring all but first inner way (4 total) of ID 1628297
FIXME: ignoring all but first inner way (2 total) of ID 1765822
FIXME: ignoring all but first iINFO:root:Skipping relation 3954783: no outer way.
INFO:root:Skipping relation 3954784: no outer way.
INFO:root:min/max 5.0455740 43.4945365 16.3542956 48.3406352
INFO:root:parsed 12175 buildings.
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n43/3039584.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n43/3039592.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n43/3039600.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n43/3039608.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n44/3039616.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n44/3039624.stg'
.
.
.
.
.
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e010n40/e016n47/3220081.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e010n40/e016n47/3220089.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e010n40/e016n48/3220097.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e010n40/e016n48/3220105.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e010n40/e016n48/3220113.stg'
INFO:root:read 0 objects from 1794 tiles
INFO:root:writing cluster LIMEcity175124 (47374/119070)
WARNING:root:error reading /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45/3105258.stg: [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45/3105258.stg'
INFO:root:writing cluster LIMEcity175125 (47375/119070)
WARNING:root:error reading /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45/3105266.stg: [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45/3105266.stg'
INFO:root:writing cluster LIMEcity176118 (47638/119070)
INFO:root:writing cluster LIMEcity176119 (47639/119070)
INFO:root:writing cluster LIMEcity176121 (47641/119070)
INFO:root:writing cluster LIMEcity176122 (47642/119070)
nner way (2 total) of ID 1900167
FIXME: ignoring all but first inner way (2 total) of ID 2081101
FIXME: ignoring all but first inner way (2 total) of ID 2118326
FIXME: ignoring all but first inner way (3 total) of ID 2179021
FIXME: ignoring all but first inner way (2 total) of ID 2224997
FIXME: ignoring all but first inner way (2 total) of ID 2250575
FIXME: ignoring all but first inner way (2 total) of ID 2273628
FIXME: ignoring all but first inner way (2 total) of ID 2440389
FIXME: ignoring all but first inner way (3 total) of ID 2539712
FIXME: ignoring all but first inner way (11 total) of ID 2624173
FIXME: ignoring all but first inner way (2 total) of ID 2800474
cluster:  441.0000000 270.0000000
  delta:  880781.0085662 538621.5658253
  min:  -362510.4739139 -244788.1236849
  max:  518270.5346522 293833.4421404
Skipping small building with height < building_min_height parameter
clusters 441.0000000 270.0000000
1 10  10.0%     
2 10  20.0%     
3 10  30.0%     
4 10  40.0%     
5 10  50.0%     
6 10  60.0%     
7 10  70.0%     
8 10  80.0%     
9 10  90.0%     
10 10 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 8  12.5%     
2 8  25.0%     
3 8  37.5%     
4 8  50.0%     
5 8  62.5%     
6 8  75.0%     
7 8  87.5%     
8 8 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 15   6.7%     
2 15  13.3%     
3 15  20.0%     
4 15  26.7%     
5 15  33.3%     
6 15  40.0%     
7 15  46.7%     
8 15  53.3%     
9 15  60.0%     
10 15  66.7%     
11 15  73.3%     
12 15  80.0%     
13 15  86.7%     
14 15  93.3%     
15 15 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 20   5.0%     
2 20  10.0%     
3 20  15.0%     
4 20  20.0%     
5 20  25.0%     
6 20  30.0%     
7 20  35.0%     
8 20  40.0%     
9 20  45.0%     
10 20  50.0%     
11 20  55.0%     
12 20  60.0%     
13 20  65.0%     
14 20  70.0%     
15 20  75.0%     
16 20  80.0%     
17 20  85.0%     
18 20  90.0%     
19 20  95.0%     
20 20 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 22   4.5%     
2 22   9.1%     
3 22  13.6%     
4 22  18.2%     
5 22  22.7%     
6 22  27.3%     
7 22  31.8%     
8 22  36.4%     
9 22  40.9%     
10 22  45.5%     
11 22  50.0%     
12 22  54.5%     
13 22  59.1%     
14 22  63.6%     
15 22  68.2%     
16 22  72.7%     
17 22  77.3%     
18 22  81.8%     
19 22  86.4%     
20 22  90.9%     
21 22  95.5%     
22 22 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 101   1.0%     
2 101   2.0%     
3 101   3.0%     
4 101   4.0%     
5 101   5.0%     
6 101   5.9%     
7 101   6.9%     
8 101   7.9%     
9 101   8.9%     
10 101   9.9%     
11 101  10.9%     
12 101  11.9%     
13 101  12.9%     
14 101  13.9%     
15 101  14.9%     
16 101  15.8%     
17 101  16.8%     
18 101  17.8%     
19 101  18.8%     
20 101  19.8%     
21 101  20.8%     
22 101  21.8%     
23 101  22.8%     
24 101  23.8%     
25 101  24.8%     
26 101  25.7%     
27 101  26.7%     
28 101  27.7%     
29 101  28.7%     
30 101  29.7%     
31 101  30.7%     
32 101  31.7%     
33 101  32.7%     
34 101  33.7%     
35 101  34.7%     
36 101  35.6%     
37 101  36.6%     
38 101  37.6%     
39 101  38.6%     
40 101  39.6%     
41 101  40.6%     
42 101  41.6%     
43 101  42.6%     
44 101  43.6%     
45 101  44.6%     
46 101  45.5%     
47 101  46.5%     
48 101  47.5%     
49 101  48.5%     
50 101  49.5%     
51 101  50.5%     
52 101  51.5%     
53 101  52.5%     
54 101  53.5%     
55 101  54.5%     
56 101  55.4%     
57 101  56.4%     
58 101  57.4%     
59 101  58.4%     
60 101  59.4%     
61 101  60.4%     
62 101  61.4%     
63 101  62.4%     
64 101  63.4%     
65 101  64.4%     
66 101  65.3%     
67 101  66.3%     
68 101  67.3%     
69 101  68.3%     
70 101  69.3%     
71 101  70.3%     
72 101INFO:root:writing cluster LIMEcity176123 (47643/119070)
INFO:root:writing cluster LIMEcity176124 (47644/119070)
INFO:root:writing cluster LIMEcity176125 (47645/119070)
  71.3%     
73 101  72.3%     
74 101  73.3%     
75 101  74.3%     
76 101  75.2%     
77 101  76.2%     
78 101  77.2%     
79 101  78.2%     
80 101  79.2%     
81 101  80.2%     
82 101  81.2%     
83 101  82.2%     
84 101  83.2%     
85 101  84.2%     
86 101  85.1%     
87 101  86.1%     
88 101  87.1%     
89 101  88.1%     
90 101  89.1%     
91 101  90.1%     
92 101  91.1%     
93 101  92.1%     
94 101  93.1%     
95 101  94.1%     
96 101  95.0%     
97 101  96.0%     
98 101  97.0%     
99 101  98.0%     
100 101  99.0%     
101 101 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 65   1.5%     
2 65   3.1%     
3 65   4.6%     
4 65   6.2%     
5 65   7.7%     
6 65   9.2%     
7 65  10.8%     
8 65  12.3%     
9 65  13.8%     
10 65  15.4%     
11 65  16.9%     
12 65  18.5%     
13 65  20.0%     
14 65  21.5%     
15 65  23.1%     
16 65  24.6%     
17 65  26.2%     
18 65  27.7%     
19 65  29.2%     
20 65  30.8%     
21 65  32.3%     
22 65  33.8%     
23 65  35.4%     
24 65  36.9%     
25 65  38.5%     
26 65  40.0%     
27 65  41.5%     
28 65  43.1%     
29 65  44.6%     
30 65  46.2%     
31 65  47.7%     
32 65  49.2%     
33 65  50.8%     
34 65  52.3%     
35 65  53.8%     
36 65  55.4%     
37 65  56.9%     
38 65  58.5%     
39 65  60.0%     
40 65  61.5%     
41 65  63.1%     
42 65  64.6%     
43 65  66.2%     
44 65  67.7%     
45 65  69.2%     
46 65  70.8%     
47 65  72.3%     
48 65  73.8%     
49 65  75.4%     
50 65  76.9%     
51 65  78.5%     
52 65  80.0%     
53 65  81.5%     
54 65  83.1%     
55 65  84.6%     
56 65  86.2%     
57 65  87.7%     
58 65  89.2%     
59 65  90.8%     
60 65  92.3%     
61 65  93.8%     
62 65  95.4%     
63 65  96.9%     
64 65  98.5%     
65 65 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 70   1.4%     
2 70   2.9%     
3 70   4.3%     
4 70   5.7%     
5 70   7.1%     
6 70   8.6%     
7 70  10.0%     
8 70  11.4%     
9 70  12.9%     
10 70  14.3%     
11 70  15.7%     
12 70  17.1%     
13 70  18.6%     
14 70  20.0%     
15 70  21.4%     
16 70  22.9%     
17 70  24.3%     
18 70  25.7%     
19 70  27.1%     
20 70  28.6%     
21 70  30.0%     
22 70  31.4%     
23 70  32.9%     
24 70  34.3%     
25 70  35.7%     
26 70  37.1%     
27 70  38.6%     
28 70  40.0%     
29 70  41.4%     
30 70  42.9%     
31 70  44.3%     
32 70  45.7%     
33 70  47.1%     
34 70  48.6%     
35 70  50.0%     
36 70  51.4%     
37 70  52.9%     
38 70  54.3%     
39 70  55.7%     
40 70  57.1%     
41 70  58.6%     
42 70  60.0%     
43 70  61.4%     
44 70  62.9%     
45 70  64.3%     
46 70  65.7%     
47 70  67.1%     
48 70  68.6%     
49 70  70.0%     
50 70  71.4%     
51 70  72.9%     
52 70  74.3%     
53 70  75.7%     
54 70  77.1%     
55 70  78.6%     
56 70  80.0%     
57 70  81.4%     
58 70  82.9%     
59 70  84.3%     
60 70  85.7%     
61 70  87.1%     
62 70  88.6%     
63 70  90.0%     
64 70  91.4%     
65 70  92.9%     
66 70  94.3%     
67 70  95.7%     
68 70  97.1%     
69 70  98.6%     
70 70 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 77   1.3%     
2 77   2.6%     
3 77   3.9%     
4 77   5.2%     
5 77   6.5%     
6 77   7.8%     
7 77   9.1%     
8 77  10.4%     
9 77  11.7%     
10 77  13.0%     
11 77  14.3%     
12 77  15.6%     
13 77  16.9%     
14 77  18.2%     
15 77  19.5%     
16 77  20.8%     
17 77  22.1%     
18 77  23.4%     
19 77  24.7%     
20 77  26.0%     
21 77  27.3%     
22 77  28.6%     
23 77  29.9%     
24 77  31.2%     
25 77  32.5%     
26 77  33.8%     
27 77  35.1%     
28 77  36.4%     
29 77  37.7%     
30 77  39.0%     
31 77  40.3%     
32 77  41.6%     
33 77  42.9%     
34 77  44.2%     
35 77  45.5%     
36 77  46.8%     
37 77  48.1%     
38 77  49.4%     
39 77  50.6%     
40 77  51.9%     
41 77  53.2%     
42 77  54.5%     
43 77  55.8%     
44 77  57.1%     
45 77  58.4%     
46INFO:root:writing cluster LIMEcity176126 (47646/119070)
INFO:root:writing cluster LIMEcity177118 (47908/119070)
INFO:root:writing cluster LIMEcity177119 (47909/119070)
INFO:root:writing cluster LIMEcity177120 (47910/119070)
INFO:root:writing cluster LIMEcity177121 (47911/119070)
INFO:root:writing cluster LIMEcity177122 (47912/119070)
 77  59.7%     
47 77  61.0%     
48 77  62.3%     
49 77  63.6%     
50 77  64.9%     
51 77  66.2%     
52 77  67.5%     
53 77  68.8%     
54 77  70.1%     
55 77  71.4%     
56 77  72.7%     
57 77  74.0%     
58 77  75.3%     
59 77  76.6%     
60 77  77.9%     
61 77  79.2%     
62 77  80.5%     
63 77  81.8%     
64 77  83.1%     
65 77  84.4%     
66 77  85.7%     
67 77  87.0%     
68 77  88.3%     
69 77  89.6%     
70 77  90.9%     
71 77  92.2%     
72 77  93.5%     
73 77  94.8%     
74 77  96.1%     
75 77  97.4%     
76 77  98.7%     
77 77 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 7  14.3%     
2 7  28.6%     
3 7  42.9%     
4 7  57.1%     
5 7  71.4%     
6 7  85.7%     
7 7 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 13   7.7%     
2 13  15.4%     
3 13  23.1%     
4 13  30.8%     
5 13  38.5%     
6 13  46.2%     
7 13  53.8%     
8 13  61.5%     
9 13  69.2%     
10 13  76.9%     
11 13  84.6%     
12 13  92.3%     
13 13 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 59   1.7%     
2 59   3.4%     
3 59   5.1%     
4 59   6.8%     
5 59   8.5%     
6 59  10.2%     
7 59  11.9%     
8 59  13.6%     
9 59  15.3%     
10 59  16.9%     
11 59  18.6%     
12 59  20.3%     
13 59  22.0%     
14 59  23.7%     
15 59  25.4%     
16 59  27.1%     
17 59  28.8%     
18 59  30.5%     
19 59  32.2%     
20 59  33.9%     
21 59  35.6%     
22 59  37.3%     
23 59  39.0%     
24 59  40.7%     
25 59  42.4%     
26 59  44.1%     
27 59  45.8%     
28 59  47.5%     
29 59  49.2%     
30 59  50.8%     
31 59  52.5%     
32 59  54.2%     
33 59  55.9%     
34 59  57.6%     
35 59  59.3%     
36 59  61.0%     
37 59  62.7%     
38 59  64.4%     
39 59  66.1%     
40 59  67.8%     
41 59  69.5%     
42 59  71.2%     
43 59  72.9%     
44 59  74.6%     
45 59  76.3%     
46 59  78.0%     
47 59  79.7%     
48 59  81.4%     
49 59  83.1%     
50 59  84.7%     
51 59  86.4%     
52 59  88.1%     
53 59  89.8%     
54 59  91.5%     
55 59  93.2%     
56 59  94.9%     
57 59  96.6%     
58 59  98.3%     
59 59 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 21   4.8%     
2 21   9.5%     
3 21  14.3%     
4 21  19.0%     
5 21  23.8%     
6 21  28.6%     
7 21  33.3%     
8 21  38.1%     
9 21  42.9%     
10 21  47.6%     
11 21  52.4%     
12 21  57.1%     
13 21  61.9%     
14 21  66.7%     
15 21  71.4%     
16 21  76.2%     
17 21  81.0%     
18 21  85.7%     
19 21  90.5%     
20 21  95.2%     
21 21 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 51   2.0%     
2 51   3.9%     
3 51   5.9%     
4 51   7.8%     
5 51   9.8%     
6 51  11.8%     
7 51  13.7%     
8 51  15.7%     
9 51  17.6%     
10 51  19.6%     
11 51  21.6%     
12 51  23.5%     
13 51  25.5%     
14 51  27.5%     
15 51  29.4%     
16 51  31.4%     
17 51  33.3%     
18 51  35.3%     
19 51  37.3%     
20 51  39.2%     
21 51  41.2%     
22 51  43.1%     
23 51  45.1%     
24 51  47.1%     
25 51  49.0%     
26 51  51.0%     
27 51  52.9%     
28 51  54.9%     
29 51  56.9%     
30 51  58.8%     
31 51  60.8%     
32 51  62.7%     
33 51  64.7%     
34 51  66.7%     
35 51  68.6%     
36 51  70.6%     
37 51  72.5%     
38 51  74.5%     
39 51  76.5%     
40 51  78.4%     
41 51  80.4%     
42 51  82.4%     
43 51  84.3%     
44 51  86.3%     
45 51  88.2%     
46 51  90.2%     
47 51  92.2%     
48 51  94.1%     
49 51  96.1%     
50 51  98.0%     
51 51 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 169   0.6%     
2 169   1.2%     
3 169   1.8%     
4 169   2.4%     
5 169   3.0%     
6 169   3.6%     
7 169   4.1%     
8 169   4.7%     
9 169   5.3%     
10 169   5.9%     
11 169   6.5%     
12 169   7.1%     
13 16INFO:root:writing cluster LIMEcity177123 (47913/119070)
9   7.7%     
14 169   8.3%     
15 169   8.9%     
16 169   9.5%     
17 169  10.1%     
18 169  10.7%     
19 169  11.2%     
20 169  11.8%     
21 169  12.4%     
22 169  13.0%     
.
.
.
.
.
.
71 94  75.5%     
72 94  76.6%     
73 94  77.7%     
74 94  78.7%     
75 94  79.8%     
76 94  80.9%     
77 94  81.9%     
78 94  83.INFO:root:writing cluster LIMEcity184126 (49806/119070)
INFO:root:writing cluster LIMEcity185120 (50070/119070)
INFO:root:writing cluster LIMEcity185121 (50071/119070)
INFO:root:writing cluster LIMEcity185122 (50072/119070)
INFO:root:writing cluster LIMEcity185123 (50073/119070)
0%     
79 94  84.0%     
80 94  85.1%     
81 94  86.2%     
82 94  87.2%     
83 94  88.3%     
84 94  89.4%     
85 94  90.4%     
86 94  91.5%     
87 94  92.6%     
88 94  93.6%     
89 94  94.7%     
90 94  95.7%     
91 94  96.8%     
92 94  97.9%     
93 94  98.9%     
94 94 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 27   3.7%     
2 27   7.4%     
3 27  11.1%     
4 27  14.8%     
5 27  18.5%     
6 27  22.2%     
7 27  25.9%     
8 27  29.6%     
9 27  33.3%     
10 27  37.0%     
11 27  40.7%     
12 27  44.4%     
13 27  48.1%     
14 27  51.9%     
15 27  55.6%     
16 27  59.3%     
17 27  63.0%     
18 27  66.7%     
19 27  70.4%     
20 27  74.1%     
21 27  77.8%     
22 27  81.5%     
23 27  85.2%     
24 27  88.9%     
25 27  92.6%     
26 27  96.3%     
27 27 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 50   2.0%     
2 50   4.0%     
3 50   6.0%     
4 50   8.0%     
5 50  10.0%     
6 50  12.0%     
7 50  14.0%     
8 50  16.0%     
9 50  18.0%     
10 50  20.0%     
11 50  22.0%     
12 50  24.0%     
13 50  26.0%     
14 50  28.0%     
15 50  30.0%     
16 50  32.0%     
17 50  34.0%     
18 50  36.0%     
19 50  38.0%     
20 50  40.0%     
21 50  42.0%     
22 50  44.0%     
23 50  46.0%     
24 50  48.0%     
25 50  50.0%     
26 50  52.0%     
27 50  54.0%     
28 50  56.0%     
29 50  58.0%     
30 50  60.0%     
31 50  62.0%     
32 50  64.0%     
33 50  66.0%     
34 50  68.0%     
35 50  70.0%     
36 50  72.0%     
37 50  74.0%     
38 50  76.0%     
39 50  78.0%     
40 50  80.0%     
41 50  82.0%     
42 50  84.0%     
43 50  86.0%     
44 50  88.0%     
45 50  90.0%     
46 50  92.0%     
47 50  94.0%     
48 50  96.0%     
49 50  98.0%     
50 50 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 43   2.3%     
2 43   4.7%     
3 43   7.0%     
4 43   9.3%     
5 43  11.6%     
6 43  14.0%     
7 43  16.3%     
8 43  18.6%     
9 43  20.9%     
10 43  23.3%     
11 43  25.6%     
12 43  27.9%     
13 43  30.2%     
14 43  32.6%     
15 43  34.9%     
16 43  37.2%     
17 43  39.5%     
18 43  41.9%     
19 43  44.2%     
20 43  46.5%     
21 43  48.8%     
22 43  51.2%     
23 43  53.5%     
24 43  55.8%     
25 43  58.1%     
26 43  60.5%     
27 43  62.8%     
28 43  65.1%     
29 43  67.4%     
30 43  69.8%     
31 43  72.1%     
32 43  74.4%     
33 43  76.7%     
34 43  79.1%     
35 43  81.4%     
36 43  83.7%     
37 43  86.0%     
38 43  88.4%     
39 43  90.7%     
40 43  93.0%     
41 43  95.3%     
42 43  97.7%     
43 43 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 56   1.8%     
2 56   3.6%     
3 56   5.4%     
4 56   7.1%     
5 56   8.9%     
6 56  10.7%     
7 56  12.5%     
8 56  14.3%     
9 56  16.1%     
10 56  17.9%     
11 56  19.6%     
12 56  21.4%     
13 56  23.2%     
14 56  25.0%     
15 56  26.8%     
16 56  28.6%     
17 56  30.4%     
18 56  32.1%     
19 56  33.9%     
20 56  35.7%     
21 56  37.5%     
22 56  39.3%     
23 56  41.1%     
24 56  42.9%     
25 56  44.6%     
26 56  46.4%     
27 56  48.2%     
28 56  50.0%     
29 56  51.8%     
30 56  53.6%     
31 56  55.4%     
32 56  57.1%     
33 56  58.9%     
34 56  60.7%     
35 56  62.5%     
36 56  64.3%     
37 56  66.1%     
38 56  67.9%     
39 56  69.6%     
40 56  71.4%     
41 56  73.2%     
42 56  75.0%     
43 56  76.8%     
44 56  78.6%     
45 56  80.4%     
46 56  82.1%     
47 56  83.9%     
48 56  85.7%     
49 56  87.5%     
50 56  89.3%     
51 56  91.1%     
52 56  92.9%     
53 56  94.6%     
54 56  96.4%     
55 56  98.2%     
56 56 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 46   2.2%     
2 46   4.3%     
3 46   6.5%     
4 46   8.7%     
5 46  10.9%     
6 46  13.0%     
7 46  15.2%     
8 46  17.4%     
9 46  1INFO:root:writing cluster LIMEcity185124 (50074/119070)
INFO:root:writing cluster LIMEcity185125 (50075/119070)
INFO:root:writing cluster LIMEcity185126 (50076/119070)
INFO:root:writing cluster LIMEcity186120 (50340/119070)
INFO:root:writing cluster LIMEcity186121 (50341/119070)
INFO:root:writing cluster LIMEcity186122 (50342/119070)
INFO:root:writing cluster LIMEcity186123 (50343/119070)
INFO:root:writing cluster LIMEcity186124 (50344/119070)
INFO:root:writing cluster LIMEcity186125 (50345/119070)
9.6%     
10 46  21.7%     
11 46  23.9%     
12 46  26.1%     
13 46  28.3%     
14 46  30.4%     
15 46  32.6%     
16 46  34.8%     
17 46  37.0%     
18 46  39.1%     
19 46  41.3%     
20 46  43.5%     
21 46  45.7%     
22 46  47.8%     
23 46  50.0%     
24 46  52.2%     
25 46  54.3%     
26 46  56.5%     
27 46  58.7%     
28 46  60.9%     
29 46  63.0%     
30 46  65.2%     
31 46  67.4%     
32 46  69.6%     
33 46  71.7%     
34 46  73.9%     
35 46  76.1%     
36 46  78.3%     
37 46  80.4%     
38 46  82.6%     
39 46  84.8%     
40 46  87.0%     
41 46  89.1%     
42 46  91.3%     
43 46  93.5%     
44 46  95.7%     
45 46  97.8%     
46 46 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 13   7.7%     
2 13  15.4%     
3 13  23.1%     
4 13  30.8%     
5 13  38.5%     
6 13  46.2%     
7 13  53.8%     
8 13  61.5%     
9 13  69.2%     
10 13  76.9%     
11 13  84.6%     
12 13  92.3%     
13 13 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 33   3.0%     
2 33   6.1%     
3 33   9.1%     
4 33  12.1%     
5 33  15.2%     
6 33  18.2%     
7 33  21.2%     
8 33  24.2%     
9 33  27.3%     
10 33  30.3%     
11 33  33.3%     
12 33  36.4%     
13 33  39.4%     
14 33  42.4%     
15 33  45.5%     
16 33  48.5%     
17 33  51.5%     
18 33  54.5%     
19 33  57.6%     
20 33  60.6%     
21 33  63.6%     
22 33  66.7%     
23 33  69.7%     
24 33  72.7%     
25 33  75.8%     
26 33  78.8%     
27 33  81.8%     
28 33  84.8%     
29 33  87.9%     
30 33  90.9%     
31 33  93.9%     
32 33  97.0%     
33 33 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 22   4.5%     
2 22   9.1%     
3 22  13.6%     
4 22  18.2%     
5 22  22.7%     
6 22  27.3%     
7 22  31.8%     
8 22  36.4%     
9 22  40.9%     
10 22  45.5%     
11 22  50.0%     
12 22  54.5%     
13 22  59.1%     
14 22  63.6%     
15 22  68.2%     
16 22  72.7%     
17 22  77.3%     
18 22  81.8%     
19 22  86.4%     
20 22  90.9%     
21 22  95.5%     
22 22 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 11   9.1%     
2 11  18.2%     
3 11  27.3%     
4 11  36.4%     
5 11  45.5%     
6 11  54.5%     
7 11  63.6%     
8 11  72.7%     
9 11  81.8%     
10 11  90.9%     
11 11 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 13   7.7%     
2 13  15.4%     
3 13  23.1%     
4 13  30.8%     
5 13  38.5%     
6 13  46.2%     
7 13  53.8%     
8 13  61.5%     
9 13  69.2%     
10 13  76.9%     
11 13  84.6%     
12 13  92.3%     
13 13 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 25   4.0%     
2 25   8.0%     
3 25  12.0%     
4 25  16.0%     
5 25  20.0%     
6 25  24.0%     
7 25  28.0%     
8 25  32.0%     
9 25  36.0%     
10 25  40.0%     
11 25  44.0%     
12 25  48.0%     
13 25  52.0%     
14 25  56.0%     
15 25  60.0%     
16 25  64.0%     
17 25  68.0%     
18 25  72.0%     
19 25  76.0%     
20 25  80.0%     
21 25  84.0%     
22 25  88.0%     
23 25  92.0%     
24 25  96.0%     
25 25 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 15   6.7%     
2 15  13.3%     
3 15  20.0%     
4 15  26.7%     
5 15  33.3%     
6 15  40.0%     
7 15  46.7%     
8 15  53.3%     
9 15  60.0%     
10 15  66.7%     
11 15  73.3%     
12 15  80.0%     
13 15  86.7%     
14 15  93.3%     
15 15 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 7  14.3%     
2 7  28.6%     
3 7  42.9%     
4 7  57.1%     
5 7  71.4%     
6 7  85.7%     
7 7 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff
1 16   6.2%     
2 16  12.5%     
3 16  18.8%     INFO:root:done.

4 16  25.0%     
5 16  31.2%     
6 16  37.5%     
7 16  43.8%     
8 16  50.0%     
9 16  56.2%     
10 16  62.5%     
11 16  68.8%     
12 16  75.0%     
13 16  81.2%     
14 16  87.5%     
15 16  93.8%     
16 16 100.0%     
cp cityLM.eff /home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e009n45//cityLM.eff

total buildings 12175
parse errors    0
written         9911
skipped
  small         2264
  nearby        0
  no elevation  0
  no texture    0
roof-types
  unknown   9876
  complex       0
  roof_errors   0
ground nodes    67243
  simplified    2381
vertices        115012
surfaces        67382
repeated tex x  0 out of 0 ( 0 %)
    LOD bare        0 ( 0 %)
    LOD rough       5694 (57 %)
    LOD detail      4217 ( 0 %)
above
     1 m^2      0 |
    10 m^2      0 |
    20 m^2      0 |
    50 m^2    203 |##
   100 m^2   1796 |###################
   200 m^2   5099 |########################################################
   500 m^2   1430 |###############
  1000 m^2    724 |#######
  2000 m^2    463 |#####
  5000 m^2    119 |#
 10000 m^2     27 |
 20000 m^2     13 |
 50000 m^2      2 |


I have verified that lacks FG_ROOT I then added an initialization and execute command (run) that inserts the environment variable FG_ROOT:

Code: Select all
#!/bin/bash
LD_LIBRARY_PATH=/home/abassign/fgfs/build/openscenegraph/lib:$LD_LIBRARY_PATH
FG_ROOT=/home/abassign/fgfs/install/fgrun/bin/../../flightgear/fgdata
python osm2city.py -f LIME/params.ini >& osm2city.log


After this the start is correct:

Code: Select all
INFO:root:Skipping non-existing texture tex.src/castle.jpg
INFO:root:Saving tex/atlas_facades.pkl
INFO:root:<tex.src/facade_industrial_red_white_24x18m.jpg> x0,1 0.00 1.00  y0,1 0.98 1.00  sh,v 23.80m 18.50m
 <tex.src/DSCF9495_pow2.png> x0,1 0.00 1.00  y0,1 0.94 0.98  sh,v 14.00m 19.40m
 <tex.src/LZ_old_bright_bc2.png> x0,1 0.00 1.00  y0,1 0.91 0.94  sh,v 17.90m 14.80m
 <tex.src/facade_modern_21x42m.jpg> x0,1 0.00 1.00  y0,1 0.85 0.91  sh,v 43.00m 88.00m
 <tex.src/facade_modern_black_46x60m.jpg> x0,1 0.00 1.00  y0,1 0.81 0.85  sh,v 45.90m 60.50m
 <tex.src/facade_industrial_white_26x14m.jpg> x0,1 0.00 1.00  y0,1 0.79 0.81  sh,v 25.70m 13.50m
 <tex.src/facade_modern_commercial_35x20m.jpg> x0,1 0.00 1.00  y0,1 0.77 0.79  sh,v 34.60m 20.40m
 <tex.src/facade_modern36x36_12.png> x0,1 0.00 1.00  y0,1 0.74 0.77  sh,v 36.00m 36.00m
 <tex.src/facade_modern_residential_26x34m.jpg> x0,1 0.00 1.00  y0,1 0.70 0.74  sh,v 26.30m 33.90m
 <tex.src/DSCF9503_noroofsec_pow2.png> x0,1 0.00 1.00  y0,1 0.67 0.70  sh,v 12.85m 17.66m
 <tex.src/DSCF9710.png> x0,1 0.00 1.00  y0,1 0.66 0.67  sh,v 29.90m 19.80m
 <tex.src/DSCF9678_pow2.png> x0,1 0.00 1.00  y0,1 0.62 0.66  sh,v 10.40m 15.50m
 <tex.src/DSCF9726_noroofsec_pow2.png> x0,1 0.00 1.00  y0,1 0.61 0.62  sh,v 15.10m 9.60m
 <tex.src/wohnheime_petersburger.png> x0,1 0.00 1.00  y0,1 0.58 0.61  sh,v 15.60m 15.60m
 <tex.src/facade_modern_black_46x60m.jpg> x0,1 0.00 1.00  y0,1 0.54 0.58  sh,v 450.90m 600.50m

INFO:root:reading elevation data
INFO:root:Loading LIME/elev.pkl
INFO:root:OK
INFO:root:Reading the OSM file might take some time ...
osm2city.py:292: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if name in parameters.SKIP_LIST:
Reading parameters from file: LIME/params.ini
--- Using the following parameters: ---
BOUNDARY_EAST = 9.8325
BOUNDARY_NORTH = 45.767
BOUNDARY_SOUTH = 45.6269
BOUNDARY_WEST = 9.5675
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_ROOFS = 1
BUILDING_COMPLEX_ROOFS_MAX_AREA = 2000
BUILDING_COMPLEX_ROOFS_MAX_LEVELS = 5
BUILDING_MIN_AREA = 50.0
BUILDING_MIN_HEIGHT = 3.4
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
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
DEBUG_PLOT = 0
ELEV_MODE = FgelevCaching
ELEV_RASTER_X = 10
ELEV_RASTER_Y = 10
EXPERIMENTAL_INNER = 0
EXPERIMENTAL_USE_SKEL = 0
FG_ELEV = /home/abassign/fgfs/install/flightgear/bin/fgelev
IGNORE_PKL_OVERWRITE = True
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
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 = 1000
MAX_SLOPE_MOTORWAY = 0.03
MAX_SLOPE_ROAD = 0.08
MAX_TRANSVERSE_GRADIENT = 0.1
NO_ELEV = False
OBSTRUCTION_LIGHT_MIN_LEVELS = 15
OSM_FILE = buildings.osm
OVERLAP_CHECK = True
OVERLAP_RADIUS = 5
PATH_TO_OUTPUT =
PATH_TO_SCENERY = /home/abassign/fgfs/install/flightgear/fgdata/Scenery
PREFIX = LIME
SKEL_MAX_HEIGHT_RATIO = 0.7
SKEL_MAX_NODES = 10
SKIP_LIST = ["Dresden Hauptbahnhof, Semperoper, Zwinger, Hofkirche, Frauenkirche, Coselpalais, Palais im Großen Garten, Residenzschloss Dresden, Fernsehturm, Fernsehturm Dresden, 87807683"]
TILE_SIZE = 2000
TRAFFIC_SHADER_ENABLE = False
USE_PKL = False
vec2d = <class 'vec2d.vec2d'>
------
textures: init
tools: init <tools.Stats object at 0x7eff20923b50>
FIXME: ignoring all but first inner way (5 total) of ID 1229362
FIXME: ignoring all but first inner way (2 total) of ID 1296504
FIXME: ignoring all but first inner way (3 total) of ID 1308519
FIXME: ignoring all but first inner way (2 total) of ID 1314575
FIXME: ignoring all but first inner way (2 total) of ID 1339668
FIXME: ignoring all but first inner way (2 total) of ID 1561783
FIXME: ignoring all but first inner way (4 total) of ID 1628297
FIXME: ignoring all but first inner way (2 total) of ID 1765822
FIXME: ignoring all but first iINFO:root:Skipping relation 3954783: no outer way.
INFO:root:Skipping relation 3954784: no outer way.
INFO:root:min/max 5.0455740 43.4945365 16.3542956 48.3406352
INFO:root:parsed 12175 buildings.
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n43/3039584.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n43/3039592.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n43/3039600.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n43/3039608.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n44/3039616.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n44/3039624.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n44/3039632.stg'
WARNING:root:stg_io:read: Ignoring unreadable file [Errno 2] No such file or directory: '/home/abassign/fgfs/install/flightgear/fgdata/Scenery/Objects/e000n40/e005n44/3039640.stg'
.
.
.
.
.


But there is this message (?):

Code: Select all
.
.
osm2city.py:292: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if name in parameters.SKIP_LIST:
.
.
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: LOWI city buildings

Postby radi » Thu Oct 23, 2014 5:56 am

Don't worry about the UnicodeWarning. OK, maybe we're on the right track now. Please rm LIME/elev.pkl and try again and see if the buildings come out good now.
OSM buildings for LOWI, EDDC
Custom scenery for VHXX YMML
Edit .stg via the FG Object Placement Tool
radi
 
Posts: 659
Joined: Mon Aug 25, 2008 5:24 pm
Location: YMML, EDDC

Re: LOWI city buildings

Postby radi » Thu Oct 23, 2014 6:06 am

If that works, get the latest osm2city from git and uncomment line 200 in tools.py, such that doesn't give $FG_ROOT to fgelev. Then rm LIME/elev.pkl again and re-try.
OSM buildings for LOWI, EDDC
Custom scenery for VHXX YMML
Edit .stg via the FG Object Placement Tool
radi
 
Posts: 659
Joined: Mon Aug 25, 2008 5:24 pm
Location: YMML, EDDC

Re: LOWI city buildings

Postby abassign » Thu Oct 23, 2014 3:17 pm

Image

I find where is the problem of "Buildings are generated, but they sit below the ground" :) !

The fgelev request a --fg-scenery parameter for read the elevation data! In may FGFS implementation the elevation data are positioned in the
/home/abassign/.fgfs/TerraSync/Terrain
I prefer this solution because the scenario data in this way are always up to date. Instead, the generation of data for the construction of objects with the program Osm2city.py is static and therefore needs the file defined by the parameter: FG_ROOT=/home/abassign/fgfs/install/flightgear/fgdata. Therefore, it is enough to copy, in the specific case of LIME, the folder "e000n40" mail "/home/abassign/.fgfs/TerraSync/Terrain" in the folder "/ home / abassign / fgfs / install / flightgear / fgdata / Scenery / Terrain "that everything worked :)
I have the impression that many have suffered from the same problem, particularly with the latest versions of FGFs for which TerraSync works very well.

The solution is not immediate because the tree "TerraSync" is slightly different from that of ..fgdata! In fgdata there is the folder "Scenery" followed by "Terrain" etc. While in "TerraSync" there is now the folder "Terrain" ect ... I thought it was enough to insert a new path in the event that you are using TerraSync, but it does not seem possible for the function "fgelev", at least that you do not modify this program , allowing for example to be able to give directly to the folder that contains "Terrain" etc ...

Or you could copy the folders with the coordinates necessary to "Terrain" by TerraSync to "osm2city" local cache, cleared at the start of the program.
It is normal when you have to do the merge between different databases, have problems of this kind.

The fact that I have reported the possibility of entering the rivers is born of the feeling that your program can do other things, such as inserting objects coming from OpenStreetMap, like you did with the roads and trains, I think that even the rivers can have this treatment, so that you can draw directly with patterns more realistic. There are still many things that can be invented by combining multiple databases. :)

Thank you for your wonderful work!

Actually this is my run:

Code: Select all
#!/bin/bash
export LD_LIBRARY_PATH=/home/abassign/fgfs/install/plib/lib:/home/abassign/fgfs/install/openscenegraph/lib
export FG_ROOT=/home/abassign/fgfs/install/flightgear/fgdata
export FG_SCENERY=/home/abassign/fgfs/install/flightgear/fgdata/Scenery
python osm2city.py -f LIME/params.ini >& osm2city.log
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: LOWI city buildings

Postby radi » Thu Oct 23, 2014 10:25 pm

Great to hear it works for you now! And thanks for explaining your setup in more detail. I think now I know what's going on.

First, you found out that FG_ROOT must be set. Good -- that is probably set somewhere in my .bashrc and I didn't think of that!

Now this is the actual fgelev call in tools.py:

Code: Select all
fg_root = "$FG_ROOT"
fgelev_cmd = path_to_fgelev + ' --expire 1000000 --fg-root ' + fg_root + ' --fg-scenery '+ parameters.PATH_TO_SCENERY


Fgelev gets passed PATH_TO_SCENERY, which was set to /home/abassign/fgfs/install/flightgear/fgdata/Scenery before. I suspect in that location it would only find the base KSFO scenery. Your actual (TerraSync) scenery is in /home/abassign/.fgfs/TerraSync/Terrain. So what you should do is

Code: Select all
PATH_TO_SCENERY = /home/abassign/.fgfs/TerraSync/
PATH_TO_OUTPUT = /home/abassign/.fgfs/Scenery-OSM/


and include /home/abassign/.fgfs/Scenery-OSM/ in your $FG_SCENERY. This way, fgelev gets passed the correct path to TerraSync, while the OSM objects are written to a different scenery path.

Note
  1. there is no need to copy around scenery directories.
  2. if you set PATH_TO_SCENERY to your TerraSync folder, you'll have to set PATH_TO_OUTPUT to something different. Otherwise TerraSync will override the OSM buildings.
  3. using a dedicated path for the OSM objects will allow you to easily get rid of them

Can you please
get the latest osm2city from git and uncomment line 200 in tools.py, such that doesn't give $FG_ROOT to fgelev. Then rm LIME/elev.pkl again and re-try.

and report back?
OSM buildings for LOWI, EDDC
Custom scenery for VHXX YMML
Edit .stg via the FG Object Placement Tool
radi
 
Posts: 659
Joined: Mon Aug 25, 2008 5:24 pm
Location: YMML, EDDC

Re: LOWI city buildings

Postby abassign » Fri Oct 24, 2014 12:56 pm

Beautiful work :) !

I used the new parameters: PATH_TO_SCENERY and PATH_TO_OUTPUT is OK!

get the latest osm2city from git and uncomment line 200 in tools.py, such that doesn't give $FG_ROOT to fgelev. Then rm LIME/elev.pkl again and re-try.


I do not know if it's a good idea, I think that for now it is better to make explicit "$ FG_ROOT" as it is tied to the OS in use, or add it in the initialization file.
Perhaps it is better to separate the INI file into two parts,. An INI file for configuration parameters are not specific to the geographic area. And a second INI for the few parameters of the geographical area concerned (coordionate geographical pattern etc ...).

Image

But I want more ;) ... The roofs where are they ?
The roads are nice, but sometime your roads go under the background texture, I think is necessary place the streets slightly higher, it should not be noticeable, but the result could be better. Some streets have red dots, but in reality should be visible only at night, I do not understand where they come from!

The city center of Bergamo (LIME) is dense, but I could not reproduce it, as you can see there is a limitation in the number of houses or something, but I can not find in the parameters.

So tomorrow, I will present FGFs to Linux Day of Bergamo, and in particular I will crying those who have not yet flown with FGFs and does not know osm2city!
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: LOWI city buildings

Postby radi » Fri Oct 24, 2014 10:19 pm

abassign wrote in Fri Oct 24, 2014 12:56 pm:
get the latest osm2city from git and uncomment line 200 in tools.py, such that doesn't give $FG_ROOT to fgelev. Then rm LIME/elev.pkl again and re-try.


I do not know if it's a good idea, I think that for now it is better to make explicit "$ FG_ROOT" as it is tied to the OS in use, or add it in the initialization file.


Again: I can't test this myself. because I can't access my main FG computer. I'm doing most of the troubleshooting off the top of my head these days. Here, I merely want to find out whether fgelev needs $FG_ROOT set or not. So, could you please do the simple test for me?

Perhaps it is better to separate the INI file into two parts,. An INI file for configuration parameters are not specific to the geographic area. And a second INI for the few parameters of the geographical area concerned (coordionate geographical pattern etc ...).

I see the rationale, but I didn't run into any limitations with the current scheme so far. Not very high up on my TODO list.

To get complex sloped roofs, EXPERIMENTAL_USE_SKEL = 1.

Code: Select all
 
The roads are nice, but sometime your roads go under the background texture, I think is necessary place the streets slightly higher,

You see? That is my crappy draping code. For a fix, see viewtopic.php?f=5&t=22809&start=90#p213424

Red dots are due to the roads' lighmap being active unconditionally. Yes, that's a bug :)


The city center of Bergamo (LIME) is dense, but I could not reproduce it, as you can see there is a limitation in the number of houses or something, but I can not find in the parameters.


Try EXPERIMENTAL_INNER = 1.
OSM buildings for LOWI, EDDC
Custom scenery for VHXX YMML
Edit .stg via the FG Object Placement Tool
radi
 
Posts: 659
Joined: Mon Aug 25, 2008 5:24 pm
Location: YMML, EDDC

Re: LOWI city buildings

Postby abassign » Fri Oct 24, 2014 11:40 pm

I try this:
get the latest osm2city from git and uncomment line 200 in tools.py, such that doesn't give $FG_ROOT to fgelev. Then rm LIME/elev.pkl again and re-try.

Is ok :) !

For roofs now all is well, the parameter EXPERIMENTAL_USE_SKEL = 1 allows the creation of roofs, there is a parameter to change (reduce, we are in Italy) the slope?

The parameter EXPERIMENTAL_INNER = 1 do not nothing, the density of home is low in the center of the town :(

This is my .INI file:

Code: Select all
#=============================================================================
# PARAMETERS FOR ALL osm2city MODULES
#=============================================================================

# -- Scenery folder, typically a geographic name or the ICAO code of the airport
PREFIX = "LIME"

# -- Boundary of the scenery in degrees (use "." not ","). The example below is from LSZR.
BOUNDARY_WEST = 9.5675
BOUNDARY_SOUTH = 45.6269
BOUNDARY_EAST = 9.8325
BOUNDARY_NORTH = 45.7670

OSM_FILE = "buildings.osm"  # -- file name of the file with OSM data. Must reside in $PREFIX
USE_PKL = False             # -- instead of parsing the OSM file, read a previously created cache file $PREFIX/buildings.pkl
IGNORE_PKL_OVERWRITE = True # -- Ignore overwriting of Cache File

# -- Full path to the scenery folder without trailing slash. This is where we
#    will probe elevation and check for overlap with static objects. Most
#    likely you'll want to use your TerraSync path here.
PATH_TO_SCENERY = "/home/abassign/.fgfs/TerraSync"

# -- The generated scenery (.stg, .ac, .xml) will be written to this path.
#    If empty, we'll use the correct location in PATH_TO_SCENERY. Note that
#    if you use TerraSync for PATH_TO_SCENERY, you MUST choose a different
#    path here. Otherwise, TerraSync will overwrite the generated scenery.
#    Also make sure PATH_TO_OUTPUT is included in your $FG_SCENERY.
PATH_TO_OUTPUT = "/home/abassign/fgfs/install/flightgear/fgdata/Scenery"

NO_ELEV = False             # -- skip elevation probing
ELEV_MODE = "FgelevCaching" # -- elev probing mode. Possible values are FgelevCaching (recommended), Manual, or Telnet
FG_ELEV = "/home/abassign/fgfs/install/flightgear/bin/fgelev"

# -- Distance between raster points for elevation map. Xx is horizontal, y is
#    vertical. Relevant only for ELEV_MODE = Manual or Telnet.
ELEV_RASTER_X = 10
ELEV_RASTER_Y = 10

#=============================================================================
# PARAMETERS RELATED TO BUILDINGS IN osm2city
#=============================================================================

# -- check for overlap with static models. The scenery folder must contain an "Objects" folder
OVERLAP_CHECK = True
OVERLAP_RADIUS = 5
BUILDING_REMOVE_WITH_PARTS = False

TILE_SIZE = 2000            # -- tile size in meters for clustering of buildings

MAX_OBJECTS = 100000         # -- maximum number of buildings to read from OSM data
CONCURRENCY = 1             # -- number of parallel OSM parsing threads. Unused ATM.

# -- skip buildings based on their OSM name tag or OSM ID, in case there's already a static model for these, and the overlap check fails.
SKIP_LIST = ["Dresden Hauptbahnhof", "Semperoper", "Zwinger", "Hofkirche",
  "Frauenkirche", "Coselpalais", "Palais im Großen Garten",
  "Residenzschloss Dresden", "Fernsehturm", "Fernsehturm Dresden", "87807683"]

# -- Parameters which influence the number of buildings from OSM taken to output
BUILDING_MIN_HEIGHT = 1             # -- minimum height of a building to be included in output (does not include roof)
BUILDING_MIN_AREA = 30.0            # -- minimum area for a building to be included in output
BUILDING_REDUCE_THRESHOLD = 100.0   # -- threshold area of a building below which a rate of buildings gets reduced from output
BUILDING_REDUCE_RATE = 0.3            # -- rate (between 0 and 1) of buildings below a threshold which get reduced randomly in output
BUILDING_REDUCE_CHECK_TOUCH = False # -- before removing a building due to area, check whether it is touching another building and therefore should be kept
BUILDING_SIMPLIFY_TOLERANCE = 1.0   # -- all points in the simplified building will be within the tolerance distance of the original geometry.
BUILDING_NEVER_SKIP_LEVELS = 6      # -- buildings that tall will never be skipped

BUILDING_COMPLEX_ROOFS = 1          # -- generate complex roofs on buildings?
BUILDING_COMPLEX_ROOFS_MAX_LEVELS = 5 # -- don't put complex roofs on buildings taller than this
BUILDING_COMPLEX_ROOFS_MAX_AREA   = 2000 # -- don't put complex roofs on buildings larger than this

# -- Parameters which influence the height of buildings if no info from OSM is available.
#    It uses a triangular distribution (see http://en.wikipedia.org/wiki/Triangular_distribution)
BUILDING_CITY_LEVELS_LOW = 2.0
BUILDING_CITY_LEVELS_MODE = 3.5
BUILDING_CITY_LEVELS_HEIGH = 5.0
BUILDING_CITY_LEVEL_HEIGHT_LOW = 3.1
BUILDING_CITY_LEVEL_HEIGHT_MODE = 3.3
BUILDING_CITY_LEVEL_HEIGHT_HEIGH = 3.6
# FIXME: same parameters for place = town, village, suburb

# -- The more buildings end up in LOD rough or bare, the more work for your GPU.
#    Increasing any of the following parameters will decrease GPU load.
LOD_ALWAYS_DETAIL_BELOW_AREA = 150  # -- below this area, buildings will always be LOD detail
LOD_ALWAYS_ROUGH_ABOVE_AREA = 500   # -- above this area, buildings will always be LOD rough
LOD_ALWAYS_ROUGH_ABOVE_LEVELS = 6   # -- above this number of levels, buildings will always be LOD rough
LOD_ALWAYS_BARE_ABOVE_LEVELS = 10   # -- really tall buildings will be LOD bare
LOD_ALWAYS_DETAIL_BELOW_LEVELS = 3  # -- below this number of levels, buildings will always be LOD detail
LOD_PERCENTAGE_DETAIL = 0.5         # -- of the remaining buildings, this percentage will be LOD detail,
                                    #    the rest will be LOD rough.

LIGHTMAP_ENABLE = 1                 # -- include lightmap in xml
OBSTRUCTION_LIGHT_MIN_LEVELS = 15   # -- put obstruction lights on buildings with >= given levels

EXPERIMENTAL_USE_SKEL = 1           # -- generate complex roofs with pySkeleton?
SKEL_MAX_NODES = 10                 # -- max number of nodes for which we generate complex roofs
SKEL_MAX_HEIGHT_RATIO = 0.7         # --
EXPERIMENTAL_INNER = 1

CLUSTER_MIN_OBJECTS = 5             # -- discard cluster if to little objects
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: LOWI city buildings

Postby radi » Sat Oct 25, 2014 12:23 am

git pull
BUILDING_SKEL_ROOFS_MIN_ANGLE = 20 # -- straight skeleton based complex roofs will
BUILDING_SKEL_ROOFS_MAX_ANGLE = 50 # have a random angle between MIN and MAX

Thanks for testing $FG_ROOT. It is now disabled.

The city center of Bergamo (LIME) is dense, but I could not reproduce it, as you can see there is a limitation in the number of houses or something, but I can not find in the parameters.


Please provide a link similar to http://www.openstreetmap.org/#map=18/45.69288/9.66530 showing the area you're missing.
OSM buildings for LOWI, EDDC
Custom scenery for VHXX YMML
Edit .stg via the FG Object Placement Tool
radi
 
Posts: 659
Joined: Mon Aug 25, 2008 5:24 pm
Location: YMML, EDDC

PreviousNext

Return to Scenery

Who is online

Users browsing this forum: No registered users and 6 guests