fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights

Showing 21-83 of 83 messages
fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights adsaero 11/29/05 11:28 PM
Not sure if this is the right place to post this... but here goes! It's definitely one of the cooler things that we here at fboweb.com (http://www.fboweb.com) have come up with. This is a live, real-time network feed of all inbound flights to Los Angeles Internation Airport (LAX). The data refreshes once every 10 seconds.

A neat trick while playing around is to zoom in to LAX airport, and look up from the runways and watch the flights come in to land...

It's basically just a "feasibility study" of sorts, to see what else we can do with it :-)

PS: A note for everyone; you can now view traffic for additional airports by going to http://www.fboweb.com/antest/ge/intro.aspx (so far LAX, ORD and BOS, ATL and JFK)
Re: fboweb.com/LAX Inbound Flights MGN 11/30/05 6:24 AM
VERY COOL!!!!
One of the cooler real time data layers I have seen. Don't suppose you could make one for MSY?
Re: fboweb.com/LAX Inbound Flights PenguinOpus 11/30/05 7:47 AM

Very cool.

Several things:

- there's an airplane icon
- in KML (but not in the UI), you can specify the rotation of an icon, so you can have the plane's heading visualized
- you can extrude icons down to the ground to further demonstrate they're flying at altitude

- you could record the last 5 positions for each plane and show a fading bread crumb

You might guess that I've done a demo like this before, but not with live data.
Re: fboweb.com/LAX Inbound Flights Hill 11/30/05 2:27 PM
Obviously it worked for some, but not for me. This is what I get when I download it:


It sounds like a great idea. Is it similar to THIS?
_________________________
Click the images to view two important videos about our only home.
A Pale Blue Dot HOME

“Only when the last tree has died, the last river has been poisoned, and the last fish has been caught will we realize we cannot eat money.” Cree Proverb

My avatar Mr. Raven posed for me at the Tower of London.
Re: fboweb.com/LAX Inbound Flights BThomsen 11/30/05 2:46 PM
that is exactly what happened to me, i was in the process of uploading that same screen shot.
Re: fboweb.com/LAX Inbound Flights adsaero 11/30/05 3:30 PM
Hmmm... at first glance it looks like once LAX got too busy, the data was too voluminous, and GE is choking on it or something, but I find that hard to believe. We've temporarily changed it to a less busy airport until we can work out what's going on...
Re: fboweb.com/LAX Inbound Flights BThomsen 11/30/05 5:45 PM
it's working now


is there this service for every airport or just LAX?
Re: fboweb.com/LAX Inbound Flights AnimAlu 11/30/05 6:30 PM
This is just great! The data for me seems to be updating once every 40 seconds or so...not that I'm complaining.
_________________________
Jeff Alu http://www.animalu.com
Re: fboweb.com/LAX Inbound Flights PenguinOpus 11/30/05 7:59 PM
A few more bits of advice:
- create the KML file once every 10 seconds, not in response to a query. You're always likely to have more users than iterations.
- use a zip tool to create the appropriate kmz file from the kml to lower bandwidth and server load (foo.kml, unzips to doc.kml + any dependent images).

In your case, were you to add a custom icon, host it separately (rather than inside the kmz) and reference by URL and GE should only fetch the icon once.
Re: fboweb.com/LAX Inbound Flights adsaero 11/30/05 10:21 PM
Well, we've been tinkering around with it all day; we had the airplane icon working, but then as we started playing around with the styles again, it somehow stopped working.

We should be able to set a single style at the top of the KML file that sets the point icon to the airplane, rather than having to specify the icon for each invidiual placemark, correct?

Also, I figured we'd be able to put in a LineString set in the same Placemark as the Point Placemark, but it wouldn't seem to work - the only way we could get the trails to show up was if we created a while new Placemark, which adds to the size of the XML.

Any suggestions? We've been looking through the Tutorial file but we can't seem to find specific instances that help us in this case - they all seem to be split up into different Placemarks...
Re: fboweb.com/LAX Inbound Flights Forkboy2 11/30/05 10:53 PM
Nice work.

If you want to see the flights in relation to the US Sectional charts and also 3D airspace polygons get the KMZ in the top thread of this post.

http://bbs.keyhole.com/ubb/showflat.php?...&PHPSESSID=

Matt
_________________________
Matt Fox
Google Earth Library

