Jump to content


- - - - -

BGL won't take this


  • Please log in to reply
2 replies to this topic

#1 peter10

peter10

    Private Pilot - IFR

  • Members
  • PipPipPipPip
  • 707 posts
  • Location:Buffalo NY

Posted 17 July 2006 - 02:09 PM

BGLComp won't take this exclude:

<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData version="9.0" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<ExclusionRectangle
latitudeMinimum="N19 21.8885"
latitudeMaximum="N19 22.6395"
longitudeMinimum="W81 24.2792"
longitudeMaximum="W81 24.5063"
excludeAllObjects = "TRUE"
excludeBeaconObjects = "FALSE"
excludeEffectObjects = "FALSE"
excludeGenericBuildingObjects = "FALSE"
excludeLibraryObjects = "FALSE"
excludeTaxiwaySignObjects = "FALSE"
excludeTriggerObjects = "TRUE"
excludeWindsockObjects = "FALSE"/>
</FSData>

What am I doing wrong ? I copied the code sarge corrected my 1st post about excludes and changed the coordinates. It won't work  :D

Peter  :lol:

#2 IBtheSarge

IBtheSarge

    First Class Member

  • Moderator
  • PipPipPipPipPipPipPipPip
  • 10,718 posts
  • Location:Central Florida

Posted 17 July 2006 - 03:49 PM

peter10, on Jul 17 2006, 03:09 PM, said:

BGLComp won't take this exclude:

<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData version="9.0" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<ExclusionRectangle
latitudeMinimum="N19 21.8885"
latitudeMaximum="N19 22.6395"
longitudeMinimum="W81 24.2792"
longitudeMaximum="W81 24.5063"
excludeAllObjects = "TRUE"
excludeBeaconObjects = "FALSE"
excludeEffectObjects = "FALSE"
excludeGenericBuildingObjects = "FALSE"
excludeLibraryObjects = "FALSE"
excludeTaxiwaySignObjects = "FALSE"
excludeTriggerObjects = "TRUE"
excludeWindsockObjects = "FALSE"/>
</FSData>

What am I doing wrong ? I copied the code sarge corrected my 1st post about excludes and changed the coordinates. It won't work  :lol:
Look at your longitudes .... what's the rule for entering coordinates?

BOTTOM (latitude)
TOP (latitude)
TOP (longitude)
BOTTOM (longitude)

and disregard the words "minimum" and "maximum" in the line entries; they mean something entirely different to the bglcomp_SDK.

You have two points -- top left and bottom right.  You start with the bottom latitude, goto the top latitude, get the top longitude, then the bottom longitude.  Since you're in the west longitudes, the top longitude is going to be bigger (W81 24.5063) than the bottom longitude (W81 24.2792).  Swap them and you should get your BGL.   :D

(You're learning; good.  It just takes some practice to teach your eyes to ignore "minimum" and "maximum" and stick with BOTTOM TOP TOP BOTTOM.  :lol: )

#3 peter10

peter10

    Private Pilot - IFR

  • Members
  • PipPipPipPip
  • 707 posts
  • Location:Buffalo NY

Posted 17 July 2006 - 06:47 PM

Thanks, sarge .... again  :D

Peter  :lol: