Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - AlexD

#1
Quote from: menion on February 17, 2014, 15:55:51
  If you load KML with network link in a way you wrote, how you then stop it??
There is no need to stop it.
The php-script generates a KML-file based on the values ​​from the database. Actual set of points can be changed several times per hour. Updating file once per a minute, I always have the current set of points in Locus without re-importing file.
Quote from: menion on February 17, 2014, 15:55:51
  I'll anyway improve this to next version, to keep old functionality in any way ...
Great!
#2
Hi.
I've got a problem with importing KML-file with <NetworkLink> section after Locus Pro has been updated to version 2.19.0.

Previously (on v2.18) i opened on my Android device local KML-file like this:
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns = 'http://earth.google.com/kml/2.1'>
  <Folder>
<NetworkLink>
  <Link>
<href>http://mysite.com/LocusDynamicKML_v4.php</href>
<refreshMode>onInterval</refreshMode>
<refreshInterval>60</refreshInterval>
  </Link>
</NetworkLink>
  </Folder>
</kml>

And Import it.
PHP-script LocusDynamicKML_v4.php, located on my web-server dynamically generate valid KML-file and output it to requester with header "Content-type: text/xml".
After importing a KML-file (above described), all the points that were generated by remote PHP-script displayed in the program and refreshed every minute.
Everything worked well.

But immediately after the upgrade to v2.19, I started getting errors when trying to import the KML-file with <NetworkLink> section:

Even if I try to load through <NetworkLink> a static KML-file (not dynamic php-script) from external web-server — I still see the same error.

My another device with LocusPro 2.18 (previous version) working well at the same time.

Please help me to solve this problem.