This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cloud maps no longer updating

Tags: None
(comma "," separated)
indogo
Registered Member
Posts
4
Karma
0

Cloud maps no longer updating

Fri Sep 21, 2012 4:13 pm
The clouds maps appear to no longer update.
I believe the source of the free maps has moved so I tried the new address and recompiled but still the same.
It appears that somehow the source website is detecting that Marble is making the request and an out dated map is substituted as the one that appears in the browser does not match at all. I did clear any downloaded maps so it was forced to reload it. I also tried changing user agent but I don't believe that would help anyway as the cloud map is a separate perl script.
The actual original source of these maps is dundee university and although free from there it does require a login first so not a straightforward implementation.
regards
mike
User avatar
tackat
KDE Developer
Posts
131
Karma
0
OS

Re: Cloud maps no longer updating

Sat Sep 22, 2012 10:23 am
Hiho,

I just started Marble and it did update the cloud map. Comparing the look of the clouds with http://www.wetter.com/wetter_aktuell/sa ... er/europa/ I found out that the cloud coverage it shows seems to be that one of today at midnight. That is very much inline with what is posted at http://xplanet.sourceforge.net/clouds.php . It would be great though if somebody managed to write a script to compile a higher-resolution image that can be updated every 3 hours automatically.
What version of Marble are you using? :)
User avatar
tackat
KDE Developer
Posts
131
Karma
0
OS

Re: Cloud maps no longer updating

Sat Sep 22, 2012 10:34 am
Just as a proof:

Image

But again: it would be great if somebody could look into how to improve Marble's cloud coverage support based on free data.
indogo
Registered Member
Posts
4
Karma
0

Re: Cloud maps no longer updating

Sat Sep 22, 2012 3:00 pm
hi...thanks for the quick reply
well there's light.
I built from the 1.2 sources on the download page to make the qt version to run on debian lenny installs...the latest features were not needed.
I did alter the address in tile_clouds.pl
$response = getstore('http://xplanet.sourceforge.net/clouds/clouds_4096.jpg', 'clouds.jpg');
to the currently active
http://xplanet.sourceforge.net/clouds/clouds_2048.jpg and
http://xplanetclouds.com/free/coral/clouds_2048.jpg
to no avail. My confusion is to why I download an obsolete map.
I assume there is something else going on in the latest release but I would be stuck on compatability issues...namely qt4 version and libc.

I guess I will dust off git and examine the changes.

regards

mike

ps...my cloud map today
Image
User avatar
tackat
KDE Developer
Posts
131
Karma
0
OS

Re: Cloud maps no longer updating

Sat Sep 22, 2012 3:27 pm
Hi,

Well

tile_clouds.pl

will not do anything for you. It's a server script that is run on the KDE server.
So it's not directly related to the client that you use. The client that you use loads the files directly from the KDE servers.
It's instructed to do so via a so called dgml file which specifies the look and feel, e.g.

/usr/local/share/marble/data/maps/earth/bluemarble/bluemarble.dgml

That file has a texture definition like this:
<texture name="clouds_data" expire="10800"><!-- type="texture"-->
<sourcedir format="JPG"> earth/clouds </sourcedir>
<tileSize width="675" height="675" />
<installmap> clouds.jpg </installmap>
<storageLayout maximumTileLevel="1"/>
<blending name="CloudsBlending" />
</texture>
And since no other Url is given there it will download the files from the
http://files.kde.org/marble/maps/earth/clouds/
You can have a look at the files there (which get downloaded and created through the script you mentioned).
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Cloud maps no longer updating

Sun Sep 23, 2012 12:37 am
If you visit the KDE server linked above, which server do you get redirected to when you try to access one of the images?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
indogo
Registered Member
Posts
4
Karma
0

Re: Cloud maps no longer updating

Sun Sep 23, 2012 2:08 am
If you visit the KDE server linked above, which server do you get redirected to when you try to access one of the images?

Good question.....the server below...and several other mirrors which also seem to be serving an outdated cloud map.
http://mirror.catn.com/pub/kde-applicat ... clouds.jpg
This does give some logic to the difference in behaviour.

I tried adding the direct url but the code is expecting a particular server folder structure so had no real progress in that direction .(I did notice login ability in the code which might be usefull for say dundee though)

regards

Mike
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Cloud maps no longer updating

Sun Sep 23, 2012 2:55 am
If you try to use http://filesmaster.kde.org/marble/maps/ ... clouds.jpg instead, is there a difference?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
tackat
KDE Developer
Posts
131
Karma
0
OS

Re: Cloud maps no longer updating

Sun Sep 23, 2012 2:30 pm
Ben: Those two are obviously very much different. So something is very much wrong with the way that the data is getting mirrored (I hadn't been aware of the mirroring at all ...).
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Cloud maps no longer updating

Wed Sep 26, 2012 9:00 am
The mirrors probably don't update often enough to get the new enough mirror data.
I will take a look into this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Cloud maps no longer updating

Wed Sep 26, 2012 10:54 am
I've made some adjustments to the KDE Files redirector, so the clouds shouldn't be redirected now.
Please test.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
indogo
Registered Member
Posts
4
Karma
0

Re: Cloud maps no longer updating

Wed Sep 26, 2012 3:07 pm
Hi Ben

yes that does the trick...mystery solved.
Just for reference the loss of updating occured about 6 weeks ago...
A thankyou to both of you for looking into this and continued success with a great project.
If I come up with a 3 hour map solution I'll let you know...I assume via perl and the KDE website.

regards

Mike
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Cloud maps no longer updating

Wed Sep 26, 2012 9:08 pm
Interesting - the mirror system for the Marble Maps was added in at least 3 months ago from memory.
Good to see that it is working as expected now.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell