Strange KML behaviors
"Mark Fenbers (NOAA Federal)" <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Greetings! Given this script snippet: gmt gmt2kml yellow.dat -Gfyellow -Fs > /awips/hydroapps/www/images/yellow.kml gmt gmt2kml orange.dat -Gforange -Fs > /awips/hydroapps/www/images/orange.kml gmt gmt2kml yellow.dat -Gfyellow -Fs -K > /awips/hydroapps/www/images/yelloworange.kml gmt gmt2kml orange.dat -Gforange -Fs -O >> /awips/hydroapps/www/images/yelloworange.kml which creates 3 KML files which are uploaded to the web server (yellow.kml, orange.kml, and yelloworange.kml). You can view them here: https://maps.google.com/maps?source=embed&ie=UTF8&t=p&ll=38.993572,-83.649902&spn=10.241768,15.380859&z=6&q=http:%2F%2Fweather.gov%2Fohrfc%2FHAS%2Fimages%2Fyellow.kml&vpsrc=0&oi=map_misc&ct=api_logo and replace "yellow" in the magnifying-glass box with "orange" or "yelloworange". The only thing different in my commands to create the yelloworange.kml file is the fact that I use -K and -O to combine two commands into one file. What's puzzling is that the yelloworange.kml file reveals all the points from both yellow and orange (this is good!), but the markers aren't yellow for some and orange for the others, but rather, they are all BLUE!! How does THAT happen?? Mark To unsubscribe, send the message "signoff gmt-help" to [email protected]
yo.kml.bash
(text/plain, 624 B)
gmt gmt2kml yellow.dat -Fs -Ihttp://labs.google.com/ridefinder/images/mm_20_yellow.png > /awips/hydroapps/www/images/yellow.kml gmt gmt2kml orange.dat -Fs -Ihttp://labs.google.com/ridefinder/images/mm_20_orange.png > /awips/hydroapps/www/images/orange.kml gmt gmt2kml yellow.dat -Fs -Ihttp://labs.google.com/ridefinder/images/mm_20_yellow.png -K > /awips/hydroapps/www/images/yelloworange.kml gmt gmt2kml orange.dat -Fs -Ihttp://labs.google.com/ridefinder/images/mm_20_orange.png -O >> /awips/hydroapps/www/images/yelloworange.kml To unsubscribe, send the message "signoff gmt-help" to [email protected]
mark_fenbers.vcf
(text/x-vcard, 347 B)
begin:vcard fn:Mark Fenbers n:Fenbers;Mark org:Ohio River Forecast Center;Hydrometeorological Analysis & Support Unit adr:1901 South OH-134;;National Weather Service;Wilmington;OH;45177-9708;USA email;internet:[email protected] title:Senior Meteorologist tel;work:937-383-0430 tel;fax:937-383-0033 url:weather.gov/ohrfc version:2.1 end:vcard