Page 1 of 1

PostPosted: Thu Feb 10, 2011 5:48 am
by connor
I've recently been doing a major overhaul of the NZCH v1.3 AFCAD file for my own use, changing things like parking space, who parks where etc. But when I go to compile it I get this error message, and then it won't write my BGL.


ScruffyDuck Scenery Design Engine Compiling
Using FSX BglComp....


Parsing document: C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Addon Scenery\NZGI Garden City Helicopters\scenery\NZCH_ADEX_CH.xml

INTERNAL COMPILER ERROR: #C2343: LatitudeMinimum MUST be less than LatitudeMaximum!
INTERNAL COMPILER ERROR: #C2031: Failed element parse <ExclusionRectangle>
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <ExclusionRectangle
ERROR: latitudeMinimum = -43.4746595844626
ERROR: latitudeMaximum = -43.4746595844626
ERROR: longitudeMinimum = 172.521934211254
ERROR: longitudeMaximum = 172.521934211254
ERROR: excludeAllObjects = FALSE
ERROR: excludeTaxiwaySignObjects = TRUE
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!

I'm not sure what to do here? unsure.gif Any help would be apprecieated.

PostPosted: Thu Feb 10, 2011 7:31 am
by cowpatz
Try posting here (http://www.fsdeveloper.com/forum/forumdisplay.php?f=95)

Do a search first as that sort of error is not uncommon.

PostPosted: Thu Feb 10, 2011 8:09 am
by deaneb
Looking at the message it looks like you have added an exclude rectangle (excludeTaxiwaySignObjects) which has no dimension, hence the coords (max and min) are the same. You need to delete it or re-size it so the coords (max and min) are different to satisfy the compiler

PostPosted: Thu Feb 10, 2011 9:48 am
by toprob
deaneb wrote:
QUOTE (deaneb @ Feb 10 2011, 09:09 AM) <{POST_SNAPBACK}>
Looking at the message it looks like you have added an exclude rectangle (excludeTaxiwaySignObjects) which has no dimension, hence the coords (max and min) are the same. You need to delete it or re-size it so the coords (max and min) are different to satisfy the compiler


Yes, Deane has covered it, this does happen with ADE, but generally in this case your exclude rectangle disappears, which makes it difficult to find -- you may need to use Lists: Exclusions to select the rogue exclude before you can delete it.

PostPosted: Thu Feb 10, 2011 11:02 am
by connor
Aha, found the problem, the exclusion zone was hiding about 5km's away from the airport. I deleted it and it works all good now. Thanks for the help! smile.gif