[Openstreetmap-dev] Cache the whole world.

Tom Carden tom at tom-carden.co.uk
Thu Feb 16 11:47:59 GMT 2006


> Hi,
>
>> Yes.  The problem is, for a given lat/long (the location of a recent
>> edit), what are the *exact* URLs of all the tiles that need refreshing?
>
> I still fail to see the complexity of the problem. Maybe this is due my
> outstanding intell... err.. ignorance ;-)
>

<snipped 1000 word essay on the non-complex problem ;)>

Some thoughts...

It's not enough to just propose it.  Whatever solution you come up with
must be usable with javascript, Java and Ruby code - and in order to get
started then solutions for all three would have to be ready at the same
time.

Rewriting the javascript tiles code is non-trivial (just debugging it and
adapting it for Mercator projection took Mikel, Steve and I way too long).

It would be better to keep WMS-friendly URLs and synchronise the
generation of those across platforms. It's also nice as it allows other
people to use OSM's imagery without running their own server.

MS has a patent on encoding float lat-lon in integers in URLs.  Be mindful
of that.
http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PG01&p=1&u=%2Fnetahtml%2FPTO%2Fsrchnum.html&r=1&f=G&l=50&s1=%2220050023524%22.PGNR.&OS=DN/20050023524&RS=DN/20050023524

Tom.





More information about the dev mailing list