Google Maps API for TC computer guidance

Current storms and invests:

Moderators: hurricanetrack, S2k Moderators

Image
Visit the Storm2K Tropical System Page

The posts in this forum are NOT official forecast and should not be used as such. They are just the opinion of the poster and may or may not be backed by sound meteorological data. They are NOT endorsed by any professional institution or STORM2K. For official information, please refer to products from the National Hurricane Center and National Weather Service.

Help Support Storm2K
Message
Author
ncweatherwizard
Professional-Met
Professional-Met
Posts: 1243
Joined: Wed Sep 03, 2003 9:45 am
Location: Ft. Collins, CO

Google Maps API for TC computer guidance

#1 Postby ncweatherwizard » Tue Aug 10, 2010 3:15 pm

I'm not sure of the relevance of this topic to this particular discussion forum, but I think that this may be a really useful tool to some folks who frequent mostly this forum only.

I'm in the middle(?) stages of development of a Google Maps API based interface for plotting model guidance. Similar to some products already available, except I will have this available in viewing form in a web browser without having to download any files to your hard drive and open them. Currently, I'm developing the product on a UW Atmos. Sci. server. Please leave feedback by following the instructions below.

1. Go to http://maps.google.com
2. In the search bar, enter http://www.atmos.washington.edu/~spowel ... estmap.kml
3. Take note of the checkboxes on the left that will help reduce clutter.
4. Please reply to this post with any suggestions and comments. I'm already aware of some errors, but comment away!

This is the 12Z Aug. 10 model run for 94L. I currently do *not* have it set to update automatically (when out of development I will). Thanks folks.

Scott

P.S. You'll have to right click the address in #2 above and copy the link, then paste in the Google search box. (I don't know how to make something starting with http... not automatically turn into a link.)
0 likes   

tolakram
Admin
Admin
Posts: 13347
Age: 54
Joined: Sun Aug 27, 2006 8:23 pm
Location: Florence, KY (name is Mark)

Re: Google Maps API for TC computer guidance

#2 Postby tolakram » Tue Aug 10, 2010 3:21 pm

Nice.

Can you have the track points turned off by default, so only the colored lines show up? The pins make it rather cluttered.

Next, how do I plug a current sat pick KML into this? :)

Here's what it looks like, for those who are curious.

Image
0 likes   
M a r k
- - - - -

The posts in this forum are NOT official forecasts and should not be used as such. Posts are NOT endorsed by any professional institution or STORM2K.org. For official information and forecasts, please refer to NHC and NWS products.

Frank P
S2K Supporter
S2K Supporter
Posts: 1854
Joined: Fri Aug 29, 2003 10:52 am
Location: Biloxi Beach, Ms

Re: Google Maps API for TC computer guidance

#3 Postby Frank P » Tue Aug 10, 2010 3:24 pm

Hey this is neat, thanks
0 likes   

User avatar
ColinDelia
S2K Supporter
S2K Supporter
Posts: 918
Joined: Mon Aug 29, 2005 5:52 am
Location: The Beach, FL

Re: Google Maps API for TC computer guidance

#4 Postby ColinDelia » Tue Aug 10, 2010 3:46 pm

cool
0 likes   

ncweatherwizard
Professional-Met
Professional-Met
Posts: 1243
Joined: Wed Sep 03, 2003 9:45 am
Location: Ft. Collins, CO

Re: Google Maps API for TC computer guidance

#5 Postby ncweatherwizard » Tue Aug 10, 2010 6:08 pm

tolakram wrote:Nice.

Can you have the track points turned off by default, so only the colored lines show up? The pins make it rather cluttered.

Next, how do I plug a current sat pick KML into this? :)

Here's what it looks like, for those who are curious.

Image


Thanks for posting an image so folks can see. :D

It will be easy to turn the track points off by default. In fact I've been debating whether to include a single button that would remove or add all of the track points with one click. Additionally, I may experiment with including check boxes that can activate track points for only one time period for all models (i.e. 12HR or 24HR) while also allowing the user to to select individual forecast points for different models.
0 likes   

User avatar
jasons
Storm2k Executive
Storm2k Executive
Posts: 7307
Age: 43
Joined: Wed Jul 06, 2005 12:32 pm
Location: The Woodlands, TX

Re: Google Maps API for TC computer guidance

#6 Postby jasons » Tue Aug 10, 2010 6:18 pm

ncweatherwizard wrote:
It will be easy to turn the track points off by default. In fact I've been debating whether to include a single button that would remove or add all of the track points with one click. Additionally, I may experiment with including check boxes that can activate track points for only one time period for all models (i.e. 12HR or 24HR) while also allowing the user to to select individual forecast points for different models.


Yes, please add these features, especially one to have a single button for the plots.

Can I also suggest a way to see a legend, or see the line colors without having to expand the boxes?

I do like it though, just needs some UI tweaking :-)
0 likes   

User avatar
tronbunny
S2K Supporter
S2K Supporter
Posts: 1484
Joined: Wed Sep 01, 2004 1:18 am
Location: Central FL

Re: Google Maps API for TC computer guidance

#7 Postby tronbunny » Tue Aug 10, 2010 6:37 pm

Ooooh, this is one of my favorites now.
Thank you.
0 likes   

Chris_in_Tampa
Category 5
Category 5
Posts: 4409
Age: 34
Joined: Thu Jun 21, 2007 11:06 pm
Location: Tampa, Florida, USA
Contact:

