[Tilesathome] Lowzoom rendering
niubii
niubii69 at gmail.com
Wed Feb 27 10:06:32 GMT 2008
Hi,
I'm just trying to follow the instructions in this thread, for lowzoom
render of some tiles.
It's not clear how to put back render tiles to server.
I'll try to report step-by-step the action that I've made (as
niubii-proof)! :-)
The process I follow since now is:
$ cd ./tilesAtHome
$ svn up
$ cp layers.conf layers.conf.default
$ vi layers.conf
At this point, I wrote the layers.conf submitted by 80n.
# 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
#EOF
After that:
$ cd ./tools/lowzoom
$ cp lowzoom.conf.example lowzoom.conf
$ cd ../..
$ perl tilesGen.pl xy 139 95 8
$ perl tilesGen.pl upload
I open
http://tah.openstreetmap.org/Tiles/info.php?x=139&y=95&z=8&layer=caption
and verify that "Tile On Disk" section report my upload.
Then
$ cd ./tools/lowzoom
$ mkdir ../../tmp
$ perl lowzoom_composite.pl 139 95 8 12 tile captionless caption
$ cd ../..
$ mv ./tmp /tmp/uploadable
$ perl tilesGen.pl upload
At this point, there was the problem:
- Using working directory /tmp/
- Inkscape version 0.45.1
- xmlstarlet version 1.0.1
- zip is present
- pngcrush version 1.6.4
- Uploading with username "niubii"
- Configured Layer: lowzoom
Check Layer.lowzoom.MaxZoom
* UploadConfiguredLayersOnly not set.
Defaulting to uploading all zipfiles found, not just configured layers
This is version 6973 (Poynton) of tilesgen running on linux
[#0 0% warning] don't run this parallel to another tilesGen.pl instance
[#0 0% upload2] 0 zip files to upload...
What's wrong?
Thank you
niubii
Dirk-Lüder Kreie ha scritto:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 80n schrieb:
>
>> 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.
>>
>
> Should be fixed in current svn (rev.6980)
>
> - --
>
> Dirk-Lüder "Deelkar" Kreie
> Bremen - 53.0952°N 8.8652°E
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHw0idFUbODdpRVDwRAoF2AJoCEALd9i9afENpwX1VGSwlTcVb8wCguQNT
> y7zY+zqd2WmsL9+zdUmOEig=
> =dbye
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tilesathome mailing list
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
>
More information about the Tilesathome
mailing list