Re: fboweb.com/LAX Inbound Flights adsaero 11/30/05 11:10 PM
Wow... incredible :-) I'll see if we can work these links in with the current demo.
Re: fboweb.com/LAX Inbound Flights PenguinOpus 12/1/05 12:45 AM
You definitely should be able to share styles, although I think the heading is part of the style so you'll need a style for each direction (perhaps limiting planes to 8 compass points (?)).

I agree that it appears that mixing points and lines in a Placemark ought to work, but I don't believe I've ever seen an example, so... if it hasn't been tested it doesn't work (or is defined not to work ).
Re: fboweb.com/LAX Inbound Flights Frank4 12/1/05 5:42 AM
This is a very cool thing! I'd like to write an article about it at Google Earth Blog. But, I before I do, I'd like to make sure you feel things are working smoothly.

I have a few suggestions (in case you haven't already thought of these):

1) Maybe updates every 10 seconds is too frequent. Other people who have had fast updating dynamic updates have found when dozens or hundreds of people simultaneously view them the bandwidth on the server goes through the roof quickly. Recently a couple of sailboat races were being followed with GE and they had to greatly reduce their updates to like once every 6 hours. One suggestion I've seen is to force people to do a manual refresh. This way if someone walks away from their computer, it won't be hitting your server for no reason.

2) Your format should definitely be KMZ if you're not already doing this. It compresses the data.

3) Why not use the built-in airplane icon? This would save a bit of bandwidth since you wouldn't have to send the image each update.

4) The track altitude data seemed whacked when I looked at it. Sometimes it was at altitude, sometimes it went below sea level. You might want to make it relative to ground instead of absolute. Or, just check the data. Maybe its a problem with your source?

Great work guys...let me know when you're ready and I'll write a story about it.
_________________________
Frank Taylor - Author of Google Earth Blog
All about Google Earth news, features, tips, technologies, and applications. Also read: http://TahinaExpedition.com
(If you have story ideas, please send me a private message.)
Re: fboweb.com/LAX Inbound Flights adsaero 12/1/05 9:27 PM
Hey! Sorry to take so long to get back to you - we've been busy playing around with thing :-) It's great! As for writing about in the Blog, that'd be fantastic! Let me address your message;

Regarding the update rate, I definitely take your point; as word spread about it (through here and other channels) the load on the server started jumping up pretty quickly. The search for all of the flights into LAX, during peak times, can be a hefty one (it does a lot of computation). In order to make things easier, we've now modified it so that the .kml is written once every 15 seconds or so instead of being generated on the fly by a query. Now everyone pulls off of the same .kml file.

Regarding the KMZ format, we're headed in that direction, but we're looking for some tools that will work with the software we're using (ASP.NET and VB - any pointers? :-)

We're now using the built-in icon, and we're getting set up to have it rotate in the correct direction.

The altitude data could be a bit whacked in some cases, but for the most part it should be valid... we're going to keep playing with it to see if there are "too many" invalid altitude points and find out what's up with it.

A heads-up, we've already modified our Google-search Flight Tracking interface to allow users to track individual flights with GE - the single flight tracking is updated once per minute (the frequency of individual flight updates), and uses extruded altitude indicators, showing the last 10 altitudes, so you get a trail/path of where the aircraft has been.

We're going to be doing a lot more integration with our site and with GE; we're planning on having the historical flight retrieval hooked into it by tomorrow, so that you can go back and pull up any past flight dating back to November of 2005 and plot its complete track, from start to finish, through GE.

If you'd like to contact me directly, drop me an email - ser...@fboweb.com, and just ask for Andy in it :-)

Thanks again!
Re: fboweb.com/LAX Inbound Flights Frank4 12/2/05 5:24 AM
Great work guys! I look forward to seeing how your network link evolves as you refine it.

I've just posted a story about your flight tracker at Google Earth Blog.

You can view the story here.

Here's a screenshot I took of your tracker:
Re: fboweb.com/LAX Inbound Flights: stereos sugarsmax 12/2/05 8:58 AM
Very nice! I wonder if GE could handle all of the US traffic?

Here's some stereo views




_________________________
3D Warehouse entries
Re: fboweb.com/LAX Inbound Flights: stereos adsaero 12/2/05 10:27 AM
Say! Are those "Stero" images supposed to be the things where that if you stare at them long enough they become 3d? Or am I just wishfully thinking? :-) (forgive the newbie question :-)
... and listen in real time to SoCal approach cheejit 12/2/05 12:37 PM
Wow, amazing stuff!

