Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Excludeing With MS SDK (Read 117 times)
May 10th, 2004 at 3:38am

stevewilson   Offline
Colonel
Wish I had my pic here!
Hanford, Ca.

Gender: male
Posts: 445
*****
 
I've been trying to use the code below to make an exclude bgl with no luck. The bglcomp accepts the text file and flashes a screen up so fast that I can't see what it is saying or doing, and then nothing else happens.

I've made several object bgl's and placed them into my scenery file. But for some reason I can't get a bgl file generated useing the code below:

<?xml version="1.0"?>
<FSData
version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<ExclusionRectangle
     latitudeMaximum = "36 21.07"
     latitudeMinimum = "36 20.77"
     longitudeMaximum = "-119 45.31"
     longitudeMinimum = "-119 44.98"
     excludeAllObjects = "TRUE" />
 
</ExclusionRectangle>
</FSData>

I've even tried lat/lon in differante orders. Can anyone help me on this?
 

Steve&&&&CPU: Intel Pentium 4 519 3.06 GHz &&Memory: 512MB (256MBx2) DDR PC3200 (400MHz) DIMM &&Intel Graphics Media Accelerator 900 Graphics&&Motherboard: Intel Augsburg &&SATA 8MB Cache 160GB 7200 &&CD R/W ROM, DVD-R/RW&&1 CPU FAN, 1 ANTEC FAN&&300 W PSU, WITH FAN &&FS9/2002&&...
IP Logged
 
Reply #1 - May 10th, 2004 at 7:25am
RollerBall   Ex Member

 
Wotcha Steve. try this

<?xml version="1.0"?>
<FSData
version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<ExclusionRectangle
     latitudeMaximum = "36 21.07"
     latitudeMinimum = "36 20.77"
     longitudeMinimum = "-119 45.31"
     longitudeMaximum = "-119 44.98"
     excludeAllObjects = "TRUE" />
</FSData>

Roger Wink
 
IP Logged
 
Reply #2 - May 10th, 2004 at 6:50pm

stevewilson   Offline
Colonel
Wish I had my pic here!
Hanford, Ca.

Gender: male
Posts: 445
*****
 
Thanks Roger, It now works.

I tried switching the minimum for the maximum and deleting the "</ExclusionRectangle>" at the end, but that didn't work, so I copyed what you had typed and that did it.

Did I have the indents in to far or a space where is shouldn't of been? I have no idea.

As I've told others, Roger you really know your stuff. Thanks again for passing on you wisdom.

BTW: What happened with the pic on the left of your post, did you finnaly hit bottom Grin
 

Steve&&&&CPU: Intel Pentium 4 519 3.06 GHz &&Memory: 512MB (256MBx2) DDR PC3200 (400MHz) DIMM &&Intel Graphics Media Accelerator 900 Graphics&&Motherboard: Intel Augsburg &&SATA 8MB Cache 160GB 7200 &&CD R/W ROM, DVD-R/RW&&1 CPU FAN, 1 ANTEC FAN&&300 W PSU, WITH FAN &&FS9/2002&&...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print