Board index FlightGear Development Scenery

Genapts failure on EIDW

Questions and discussion about enhancing and populating the FlightGear world.

Re: Genapts failure on EIDW

Postby legoboyvdlp » Thu Oct 04, 2018 12:40 pm

xDraconian wrote in Thu Oct 04, 2018 12:09 am:TerraGear will load an apt.dat up to version 1100, but it does nothing with those newer features.

Create a EIDW.dat file containing only EIDW. Any change?

the script failed this time at:
Code: Select all
EIDW:Close Contour
EIDW:We still have an active linear feature - add the first node to close it
EIDW: LinearFeature::ConvertContour - Creating a contour with 4 nodes
EIDW:adding Linear Anchor node at lon = -6.29085deg, lat = 53.4227deg, elev = 0m
EIDW:adding Linear Anchor node at lon = -6.29092deg, lat = 53.4222deg, elev = 0m
EIDW:adding Linear Anchor node at lon = -6.29011deg, lat = 53.4222deg, elev = 0m
EIDW:adding Linear Anchor node at lon = -6.29003deg, lat = 53.4227deg, elev = 0m
EIDW:Closed COntour : adding last node at lon = -6.29085deg, lat = 53.4227deg, elev = 0m


Note that I recompiled TerraGear between the two runs.
Load your dat file into WED to confirm the file is valid.

Yep, it loads fine!

Remove the items at the point that the process stops to see if it then runs to completion. Then add items back slowly until you identify the item it does not like. Maybe there is a bug in the loader.


I'm working through it to see if I can diagnose it. Thanks for the help!
User avatar
legoboyvdlp
 
Posts: 5826
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Genapts failure on EIDW

Postby legoboyvdlp » Thu Oct 04, 2018 1:11 pm

I got an older version from the gateway, fixed a few issues, and genapts is running right now - previously it would have stopped long before now. I'll readd elements from the newer version (will be faster than removing them from the new version) to see which one has the problem.


I am getting this, not sure if it is concerning:

Code: Select all
rpolate value outside of array!!!
WARNING: Attempt to interpolate value outside of array!!!
WARNING: Attempt to interpolate value outside of array!!!
WARNING: Attempt to interpolate value outside of array!!!
WARNING: Attempt to interpolate value outside of array!!!
WARNING: Attempt to interpolate value outside of array!!!
WARNING: Attempt to interpolate value outside of array!!!
WARNING: Attempt to interpolate value outside of array!!!


but the result looks ok:

Code: Select all
EIDW:Finished airport EIDW : parse 0.562000000 : build 16.223000000 : clean 2.658000000 : tesselate 3.258000000
:Genapts finished successfully
User avatar
legoboyvdlp
 
Posts: 5826
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Genapts failure on EIDW

Postby xDraconian » Fri Oct 05, 2018 12:40 am

The below is more of a warning than an error. It's processing contours and encountered a linear feature. Note that is duplicated the first node to convert a linear 4-node element into a polygon 5-node element.

EIDW:Close Contour
EIDW:We still have an active linear feature - add the first node to close it
EIDW: LinearFeature::ConvertContour - Creating a contour with 4 nodes
EIDW:adding Linear Anchor node at lon = -6.29085deg, lat = 53.4227deg, elev = 0m
EIDW:adding Linear Anchor node at lon = -6.29092deg, lat = 53.4222deg, elev = 0m
EIDW:adding Linear Anchor node at lon = -6.29011deg, lat = 53.4222deg, elev = 0m
EIDW:adding Linear Anchor node at lon = -6.29003deg, lat = 53.4227deg, elev = 0m
EIDW:Closed COntour : adding last node at lon = -6.29085deg, lat = 53.4227deg, elev = 0m

WARNING: Attempt to interpolate value outside of array!!!
Yes, that can be a problem with the resulting terrain.
My understanding is that this message appears while it is attempting to determine the average elevation of a group of points.
An overly simple example would be having points #0, #1, and #2. Then the program tries to determine the elevation of point #-1 (negative) or point #4, neither which exist so you see that message.
The processing continues, but your output may be flawed.
xDraconian
 
Posts: 86
Joined: Sun Jan 21, 2018 5:53 am
Version: Git
OS: Linux Mint

Re: Genapts failure on EIDW

Postby legoboyvdlp » Fri Oct 05, 2018 8:02 am

All looks ok this morning:
Image

I generated only w007n53 and it took 5 hours without including ogr-decode (only genapts and tg-construct!) :O

It appears that TerraGear now creates Jetways...? or perhaps that was in TerraSync already! Noticed the same at EGAC, where I don't remember any other jetways previously.
User avatar
legoboyvdlp
 
Posts: 5826
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Genapts failure on EIDW

Postby xDraconian » Fri Oct 05, 2018 10:01 pm

Looks good.
Glad you got it worked out.

5 hours is a long time to process. I think it is likely that TerraGear needs some more tweaking.
xDraconian
 
Posts: 86
Joined: Sun Jan 21, 2018 5:53 am
Version: Git
OS: Linux Mint

Re: Genapts failure on EIDW

Postby legoboyvdlp » Fri Oct 05, 2018 10:25 pm

To be fair, it was a major urban area with a very high OSM road density, so I wasn't overly concerned - but any improvements will indeed be welcomed ;)

Thanks for all thr help and continued support!

I'm no further on solving the mystery as to why the other layout failed, unfortunately.

P.s. I was surprised to see no noticeable seams or errors so far spotted at the tile boundaries - it would seem terragear has improved in this regard or I was just lucky? :)
User avatar
legoboyvdlp
 
Posts: 5826
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Previous

Return to Scenery

Who is online

Users browsing this forum: No registered users and 7 guests

cron