Locus Map - forum

Content & Tools => Tools => Topic started by: ColdAutumn on January 13, 2022, 20:16:50

Title: Interesting earthquake KML and updated in real time
Post by: ColdAutumn on January 13, 2022, 20:16:50
Hi everyone,
Here is a very valuable KML:
https://earthquake.usgs.gov/earthquakes/feed/v1.0/kml.php (https://earthquake.usgs.gov/earthquakes/feed/v1.0/kml.php)

And this online KML seems to be rewritten, here is modified KML:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
   <Document>
      <name>Earthquakes</name>
      <visibility>1</visibility>
      <open>1</open>
      <LookAt>
         <longitude>-100</longitude>
         <latitude>39</latitude>
         <range>4000000</range>
         <tilt>0</tilt>
         <heading>0</heading>
      </LookAt>
      <NetworkLink><visibility>1</visibility><refreshVisibility>0</refreshVisibility><open>1</open>
         <name>USGS Magnitude 1.0+ Earthquakes, Past Week</name><Snippet maxLines="1">Updates every 5 minutes</Snippet><Link>
            <href>http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/1.0_week_age.kml</href>
               <refreshMode>onInterval</refreshMode><refreshInterval>300</refreshInterval></Link></NetworkLink>
               <NetworkLink><name>Tectonic Plates</name><visibility>0</visibility><refreshVisibility>0</refreshVisibility><Link>
                  <href>http://earthquake.usgs.gov/earthquakes/feed/v1.0/plates.kmz</href></Link></NetworkLink></Document></kml>

Can you further modify it? Because I am not too satisfied, for example, it always shows all the earthquake level, and I actually only care about the higher level of earthquake.

For you and many thanks.
Title: Re: an interesting earthquake KML and updated in real time
Post by: ColdAutumn on January 13, 2022, 20:18:54
Add one
Title: Re: an interesting earthquake KML and updated in real time
Post by: lor74cas on January 15, 2022, 10:37:22
Hello,
isn't it enough for you to just be able to tap the eye icon to disable lower levels?
Title: Re: an interesting earthquake KML and updated in real time
Post by: ColdAutumn on January 15, 2022, 12:00:47
Quote from: lor74cas on January 15, 2022, 10:37:22
Hello,
isn't it enough for you to just be able to tap the eye icon to disable lower levels?

No, almost every time I switch from other App to LOCUS, all levels are displayed!
I don't know why, it seems that LOCUS cannot effectively control.
If you are interested, you should find the same situation after you import it.

Many thanks.
Title: Re: an interesting earthquake KML and updated in real time
Post by: lor74cas on January 15, 2022, 13:37:35
Quote from: ColdAutumn on January 15, 2022, 12:00:47
Quote from: lor74cas on January 15, 2022, 10:37:22
Hello,
isn't it enough for you to just be able to tap the eye icon to disable lower levels?

No, almost every time I switch from other App to LOCUS, all levels are displayed!
I don't know why, it seems that LOCUS cannot effectively control.
If you are interested, you should find the same situation after you import it.

Many thanks.
There are several things that don't work as well as they should with kml. For example, even if I disable the visibility, the objects remain on the map. Sometimes I have to close and reopen locus to get rid of objects. I noticed that with your earthquake file, as with others that I haven't used for a while, for weather or statshunter.
Title: Re: an interesting earthquake KML and updated in real time
Post by: ColdAutumn on January 15, 2022, 14:18:51
Hi lor74cas,
Yes, it also has display problems. Your description is consistent with me.

Thanks.