[josm-dev] Automatic tiles downloading in WMSPlugin
Petr Dlouhý
petr.dlouhy at email.cz
Fri Sep 19 07:51:22 BST 2008
On Thu, 18 Sep 2008 22:51:47 +0200, Bodo Meissner <bodo at bodo-m.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Petr Dlouhý wrote on 02.09.2008 02:20:
>
>> I think, I will please Bodo, when he returns wrom holiday. I implemented
>> something like delayed downloading, but much wiser. I implemented
>> synchronization between threads so only one thread is downloading tiles
>> at
>> the moment AND the tile starts to be downloaded only, when the tile is
>> still isible. It means, that when looking around, only few useless tiles
>> gets downloaded.
>
> Hello Petr,
>
> this sounds great. I think I will test it soon.
>
> As I have seen, you have submitted your version to SVN.
> I will try to re-implement my experimental changes for NASA's tiled WMS
> for the new version.
>
> Could you, please, give me some hints where to look in the sources to
> answer the following questions:
>
> How do you define the coordinates and resolution of the tile to be
> downloaded?
It didn't change. I am still passing Bounds and pixelPerDegree and
projection to grabber.
> How do you find out if a tile has already been downloaded?
>
If GeorefImage.downloadingStarted==true, the image is just being
downloaded. If image is not being downloaded and GeorefImage.image!=null,
the image is there.
>
> Bodo
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkjSv2MACgkQnMz9fgzDSqezfgCbBc84jGQGaI+Inxqvc+ZZmTHI
> EJ4AnArb/ierhSXS7hFcstawDTyn0Lq4
> =sXbv
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
--
Petr Dlouhý
More information about the josm-dev
mailing list