nofaceinbook / muxp

Mesh Updater X-Plane
GNU Lesser General Public License v3.0
18 stars 3 forks source link

Tile border error #65

Open Colins2 opened 3 years ago

Colins2 commented 3 years ago

Hi, I'm trying to flatten a runway in a newly created airport where the boundary is just inside the tile boundary and I am getting Error code -4 saying a longitude is out of range. The longitude is within the tile border but only just. Can you look at the attached files please. muxp.log

Talasea-apt-area.muxp.txt

NB I had to append .txt to the muxp filename in order to upload it, the file picker won't accept .muxp extensions

nofaceinbook commented 3 years ago

Hi Colin, Well the definition of the tile is wrong according to X-Plane requirements. You use:

tile: -05+150 area: -5.292985 -5.253746 150.000048 150.017695

The tile is always rounded down. So for the area which is about -5.2 you need to round down to -06. So you could try again with: tile: -06+150 and see if it works.

Was this automatically created? Then I would need to correct it...

Colins2 commented 3 years ago

Hi, My mistake! I created the file myself. What threw me was the error message saying longitude error, when in fact it was a latitude error. That's why I didn't see it! It worked after changing the Tile No. in the muxp file but it generated an enormous amount of triangles. The log file was over 43mb. I guess because it is right on the tile boundary. The terrain is pretty flat around there but the runway had a lot of undulations which is what I wanted to flatten. I will try different settings.

Re the other query about the airport, I'll try and find the thread and contact the creator.

Thanks Colin

On Wed, 17 Feb 2021 at 02:24, schmax notifications@github.com wrote:

Hi Colin, Well the definition of the tile is wrong according to X-Plane requirements. You use:

tile: -05+150 area: -5.292985 -5.253746 150.000048 150.017695

The tile is always rounded down. So for the area which is about -5.2 you need to round down to -06. So you could try again with: tile: -06+150 and see if it works.

Was this automatically created? Then I would need to correct it...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nofaceinbook/muxp/issues/65#issuecomment-780063467, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJQF55JGJAJUXTQMPYCF7PLS7LA6FANCNFSM4XWJ3G7Q .

nofaceinbook commented 3 years ago

Ok. So I need to update the error message.