[Tilesathome] Lowzoom rendering

80n 80n80n at gmail.com
Mon Feb 25 20:40:59 GMT 2008


Jeremy
Yes, you are doing the right thing.

There's an unresolved problem with the upload script, in that it only tries
to upload the currently configured layer.

The workaround is to change the Layers property in layers.conf to each layer
in turn and then run upload.

Also below I assume you've made a typo, it should be:
lowzoom_composite.pl 74 95 8 12 tile captionless caption
not
lowzoom_composite.pl 74 95 8 12 captionless caption

hth
80n

On Mon, Feb 25, 2008 at 7:11 PM, Jeremy Adams <milenko at king-nerd.com> wrote:

>  Just to make sure I'm doing this correctly:
>
> If I want to render a lowzoom tile (say 74,95) I first render a lowzoom
> caption-only using the layers.conf you provided below.  I would run perl
> tilesGen.pl xy 74 95 8.  Then upload and wait for processing.
>
> After the t at h server has processed the tile I then run perl
> lowzoom_composite.pl 74 95 8 12 captionless caption.  After it does it's
> thing, I have the tiles and they appear to be rendered OK.  I'm not sure how
> to get them uploaded though.  I dumped them in the temp dir and tried using
> tilesGen.pl to upload them, but it only grabbed the caption tiles and left
> the captionless behind.  Is there a different method for uploading these?
>
> -Jeremy
>
>
> ----- Original Message -----
> *From:* 80n <80n80n at gmail.com>
> *To:* Jocelyn Jaubert <jocelyn.jaubert at gmail.com>
> *Cc:* tilesathome at openstreetmap.org
> *Sent:* Saturday, February 23, 2008 6:35 AM
> *Subject:* Re: [Tilesathome] Lowzoom rendering
>
> The new lowzoom method uses a different process.
>
> The first step is to generate a lowzoom caption-only layer for z8-z11.
> There's no layers.conf in svn that will do this at the moment, but the one
> I use is included below.
>
> You then have to upload this layer and wait until it has be processed by
> the t at h server.  Currently the next step expects to be able to download
> the caption layer, and you don't get up-to-date results unless its there.
>
> The second step is to run the tools/lowzoom/lowzoom_composite.pl script
> using the following arguments:
>
> lowzoom_composite.pl x y 8 12 tile captionless caption
>
> This will read the z12 captionless base layer and the caption layer from
> z8 to z11 and composite these together to create the tile layer which is
> what ultimately gets uploaded.
>
> This approach currently works best for z8 - z11, there is a projection bug
> which causes captions to be misplaced at levels lower than z8, so usual
> tilestitching method is still the best approach for z0 - z7.
>
> There's a summary of the approach here:
> http://wiki.openstreetmap.org/index.php/Tiles%40home#How_the_client_works
>
> 80n
>
> My layers.conf for z8-z11:
>
> # Layer configuration for tiles at home
> # ==================================
> #
> Layers=lowzoom
> LayersCapability=lowzoom
>
>
> Layer.lowzoom.MaxZoom=11
> Layer.lowzoom.Rules.8=osmarender/caption-z8.xml
> Layer.lowzoom.Rules.9=osmarender/caption-z9.xml
> Layer.lowzoom.Rules.10=osmarender/caption-z10.xml
> Layer.lowzoom.Rules.11=osmarender/caption-z11.xml
>
> Layer.lowzoom.Prefix=caption
> Layer.lowzoom.Preprocessor=
> Layer.lowzoom.RenderFullTileset=1
>
> Layer.lowzoom.Transparent=1
>
>
>
> On Sat, Feb 23, 2008 at 10:40 AM, Jocelyn Jaubert <
> jocelyn.jaubert at gmail.com> wrote:
>
> > Hi,
> >
> > I'm doing some lowzoom rendering by running:
> > ./tilesGen.pl xy 133 93 8
> >
> > But the tile I generate are completely different than the other ones.
> > In fact, it seems that I don't have the code to simplify the amount of
> > printed town names.
> >
> > My client is up to date (revision 6954).
> >
> > Did I forgot something ?
> >
> > Thanks,
> > Jocelyn
> >
> > _______________________________________________
> > Tilesathome mailing list
> > Tilesathome at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
> >
>
>  ------------------------------
>
> _______________________________________________
> Tilesathome mailing list
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080225/404b0598/attachment.html>


More information about the Tilesathome mailing list