Board index FlightGear Development Scenery

Reporting Faults  Topic is solved

Questions and discussion about enhancing and populating the FlightGear world.

Reporting Faults

Postby stickpawley » Tue Jan 29, 2019 11:32 pm

I just want to report a straightforward error with the generation of a .STG file. Bug reporting seems overcomplicated. Why can't I just send an email?
stickpawley
 
Posts: 5
Joined: Tue Jan 29, 2019 11:17 pm

Re: Reporting Faults

Postby Parnikkapore » Wed Jan 30, 2019 12:08 am

/me smells a bot
But anyway, the problem with the scenery is that even if a single thing changed, the whole world has to be regenerated (IIRC). Plus, the toolchain hasn't been used in years and is completely broken, and the devs are hard at work making it run again.Edit: That was outdated!
Last edited by Parnikkapore on Wed Jan 30, 2019 12:19 am, edited 1 time in total.
There are free alternatives to (almost) every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 929
Joined: Thu Oct 29, 2015 11:16 am
Callsign: HS-FGS
Version: next
OS: Kubuntu

Re: Reporting Faults

Postby xDraconian » Wed Jan 30, 2019 12:12 am

@stickpawley
What's the STG file issue you are seeing?

@Parnikkapore
The TerraGear tools are working pretty well now.
xDraconian
 
Posts: 406
Joined: Sun Jan 21, 2018 6:53 am
Version: Git
OS: Linux Mint

Re: Reporting Faults

Postby Parnikkapore » Wed Jan 30, 2019 12:19 am

Oh really? When's WS3?
There are free alternatives to (almost) every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 929
Joined: Thu Oct 29, 2015 11:16 am
Callsign: HS-FGS
Version: next
OS: Kubuntu

Re: Reporting Faults

Postby stickpawley » Wed Jan 30, 2019 1:26 pm

On Terrasync the objects in #2941824.STG won't render because some of the objects have co-ordinates that should be on a different tile. Full path is TerraSync/Objects/w010n50/w001n52/2941824.stg. Many Thanks
stickpawley
 
Posts: 5
Joined: Tue Jan 29, 2019 11:17 pm

Re: Reporting Faults

Postby wkitty42 » Wed Jan 30, 2019 5:51 pm

objects that should be on a different tile should not prevent FG from rendering the tile... there are hundreds of windsocks that are listed in the wrong tile but rendered in the proper location...

which airport can we see the problem from? i've looked and there are several to choose from in that tile...
Code: Select all
EG08
EG26
EG30
EG63
EG99
EGBF
EGBK
EGCL
EGMJ
EGSB
EGSF
EGSN
EGSP
EGTC
EGTH
EGUY
EGWE
EGXJ
EGXT
EGYE
XLIT
XSAC
XSBY
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: Reporting Faults

Postby stickpawley » Wed Jan 30, 2019 8:21 pm

--lat=51.999943 --lon=-0.951605 at the command line puts you at a line of Pylons that stop at tile 2941824.stg. If you remove lines 5 to 67 from 2941824.stg then the pylons appear (after turning off auto downloads). I'm using V2017.3.1 on Linux Opensuse Leap 15 so would be interesting to see if it works on different version/OS.
stickpawley
 
Posts: 5
Joined: Tue Jan 29, 2019 11:17 pm

Re: Reporting Faults

Postby wkitty42 » Thu Jan 31, 2019 3:58 am

there's a problem somewhere... i put in those exact coordinates and cannot find 2941824 in my debug logs at all... and there are no pylons, assuming you are talking about the high voltage power transmission line towers, in the area...
i'm running the latest FG code from the repository and using the latest terrasync scenery...
Code: Select all
********** 2019-01-30 12:21:32 -0500 **********
********** Total elapsed update and compile time is 0 days 0 hours 5 minutes 2 seconds **********