Re: Google Maps API for TC computer guidance

#8 Postby Chris_in_Tampa » Tue Aug 10, 2010 7:38 pm

I'd recommend building a web interface if you can for it rather than using the maps.google.com interface. Google does not have a great way to convert KMZ files to use in Google Maps and you don't get much control of the output. A good way is to have the data in an XML file and use Google Maps to load the data on your page. Then use JavaScript to manage lots of options. You can do all sorts of stuff with your own interface.
0 likes   

User avatar
thetruesms
Professional-Met
Professional-Met
Posts: 845
Age: 33
Joined: Thu Aug 16, 2007 1:14 pm
Location: Tallahasee, FL
Contact:

Re: Google Maps API for TC computer guidance

#9 Postby thetruesms » Tue Aug 10, 2010 10:45 pm

ncweatherwizard wrote:Thanks for posting an image so folks can see. :D

It will be easy to turn the track points off by default. In fact I've been debating whether to include a single button that would remove or add all of the track points with one click. Additionally, I may experiment with including check boxes that can activate track points for only one time period for all models (i.e. 12HR or 24HR) while also allowing the user to to select individual forecast points for different models.
yes, yes, a million times yes. Figuring out where each model is at a specific time gets very difficult once you have more than a few plotted at once, and this would instantly be the best solution I've seen.
0 likes   

ncweatherwizard
Professional-Met
Professional-Met
Posts: 1243
Joined: Wed Sep 03, 2003 9:45 am
Location: Ft. Collins, CO

Re: Google Maps API for TC computer guidance

#10 Postby ncweatherwizard » Tue Aug 10, 2010 11:24 pm

jasons wrote:
Can I also suggest a way to see a legend, or see the line colors without having to expand the boxes?



Great idea; I'll work on this.

Chris_in_Tampa wrote:I'd recommend building a web interface if you can for it rather than using the maps.google.com interface. Google does not have a great way to convert KMZ files to use in Google Maps and you don't get much control of the output. A good way is to have the data in an XML file and use Google Maps to load the data on your page. Then use JavaScript to manage lots of options. You can do all sorts of stuff with your own interface.


You hit the nail on the head. And this is giving me headaches. So far I do load a KML file using Google Maps via a JavaScript in HTML. (http://www.atmos.uw.edu/~spowell/kmls/testmap.html) I didn't initially provide a link to the html page, however, because I haven't figured out yet how to produce my own menu of checkboxes. In that, the user only gets a map with lines and placemarks but has no control over what to view. My experience with JavaScript is a little shaky, but I'm messing around and learning as I go.
0 likes   

User avatar
hurricanefloyd5
Category 5
Category 5
Posts: 1659
Age: 37
Joined: Sun May 02, 2004 10:53 am
Location: Spartanburg
Contact:

Re: Google Maps API for TC computer guidance

#11 Postby hurricanefloyd5 » Sat Jun 29, 2013 7:32 pm

do you have the models and the recon for Google Earth
0 likes   

Chris_in_Tampa
Category 5
Category 5
Posts: 4409
Age: 34
Joined: Thu Jun 21, 2007 11:06 pm
Location: Tampa, Florida, USA
Contact:

Re: Google Maps API for TC computer guidance

#12 Postby Chris_in_Tampa » Mon Jul 08, 2013 1:16 am

0 likes   

User avatar
artist
Category 5
Category 5
Posts: 8755
Joined: Mon Jun 06, 2005 3:26 pm
Location: West Palm

Re: Google Maps API for TC computer guidance

#13 Postby artist » Mon Jul 08, 2013 5:12 pm

Chris_in_Tampa wrote:http://tropicalatlantic.com/models/
Direct link to GE for Atlantic: http://www.tropicalatlantic.com/models/ ... _Basin.kmz

http://tropicalatlantic.com/recon/
Direct link to GE for Atlantic: http://tropicalatlantic.com/recon/ge/Re ... _Basin.kmz

thanks Chris.
0 likes   

User avatar
latitude_20
Tropical Storm
Tropical Storm
Posts: 191
Joined: Wed Jun 30, 2010 6:46 am
Location: Tulum, Mexico
Contact:

#14 Postby latitude_20 » Tue Aug 19, 2014 8:18 pm

Sounds cool, but not playing nice with Firefox...
0 likes   

tolakram
Admin
Admin
Posts: 13347
Age: 54
Joined: Sun Aug 27, 2006 8:23 pm
Location: Florence, KY (name is Mark)

Re:

#15 Postby tolakram » Mon Sep 08, 2014 7:45 am

latitude_20 wrote:Sounds cool, but not playing nice with Firefox...


Howdy,

which part are you having issues with?

I use Firefox and I regularly use this link at work: http://tropicalatlantic.com/recon/live/ It requires installation of the Google Earth plugin but after that it mostly works fine. I say mostly because if you set some options, lke always keep oriented to north, it tends to freeze up the browser for a few seconds here and there.

The KMZ links require Google Earth full program to be installed and Firefox needs to have GE set as the program to open those files.

Hope this helps. :)
0 likes   
M a r k
- - - - -

The posts in this forum are NOT official forecasts and should not be used as such. Posts are NOT endorsed by any professional institution or STORM2K.org. For official information and forecasts, please refer to NHC and NWS products.


Return to “Active Storms/Invests - Atlantic/EastPAC/CentralPAC”

Who is online

Users browsing this forum: No registered users and 7 guests