Re: [OSM-dev] How to delete metatiles?

2011-01-16 Thread Radek Bartoň
Dne neděle 16 Leden 2011 03:25:27 Frederik Ramm napsal(a):

 Ideally of course there would be a library that does all the
 metatile stuff (computing paths and so on) used by everyone, but that's
 maybe too hard because it would have to be usable from so many different
 places.

+1

-- 
Ing. Radek Bartoň

Faculty of Information Technology
Department of Computer Graphics and Multimedia
Brno University of Technology

E-mail: black...@post.cz
Web: http://blackhex.no-ip.org
Jabber: black...@jabber.cz

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] How to delete metatiles?

2011-01-16 Thread Stephan Knauss

On 16.01.2011 20:11, Jon Burgess wrote:

Does anyone use the existing scheme with max_zoom  18? If not the
changes could only effect higher zooms, perhaps as a compatibility mode.


I do with zoom 19. And until a few minutes ago I felt fine doing it.
Now I feel confused.

Stephan


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] How to delete metatiles?

2011-01-16 Thread David Paleino
On Sun, 16 Jan 2011 20:25:55 +0100, Stephan Knauss wrote:

 On 16.01.2011 20:11, Jon Burgess wrote:
  Does anyone use the existing scheme with max_zoom  18? If not the
  changes could only effect higher zooms, perhaps as a compatibility mode.
 
 I do with zoom 19. And until a few minutes ago I felt fine doing it.
 Now I feel confused.

...and I'm having small dumps rendered at z21:

http://map.hanskalabs.net/ol.html

However, render_expired just segfaults when passed a list with tiles z18.

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 | http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


signature.asc
Description: PGP signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] How to delete metatiles?

2011-01-16 Thread Frederik Ramm

Hi,

Stephan Knauss wrote:

On 16.01.2011 20:11, Jon Burgess wrote:

Does anyone use the existing scheme with max_zoom  18? If not the
changes could only effect higher zooms, perhaps as a compatibility mode.


I do with zoom 19. And until a few minutes ago I felt fine doing it.
Now I feel confused.


The existing scheme *can* be used up to zoom 20, but that's how far it 
goes (because we only have 5 * 4 = 20 bits of coordinate space available 
for x and y).


If we wanted to introduce a new scheme that went past this limit, e.g. 
by adding an extra hierarchy level, then this would most likely not be 
backwards compatible; i.e. if Jon wanted to support the new scheme on 
tile.osm.org he'd probably have to move huge numbers of tiles to their 
new directories.


So one could think of a hack where for tiles up to zoom level x the 
current scheme was used, and for everything higher than x the new 
scheme would come into play.


Had it turned out that nobody uses zoom levels  18, then it would havew 
been easy to define x=18, and implement a new scheme that comes into 
play for tiles on zoom levels 19+.


Bye
Frederik

--
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09 E008°23'33

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] How to delete metatiles?

2011-01-16 Thread Stephan Knauss

On 16.01.2011 22:40, Frederik Ramm wrote:

Had it turned out that nobody uses zoom levels  18, then it would havew
been easy to define x=18, and implement a new scheme that comes into
play for tiles on zoom levels 19+.


I wouldn't mind to throw away my existing Z19 tiles. It's not that many 
places that get viewed with z19. They will quickly re-render when viewed.


So in case you would like to improve it, go on. My server should not 
stop you doing so.


Stephan

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] How to delete metatiles?

2011-01-15 Thread Stephan Knauss

What is the best way to delete metatiles in a given bounding box and zoom?
I'm using mod_tile and tirex.

In case it's not existing: Should it be added to tirex-batch? I like the 
filers and stuff tirex-batch already have. Even when I not need it, it 
could prove usefull for others.


Stephan

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] How to delete metatiles?

2011-01-15 Thread Frederik Ramm

Hi,

Stephan Knauss wrote:

What is the best way to delete metatiles in a given bounding box and zoom?
I'm using mod_tile and tirex.

In case it's not existing: Should it be added to tirex-batch? I like the 
filers and stuff tirex-batch already have. Even when I not need it, it 
could prove usefull for others.


Maybe we should start some sort of general metatile utility, or 
collection of utilities. Tirex already has at least one such thing, a 
metatile viewer, that has nothing to do with Tirex itself - it is useful 
for everyone working with metatiles, as would your tool.


The way I see it, the concept of metatiles is a general concept used by 
(currently) at least three different components - mod_tile, renderd, and 
Tirex. Ideally of course there would be a library that does all the 
metatile stuff (computing paths and so on) used by everyone, but that's 
maybe too hard because it would have to be usable from so many different 
places.


I would be interested to hear Jon's opinion about this.

Bye
Frederik

--
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09 E008°23'33

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev