Re: Strange KML behaviors

"Mark Fenbers (NOAA Federal)" <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
And "We" refers to GMT developers, or users?? In other words, is
there an existing switch/option I can set to enforce the
uniqueness??

Mark

On 2/10/2014 12:26 PM, Paul Wessel
wrote:

So the problem is that the first gmt2kml creates a style called
st0 for the yellow and then the second gmt2kml call creates a
style with the same name that is orange...

We will have to ensure uniqueness of style names, perhaps
using more complicated tags like st0-yellow-1p, st0-orange-1p,
or similar.

-p

On Feb 10, 2014, at 7:16 AM, Mark Fenbers (NOAA Federal)
<[email protected] >
wrote:

Here is the URL for
yelloworange.kml file that produces the blue markers... http://weather.gov/ohrfc/HAS/images/yelloworange.kml

Mark

On 2/9/2014 10:23 PM, Paul
Wessel wrote:

I think you need to assign color via -C for this kind of
combination. Otherwise the style information in the
first layer would contradict that of the next layer.
However, you might want to turn your email into a new
issue an upload the yelloworange.kml file so we could
have a look.

-p

On Feb 9, 2014, at 5:14 PM, Mark Fenbers (NOAA
Federal) <[email protected] >

wrote:

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><mark_fenbers.vcf>

To unsubscribe, send the message "signoff gmt-help" to [email protected]

To unsubscribe, send the message "signoff gmt-help" to [email protected]
<mark_fenbers.vcf>

To unsubscribe, send the message "signoff gmt-help" to
[email protected]

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.