[josm-dev] wmsplugin improvements
Petr Dlouhý
petr.dlouhy at email.cz
Fri Sep 12 15:38:37 BST 2008
Hello,
you didn't change YAHOOGrabber to adjust your changes, is it? If no, I
will change it myself.
I had "synchronized (layer) { //download only one tile in one moment" in
the code, so only one tile was downloaded at same time. That was, because
I didn't know about thread pool, so I think, it could be removed now, is
it?
On Fri, 12 Sep 2008 16:10:08 +0200, Henrik Niehaus <henrik.niehaus at gmx.de>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> That's no problem for me. It's only a small patch; nothing to speak of.
>
> Petr Dlouhý schrieb:
>> On Fri, 12 Sep 2008 15:32:38 +0200, Henrik Niehaus
>> <henrik.niehaus at gmx.de> wrote:
>>
>> I will take more detailed look at the patch today.
>> Do you really want me to commit your patch? I have no problem with that,
>> but it will be commited under my name.
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Petr Dlouhý schrieb:
>>>
>>> I did some more research and the wms server I am using, seems to allow
>>> only a few connections from one client. I achieved the best reliability
>>> with a thread pool size of 3, so that only 3 connections exist at a
>>> time. With this configuration I could scroll around like a berserk and
>>> all tiles loaded on the first attempt. So, if you want to apply my
>>> patch
>>> to the plugin you should consider to set the pool size to 3.
>>> It might be slower with servers, which accept more connections, but it
>>> increases the speed at crappy servers, because tiles are loaded
>>> immediately and don't need 5 or more http requests.
>>>
>>> Did you have a look at the patch?
>>>
>>> Greetings
>>> Henrik
>>>
>>> - --
>>> Mein öffentlicher PGP Schlüssel und Fingerabdruck:
>>> http://hampelratte.org/pgp/
>>
>
>
> - --
> Mein öffentlicher PGP Schlüssel und Fingerabdruck:
> http://hampelratte.org/pgp/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkjKeEAACgkQ3DLGmVuRk9+XAQCeI4tmSyZhiPW2+B8v8QV9b6mn
> UrYAnAoka1UKSLbP66ZfyzOO2S2CbxfS
> =TxpO
> -----END PGP SIGNATURE-----
--
Petr Dlouhý
More information about the josm-dev
mailing list