PLib:    a542b8a03f8de1fe844af6ab4734b64d11e272e9
OSG 3.4: 1f89e6eb1087add6cd9c743ab07a5bce53b2f480
Simgear: b76f78c6daf4e92e3d4f204975c47cc9e97fc016
FGFS:    f05c0297c078d4184000b1454a0ddc3d1a2ed71c
FGData:  e24206f605dc5aa92d92fe6f9d1f213f8d3decc1
FGAddon: r3749 | lbrenta | 2019-01-28 19:45:05 -0500 (Mon, 28 Jan 2019)


so i flew to EGUW and looked around... i did find some pylons there and followed them but i don't know that i can easily trace out the ones you are speaking of :?
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: Reporting Faults

Postby stickpawley » Thu Jan 31, 2019 6:45 pm

I'm guessing you didn't spot the minus sign on the longitude. The pylons are just east of Buckingham. Nearest airport is EG40 fly due east from there and you will see the problem (the line of pylons should continue North for several miles. Many thanks for all the efforts so far.
stickpawley
 
Posts: 5
Joined: Tue Jan 29, 2019 11:17 pm

Re: Reporting Faults

Postby Torsten » Thu Jan 31, 2019 9:46 pm

Hi

just found this thread and I can confirm that there is something wrong here.
In this tile http://flightgear.sourceforge.net/scene ... 941824.stg there should not be an object west of -1deg of longitude.
I have to check the database exporter scripts why this happens and shall fix it. It will take some time as I need to dig through some fancy SQL statements and python wrappers written by somebody else.

The objects around this pylon https://scenery.flightgear.org/map/?lat ... 13&obj=520 have messed up tile names.
No idea what makes the other pylons not showing up, though.

Torsten
flightgear.org - where development happens.
User avatar
Torsten
 
Posts: 648
Joined: Fri Feb 01, 2008 10:22 pm
Location: near Hamburg, Germany
Callsign: offline
Version: next
OS: Linux

Re: Reporting Faults

Postby wkitty42 » Fri Feb 01, 2019 3:32 pm

stickpawley wrote in Thu Jan 31, 2019 6:45 pm:I'm guessing you didn't spot the minus sign on the longitude.

don't guess... i pasted what you typed into my FG's launcher location settings...

[time passes]

you may be right, though... it appears the negative sign was dropped some how... an additional clue was the closest airport you mention which is different than the one i saw...

[more time passes]

yes, i loaded up at those coordinates and flew true heading 270 toward EG40 and i did spot the line of pylons that stops at the tile boundary behind me...

FWIW: the reason i didn't notice the dropped sign is because the launcher converts to N/S E/W so the sign is removed from the display...

FWIW2: here's my bucket log from this run...
Code: Select all
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.94137, 52.1306 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.942056, 52.1372 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.945318, 52.1412 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.949298, 52.1427 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.958868, 52.1461 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.967666, 52.1494 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.97214, 52.151 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.975584, 52.1523 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.979038, 52.1535 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.984231, 52.1554 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.988222, 52.1569 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.993265, 52.1609 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.994724, 52.1643 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.995936, 52.167 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.997159, 52.1698 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.998329, 52.1725 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -0.999316, 52.1748 in incorrect bucket (-1:0, 52:0) - should be in 2941832 (-1:0, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.00085, 52.1783 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.00213, 52.1812 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.00453, 52.1834 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.02854, 52.2051 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.03199, 52.2081 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.03499, 52.2109 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.03816, 52.2137 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04158, 52.2168 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04183, 52.2186 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04228, 52.2218 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.0427, 52.225 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04319, 52.2285 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04356, 52.2312 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04391, 52.2338 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04445, 52.2376 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04489, 52.2409 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04534, 52.2442 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.0459, 52.2481 in incorrect bucket (-1:0, 52:0) - should be in 2925451 (-2:3, 52:1)                                             
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04656, 52.251 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                             
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04722, 52.254 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                             
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04792, 52.2571 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04858, 52.2601 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.04925, 52.2629 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05013, 52.2669 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.0508, 52.2704 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                             
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05143, 52.2736 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05216, 52.2773 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.0528, 52.2807 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                             
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05401, 52.2871 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.0546, 52.2901 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                             
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05506, 52.2917 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05535, 52.294 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                             
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05622, 52.2974 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05709, 52.3007 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05781, 52.3035 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.05855, 52.3062 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.06029, 52.3075 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)                                           
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.06704, 52.3124 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.07143, 52.3156 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.07841, 52.3207 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.08117, 52.3227 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.08532, 52.3257 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.08873, 52.3282 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.0924, 52.331 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.09268, 52.3345 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.09301, 52.3381 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.09338, 52.3417 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.09362, 52.3452 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.0939, 52.3486 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.09407, 52.3519 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.09428, 52.355 in incorrect bucket (-1:0, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.74587, 54.9623 in incorrect bucket (-1:0, 52:0) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.74617, 54.9612 in incorrect bucket (-1:0, 52:0) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.74681, 54.9624 in incorrect bucket (-1:0, 52:0) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.74745, 54.9554 in incorrect bucket (-1:0, 52:0) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.75106, 54.96 in incorrect bucket (-1:0, 52:0) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.75392, 54.956 in incorrect bucket (-1:0, 52:0) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.75646, 54.9532 in incorrect bucket (-1:0, 52:0) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.7582, 54.9512 in incorrect bucket (-1:0, 52:0) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.76159, 54.9475 in incorrect bucket (-1:0, 52:0) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.76369, 54.9442 in incorrect bucket (-1:0, 52:0) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.76544, 54.941 in incorrect bucket (-1:0, 52:0) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w001n52/2941824.stg": Object at -1.77907, 54.9232 in incorrect bucket (-1:0, 52:0) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w002n52/2925443.stg": Object at -1.01115, 52.1894 in incorrect bucket (-2:3, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w002n52/2925443.stg": Object at -1.01357, 52.1916 in incorrect bucket (-2:3, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w002n52/2925443.stg": Object at -1.01667, 52.1944 in incorrect bucket (-2:3, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w002n52/2925443.stg": Object at -1.01935, 52.1968 in incorrect bucket (-2:3, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w002n52/2925443.stg": Object at -1.0225, 52.1996 in incorrect bucket (-2:3, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w002n52/2925443.stg": Object at -1.02652, 52.2033 in incorrect bucket (-2:3, 52:0) - should be in 2925451 (-2:3, 52:1)
TSScenery/Objects/w010n50/w002n52/2925443.stg": Object at -1.05342, 52.2841 in incorrect bucket (-2:3, 52:0) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.07391, 52.3175 in incorrect bucket (-1:0, 52:1) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.09461, 52.3587 in incorrect bucket (-1:0, 52:1) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.09478, 52.3614 in incorrect bucket (-1:0, 52:1) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.0969, 52.3645 in incorrect bucket (-1:0, 52:1) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.09896, 52.3674 in incorrect bucket (-1:0, 52:1) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.1007, 52.37 in incorrect bucket (-1:0, 52:1) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.10265, 52.3728 in incorrect bucket (-1:0, 52:1) - should be in 2925459 (-2:3, 52:2)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.10459, 52.3756 in incorrect bucket (-1:0, 52:1) - should be in 2925467 (-2:3, 52:3)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.10659, 52.3782 in incorrect bucket (-1:0, 52:1) - should be in 2925467 (-2:3, 52:3)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.10892, 52.3816 in incorrect bucket (-1:0, 52:1) - should be in 2925467 (-2:3, 52:3)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.38607, 54.6275 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.38984, 54.6301 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.39322, 54.6323 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.39884, 54.6343 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.40256, 54.637 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.40668, 54.6397 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.41057, 54.6426 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.41446, 54.645 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.41729, 54.6469 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.41801, 54.6505 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.4205, 54.6638 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.42104, 54.6668 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.42164, 54.67 in incorrect bucket (-1:0, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.74395, 54.9716 in incorrect bucket (-1:0, 52:1) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.74425, 54.9745 in incorrect bucket (-1:0, 52:1) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.74448, 54.9677 in incorrect bucket (-1:0, 52:1) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.74492, 54.9685 in incorrect bucket (-1:0, 52:1) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.77605, 54.9296 in incorrect bucket (-1:0, 52:1) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w001n52/2941832.stg": Object at -1.77769, 54.9261 in incorrect bucket (-1:0, 52:1) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w002n52/2925451.stg": Object at -1.73482, 54.9739 in incorrect bucket (-2:3, 52:1) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w002n52/2925451.stg": Object at -1.73867, 54.9722 in incorrect bucket (-2:3, 52:1) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w002n52/2925451.stg": Object at -1.74455, 54.9775 in incorrect bucket (-2:3, 52:1) - should be in 2925625 (-2:1, 54:7)
TSScenery/Objects/w010n50/w002n52/2925451.stg": Object at -1.76703, 54.9379 in incorrect bucket (-2:3, 52:1) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w002n52/2925451.stg": Object at -1.77025, 54.9349 in incorrect bucket (-2:3, 52:1) - should be in 2925624 (-2:0, 54:7)
TSScenery/Objects/w010n50/w002n52/2925451.stg": Object at -1.77301, 54.9324 in incorrect bucket (-2:3, 52:1) - should be in 2925624 (-2:0, 54:7)
TSScenery/Terrain/w010n50/w001n51/2941810.stg": Object at -0.358601, 51.8772 in incorrect bucket (-1:2, 51:6) - should be in 2941818 (-1:2, 51:7)
TSScenery/Objects/w010n50/w001n52/2941833.stg": Object at -1.41859, 54.6536 in incorrect bucket (-1:1, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941833.stg": Object at -1.41926, 54.6573 in incorrect bucket (-1:1, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941833.stg": Object at -1.41994, 54.6608 in incorrect bucket (-1:1, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941833.stg": Object at -1.42227, 54.6734 in incorrect bucket (-1:1, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941833.stg": Object at -1.42284, 54.6765 in incorrect bucket (-1:1, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941833.stg": Object at -1.42345, 54.6797 in incorrect bucket (-1:1, 52:1) - should be in 2925610 (-2:2, 54:5)
TSScenery/Objects/w010n50/w001n52/2941833.stg": Object at -1.42403, 54.6828 in incorrect bucket (-1:1, 52:1) - should be in 2925610 (-2:2, 54:5)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: Reporting Faults  

Postby Torsten » Fri Feb 01, 2019 10:39 pm

Found the issue for the pylons in the wrong tile.
The problem is that the tile number usually gets calculated in the scenemodels database on the fly from the objects position.
But there is als a column in the objects table holding the tile number. This tile number gets set when the object is created.
When somebody moves the object across a tile boundary, the old value remains in the database. This leads to different tile numbers for the same object in certain stages of the export process. This is bad.
Approx 180 of 1.2Mio objects had the wrong tile number set. I fixed those manually for now and triggered an export. Our terrasync mirrors should pick up the changes within a couple of hours.

For those interested, this is on of my favorite SQL functions in the scenemodels database. It's the one creating the object-stg for a single tile. Can you spot the reference to the tilenumber column?

Kudos to Martin for creating such a beast!

Code: Select all
CREATE OR REPLACE FUNCTION fn_DumpStgRows(integer)
    RETURNS setof text
AS $$
    DECLARE
        tileno integer = $1;
    BEGIN
        RETURN QUERY
        WITH modelitems AS (SELECT mo_id AS id,
            (CASE WHEN mo_shared > 0 THEN 1 ELSE 0 END) AS shared,
            mg_path AS path,
            mo_path AS name,
            trim(trailing '.' FROM to_char(ST_X(wkb_geometry), 'FM990D999999999')) AS lon,
            trim(trailing '.' FROM to_char(ST_Y(wkb_geometry), 'FM990D999999999')) AS lat,
            trim(trailing '.' FROM to_char(fn_StgElevation(ob_gndelev, ob_elevoffset)::float, 'FM99990D999999999')) AS stgelev,
            trim(trailing '.' FROM to_char(fn_StgHeading(ob_heading)::float, 'FM990D999999999')) AS stgheading
        FROM fgs_objects, fgs_models, fgs_modelgroups
        WHERE ob_tile = tileno
            AND ob_valid IS TRUE AND ob_tile IS NOT NULL
            AND ob_model = mo_id AND ob_gndelev > -9999
            AND mo_shared = mg_id),

        signitems AS (SELECT si_definition AS name,
            trim(trailing '.' FROM to_char(ST_X(wkb_geometry), 'FM990D999999999')) AS lon,
            trim(trailing '.' FROM to_char(ST_Y(wkb_geometry), 'FM990D999999999')) AS lat,
            trim(trailing '.' FROM to_char(si_gndelev::float, 'FM99990D999999999')) AS stgelev,
            trim(trailing '.' FROM to_char(fn_StgHeading(si_heading)::float, 'FM990D999999999')) AS stgheading
        FROM fgs_signs
        WHERE si_tile = tileno
            AND si_valid IS TRUE AND si_tile IS NOT NULL
            AND si_gndelev > -9999),

        modelrow AS (SELECT concat((CASE WHEN shared > 0 THEN concat('OBJECT_SHARED Models/', path) ELSE 'OBJECT_STATIC '  END),
            name, ' ', lon, ' ', lat, ' ', stgelev, ' ', stgheading)::text AS object
        FROM modelitems
        ORDER BY shared DESC, id, lon::float, lat::float,
            stgelev::float, stgheading::float),

        signrow AS (SELECT concat('OBJECT_SIGN ',
            name, ' ', lon, ' ', lat, ' ', stgelev, ' ', stgheading)::text AS object
        FROM signitems
        ORDER BY lon::float, lat::float,
            stgelev::float, stgheading::float),

        mo AS (SELECT string_agg(object, E'\n') AS mo FROM modelrow),
        si AS (SELECT string_agg(object, E'\n') AS si FROM signrow)

        SELECT (CASE
            WHEN COUNT(mo) = 1 AND COUNT(si) = 1 THEN concat(mo, E'\n', si)
            WHEN COUNT(mo) = 1 AND COUNT(si) = 0 THEN mo
            WHEN COUNT(mo) = 0 AND COUNT(si) = 1 THEN si
        END) AS ret
        FROM mo, si
        WHERE (SELECT COUNT(mo) FROM mo) > 0
            OR (SELECT COUNT(si) FROM si) > 0
        GROUP BY mo, si;

    END;
$$
LANGUAGE 'plpgsql';
flightgear.org - where development happens.
User avatar
Torsten
 
Posts: 648
Joined: Fri Feb 01, 2008 10:22 pm
Location: near Hamburg, Germany
Callsign: offline
Version: next
OS: Linux

Re: Reporting Faults

Postby Torsten » Fri Feb 01, 2019 10:43 pm

stickpawley wrote in Tue Jan 29, 2019 11:32 pm:I just want to report a straightforward error with the generation of a .STG file. Bug reporting seems overcomplicated. Why can't I just send an email?


And to answer the original question: send an email the to the flightgear-devel mailing list (Check the link at the top of this page) and reach out to most of our developers.

Torsten
flightgear.org - where development happens.
User avatar
Torsten
 
Posts: 648
Joined: Fri Feb 01, 2008 10:22 pm
Location: near Hamburg, Germany
Callsign: offline
Version: next
OS: Linux

Re: Reporting Faults

Postby wkitty42 » Sat Feb 02, 2019 7:22 pm

Torsten wrote in Fri Feb 01, 2019 10:39 pm:Found the issue for the pylons in the wrong tile.
The problem is that the tile number usually gets calculated in the scenemodels database on the fly from the objects position.
But there is als a column in the objects table holding the tile number. This tile number gets set when the object is created.
When somebody moves the object across a tile boundary, the old value remains in the database. This leads to different tile numbers for the same object in certain stages of the export process. This is bad.

excellent find! that had to be a rough road to hike barefoot in the snow ;)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: Reporting Faults

Postby stickpawley » Sat Feb 23, 2019 11:40 pm

Thanks for all your efforts Torsten, sounds like that took some finding. The pylons are now looking great. :)
stickpawley
 
Posts: 5
Joined: Tue Jan 29, 2019 11:17 pm


Return to Scenery

Who is online

Users browsing this forum: No registered users and 10 guests