Misplaced <Style> tags
"Mark Fenbers (NOAA Federal)" <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
With a Google Support example in my hand which showed the <Style> definitions above (outside) any <Folder> tags, I edited the KML file that gmt2kml created and moved the <Style> sections to the top of the KML file (just under <Document>), and this worked!! See https://maps.google.com/maps?q=http:%2F%2Fwww.erh.noaa.gov%2Fohrfc%2FHAS%2Fimages%2Fgoogle.kml&hl=en&sll=39.406489,-87.397614&sspn=0.998473,1.71524&t=h&z=7 So I think the problem with the KML that gmt2kml produces is that the <Style></Style> tags exist inside <Folder></Folder> tags, but shouldn't. Apparently, Google Earth tolerates the <Style> tags inside <Folder> tags, but Google Maps does not. Looks like I'll have to be pulling in the SVN version afterall, once this issue is addressed... Mark P.S. I sent this message two days ago, but under a different thread that was getting a little "long in the tooth", so I think not too many people saw it, and I saw no responses to it, so here it is again! 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