To make it even better, thanks to LiveATC.net, you can listen in real-time to Socal approach - check out http://www.liveatc.net/feedindex.php?type=class-b

Some LA area airspace maps are at http://www.laartcc.org/airspace.php
Re: fboweb.com/LAX Inbound Flights Hill 12/2/05 1:42 PM
Very nice. It is working now though at first it gave me a server error message. And wow, it covers all planes across the country designated to land at LAX. Lots of fun to watch. Thanks.
Re: fboweb.com/LAX Inbound Flights adsaero 12/2/05 5:59 PM
Quote:

Very nice. It is working now though at first it gave me a server error message. And wow, it covers all planes across the country designated to land at LAX. Lots of fun to watch. Thanks.




We just added in LAX, BOS and ORD...
Re: fboweb.com/LAX Inbound Flights BThomsen 12/2/05 9:47 PM
just wondering, where do we go to get the BOS and ORD network links? I can't seem to find them
Re: fboweb.com/LAX Inbound Flights adsaero 12/2/05 9:56 PM
Quote:

just wondering, where do we go to get the BOS and ORD network links? I can't seem to find them




Ooops! Sorry - go to www.fboweb.com/antest/ge/intro.aspx
Re:fboweb.com/LAX Inbound Flights : LAX Map sugarsmax 12/3/05 8:16 AM
Here's that map in an overlay.
_________________________
3D Warehouse entries
Re: fboweb.com/LAX Inbound Flights: stereos sugarsmax 12/3/05 8:19 AM
Yup. See IckyChris' collection over here .

It takes some practice, but after a while you can train your eyes to jump right to a "wall eye" and refocus.
_________________________
3D Warehouse entries
Re: fboweb.com/GE Track any commercial flight adsaero 12/3/05 7:33 PM
Just a heads up to everyone; you can now track any commercial flight through Google Earth in real time, via fboweb.com and the standard Google Search engine. If you go to Google and enter, for example, Southwest 2120 as a search term, a special set of results will pop up along the top (above the standard search results). Click "fboweb.com" - and once that page comes up (the standard tracking shows the flight on a regular Google Map), click the "Google Earth" button, middle-right screen, and the flight will pop up in Google Earth. The position will update once per minute automatically.
Re: fboweb.com/LAX Inbound Flights ziggyfly 12/4/05 8:53 PM
Nice job with this. Especially enjoy circling around the airport to view the different perspectives in 3D.

Ziggy
Re: fboweb.com/GE Track any commercial flight Forkboy2 12/5/05 2:07 AM
This is very cool, you might want to make a note on your website that the 3D Airspace polygons can take a minute or two to load and GE may look frozen while they are loading.

Cheers,

Matt Fox
Re: fboweb.com/LAX Inbound Flights FrankB 12/6/05 3:10 AM
And of course there has to be an annoying logo in the corner. Go elsewhere with your advertising.
Logo WernerG 12/6/05 5:14 AM
FrankB, I don't understand your comment. GE was created by a commercial enterprise for commercial enterprises. The author's company pays big bucks to get and process the data and for the version of GE that can do this. I'm sure that eventually this capability will be a subscription product, just like the other services on their web site. What's wrong with that?

Do you seriously believe that GE was created for us to play with for free, forever?
Re: Logo FrankB 12/6/05 5:46 AM
I believe that Google Earth will evetually end up as a huge target for spammers all over the world, just like our e-mail boxes are spammed today. It is an open platform, ideal for placing all kinds of annoying advertising. Just wait and see, it will be totally ruined some day.
Re: Logo adsaero 12/6/05 6:38 AM
Dude... you can turn off the logo :-)

On top of that, a few points. Absolutely, it costs a ton of money to be able to offer this data. People have to make a living somehow.

Lastly, we're not likely to ever charge for what you're seeing (the airpor inbound traffic) - in fact we hope to continue to add additional airports (it's our plan). We'll probably create OTHER services that will require a subscription (in fact we already have some services that use Google Earth that require a subscription)... people work with us as their job, they all have to earn money so they can feed their families, in the same way which - I'm sure - you work to pay for yourself.

I hardly think a logo in the corner consitutes SPAM.
Re: Logo PenguinOpus 12/6/05 6:46 AM

This is completely legitimate use of a screen-space overlay (SSO) to show a logo along with data. Floweb has done a lot of work to create this service (and continue to provide it) and they should be free to label it as they please (if you don't like their service, all you have to do is turn it off).

IMHO, if a company/user spends a lot of time creating some informative KML and wants to label it either in the folder description or with a SSO, that seems fine.

The only case I can see where GE will suffer from logo-spam is if someone takes someone else's work and adds their name or SSO to the content and then try to get people to download it. As always, the logo can be turned off, even independent of the content, so you're free to define your own experience.
Re: Logo WernerG 12/6/05 8:39 AM
Your argument doesn't wash. Email is a completely uncontrolled and unmonitored activity. In GE you decide which link you want to click on to get content.

If you really want free, unlogo'ed content, download NASA's Worldwind here . Unfortunately, building your own applications in WW is a much more user-angry process than in GE.
Re: fboweb.com/GE Track any commercial flight adsaero 12/8/05 6:51 AM
Quote:

This is very cool, you might want to make a note on your website that the 3D Airspace polygons can take a minute or two to load and GE may look frozen while they are loading.




Great suggestion... done! I realized it took quite a while on my system, wasn't sure if it was like that for everybody (and I'm running an AMD FX-57)
Re: Logo BThomsen 12/11/05 8:39 PM
Quote:

We'll probably create OTHER services that will require a subscription (in fact we already have some services that use Google Earth that require a subscription)...




Just wondering, what are these other services that you might create using Google earth and also what are the ones that you pay for and utilize Google Earth?

By the way i would be happy to do beta testing if thats a possibility
Re: Logo adsaero 12/13/05 2:10 PM
Quote:


Just wondering, what are these other services that you might create using Google earth and also what are the ones that you pay for and utilize Google Earth?




Well, one of them is to allow a user to pull up the complete flight history of any past flight since November, 2001, and view its flight path in 3D, from start to finish. The others revolve around the various pay features the service offers... but to avoid sounding like too much of a sales pitch in a public forum, check out www.fboweb.com for additional details!
Re: fboweb.com/LAX Inbound Flights adsaero 12/14/05 6:09 AM
Another heads-up to everyone, we've added Atlanta Hartsfield (ATL) and JFK to the mix...
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights phillyaj 12/16/05 5:31 PM
Ok, so I absolutely LOVE this feed. I used to work with the FAA about 10 years ago and it reminds me of the Traffic Management system I worked on..., We used to love tracking the Concord from UK to NYC. ANyway, Can someone tell me how to fix my IE to open thse (.ASPX) files. For some strange reason, when I click on the links, it displays the xml text in my browser...Don't think its supposed to work that way

I know it's something stupid, so I'll apologize now..

Thanks
Andy
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Fli echodawg 12/16/05 9:24 PM
not too sure about IE, works perfectly in firefox, flock or opera for me!
_________________________
Check out my new blog about Newport Rhode Island with a growing list of local GE links. http://newportri.blogspot.com
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights adsaero 12/18/05 8:36 AM
Quote:

Ok, so I absolutely LOVE this feed. I used to work with the FAA about 10 years ago and it reminds me of the Traffic Management system I worked on..., We used to love tracking the Concord from UK to NYC. ANyway, Can someone tell me how to fix my IE to open thse (.ASPX) files. For some strange reason, when I click on the links, it displays the xml text in my browser...Don't think its supposed to work that way




Actually, this has been happening with a lot of people, but we can't figure out what is actually causing it. It doesn't appear to be linked to the Google Earth version number, or IE, or anything else that we can peg down for that matter - although it has to be SOMETHING. Something to do with Mime Types, I'm thinking - and perhaps wether or not fboweb.com is a trusted web site...

Do you know if the latter is true?
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Fli PenguinOpus 12/18/05 9:14 AM

There was a small bug in older versions of Google Earth where it did not "advertise" that it understood KML/KMZ and some very picky web servers would not send a file type that it thought the requestor would not understand. I don't know if this is the cause, but try upgrading to the latest version (Help->CheckForUpdates).
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Fli phillyaj 12/18/05 2:21 PM
Thanks...but I'm running the latest version of GE+. Works fine with Firefox. Gotta be something stupid that I'm missing.

On a lighter note....anyone know if other Airports will be added??? One Request for PHL and MCO
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights Lon 12/22/05 1:05 PM
Try this: when you click on the Google Earth file link on the fbo webpage, and it asks you whether to "Open", "Save" etc., select "Save" and append ".kml" (without the quotes) to the ".ASPX" file name. This worked for me.
_________________________
Positive and negative originate with Freewill. Freewill originates with Individuated Consciousness. Individuated Consciousness originates with the projected differentiation of Unified Intelligence into an infinity of Finite Intelligences (www.montalk.net) .
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights giladal 12/27/05 8:16 AM
Hi Guys,

For some reason after downloading the .aspx file, it does load google earth, but shows absolutley nothing. I even zoomed to LAX and nothing..

Anyone?
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights adsaero 12/27/05 2:31 PM
Quote:

For some reason after downloading the .aspx file, it does load google earth, but shows absolutley nothing. I even zoomed to LAX and nothing..




Hi! This is part of the afformentioned bug that no one can seem to nail down; for some reason some Google Earth installations simply don't recognize the file.

A temporary workaround (until a permenant one is found) is to save the file as xxxxxxx.kml (ie, change the file extension to .kml from .aspx) and then open the file. It should work fine from there.
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Fli Forkboy2 12/30/05 7:49 PM
Adsaero....would it be possible for you to host the 3D airspace polygon date that is linked from your website from your own server. Right now you're website just hosts the small 1k file that is just a network link to the actual 850k file on my server (http://www.fox-fam.com/gefiles/sectionals2/airspace.kmz)

Traffic hasn't been a problem so far, but that file has been hit over 4,000 times this month and is increasing every week. You website must have got mentioned in a blog or something on the 27th.

The sectionals aren't a problem.

Thanks

Matt Fox
_________________________
Matt Fox
Google Earth Library

Re: fboweb.com/Inbound Flights with 3D planes svens 1/6/06 3:47 PM
I made a 3D plane which can move based on the fboweb data.
Still busy, but want to share it and find out if someone else was earlier...
One option I want to add is the pilots view

* I replaced the attachement
*I removed the attachement (too popular)
her it is again: click here
_________________________
Sven
My Posts
My Home
Re: fboweb.com/Inbound Flights with 3D planes Forkboy2 1/7/06 8:41 AM
Quote:

I made a 3D plane which can move based on the fboweb data.
Still busy, but want to share it and find out if someone else was earlier...
One option I want to add is the pilots view




3D plane is a great idea. Wonder if there anyway to have the plane move in real time extrapolating it's speed and heading from the data?

Matt
_________________________
Matt Fox
Google Earth Library

Re: fboweb.com/Inbound Flights with 3D planes svens 1/7/06 12:40 PM
fboweb provides its data once every 15 seconds, but the previous point is given. Therefore it should be possible to move from the previous point to the last point within 15 steps of a second. I reckon thats the closest you'll get to movement.
However the given data is not all that accurate. Yesterday I witnessed a Delta Airlines plane crash into the ocean near bermuda (!). It stayed there for quite a while to continue on 9000 meters...
Re: fboweb.com/Inbound Flights with 3D planes adsaero 1/8/06 1:54 PM
Quote:

However the given data is not all that accurate. Yesterday I witnessed a Delta Airlines plane crash into the ocean near bermuda (!). It stayed there for quite a while to continue on 9000 meters...




Hehehe; yeah, we have a problem with the software not interpreting some altitudes correctly. They have it in the queue to fix it, but everybody's a bit busy at the moment.

I tried dowloading your 3D plane but it didn't work; I'd love to check it out - a 3D plane would be much more desireable than a 2D icon...
Re: fboweb.com/Inbound Flights with 3D planes svens 1/8/06 2:17 PM
So I made a better version, see the other forum:
Subject Re: moving 3D planes IMPROVED version
Forum Models and Annotations
Poster svens
Posted on 22:54 08/01/2006
Re: fboweb.com/Inbound Flights with 3D planes PenguinOpus 1/8/06 5:44 PM
A 3D plane would be great, except for one thing... 3D geometry is not instanced in the current KML incantation, so every 3D object is specified in absolute lat/long coords. For now, stick to icons (but add a <heading> tag (!)), and when we have a better solution here, we'll give you a heads up.
Re: fboweb.com/Inbound Flights with 3D planes svens 1/9/06 1:04 AM
Your suggestion would require a motion-device/macro/program apart from the polygon definition. The stearing could eather be done by some kind of joystick or by external data (such as a networklink). Either way recalculation will have to be done. Now its done external trough a network link.

The kmz for 3D plane movement, i made, works just fine, for now. Speed and frequency depend on data delivered by others on a once every 15 seconds level. So the model rather jumps than moves. Still I consider a 3D image in some instances better than icons and images.
I wonder if you had a look at the 3D model yet.

Lets get the heads (and planes) up a bit earlier.
try out a single plane, using Airforce One

Something I'ld like (for my pilotsview) is a <LookFrom> tag rather than the <LookAt> tag for situations where the coordinates of the point of view are known, but those of the point one is looking at are unknown.
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights stpeterc 1/26/06 3:09 PM
Any plans for other airports?

I know I'd love to see all three large commercial airports and GA airports in the Bay Area.
_________________________
Chris
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Fli Forkboy2 1/27/06 11:16 PM
Quote:

Any plans for other airports?

I know I'd love to see all three large commercial airports and GA airports in the Bay Area.




You might like this website, if you don't already know about it.

http://www.flyquietsfo.com/live/

Matt
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights stxer 2/5/06 1:23 PM
Hi,

I discovered the FBOWEB-LAX page here on GE today and have a question.

Can someone please tell me if there is a way to turn off the names of the cities surrounding LAX on the map? I've searched everywhere and can't find a way to do that. The names interfere with the flight icons and I'd like to get them off the screen. Thanks very much if you know the answer to this.
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Fli PenguinOpus 2/5/06 1:30 PM

They're in the "Populated Places" layer.
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Fli bowman13 12/20/06 10:49 AM
the download isnt working for me, but ill keep working on it. Cant fetch the data
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights rmpjje 12/24/06 12:17 PM

I would appreciate seeing Toronto-Pearson (CYYZ) inbounds as I live on one of the approaches.

Thank you,

Robert
Re: fboweb.com/LAX, ORD, BOS, ATL, JFK Inbound Flights ItsAllInYourHead 12/25/06 6:20 PM
There's a flight that has been on Miami's KML for over a month. It is PAC8483 MIA->MMMX. It has left a red flight path from the Gulf of Mexico to the state of Ohio where the plane currently hovers over. Like I said, it's been there for well over a month now not moving. Any chance this could be removed by the owners? Thanks!
_________________________
-Kevin
Re: fboweb.com/LAX Inbound Flights pseabury 12/31/06 1:33 PM
For KMZ - If you're using ASP.NET or anything .NET for that matter, you should be able to use the VisualJ# libraries to compress the kml output....that's what I do for everything that I output into KMZ from C#. First add a reference in your project to the vjslib dll. Here's a simple example of adding a single kml file into a KMZ.....there's a little more work if you have to add more files/images:

Code:

// Create the ZipOutputStream that will write the kmz
ZipOutputStream zo = new ZipOutputStream(new java.io.FileOutputStream(safeFileName + ".kmz"));

// Open a FileInputStream to read the already written kml
java.io.FileInputStream fis = new java.io.FileInputStream(safeFileName + ".kml");

// Create a ZipEntry object for every file you plan to add to the zip.
ZipEntry ze = new ZipEntry(safeFileName + ".kml");
ze.setMethod(ZipEntry.DEFLATED);
zo.putNextEntry(ze);

// Add the bytes for that ZipEntry
sbyte[] buffer = new sbyte[1024];
int len = 0;
while ((len = fis.read(buffer)) >= 0)
{
zo.write(buffer, 0, len);
}

// Clean up
zo.closeEntry();
fis.close();
zo.close();

_________________________
There are 10 kinds of people in this world... those that understand binary, and those that don't.
Re: fboweb.com/Inbound Flights with 3D planes anubis679 7/12/08 3:18 AM
regarding the FBOweb inbound flight KMLs.

Is their a way to change the KML so that instead of seeing the default plane icon you could change it to something else like the specific airlines corporate logo?

the only way i have been able to do it to this point is to stop the refresh and change each flight individually...which is painstaking.

What I want is for each flight to show the airlines corporate logo permanently even with refresh. So if lets say an American Airlines flight leaves JFK I would see the red and blue AA with the flight # instead of the plane icon and flight #.

Is their a way to do this? If so please message me.

thx.
_________________________
307 Extrasolar planets, 249 Extrasolar planetary systems and 29 multiple planet systems discovered as of 07/25/08. http://exoplanet.eu/catalog.php
More topics »