[Tilesathome] render a region

Ævar Arnfjörð Bjarmason avarab at gmail.com
Thu Jan 8 15:08:07 GMT 2009


On Thu, Jan 8, 2009 at 2:50 PM, Ruggero <giurrero at gmail.com> wrote:
> thanks I lot, but... I've a problem, I've tried this:
>
> time (lwp-request
> 'http://api.openstreetmap.org/api/0.5/map?bbox=-22.13,63.993,-21.617,64.26'
> | perl osm-to-tilenumbers.pl --zoom 12 --predicate 'abs($sec_ago) <
> (60**2 * 24*7)' | perl tilesGen-monitored.pl --zoom 12)
>
> Can't locate DateTime/Format/ISO8601.pm in @INC (@INC contains:
> /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
> /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.10.0
> /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
> osm-to-tilenumbers.pl line 123.
>
> real    0m34.727s
> user    0m0.644s
> sys     0m0.084s
>
> maybe I need to intall something, can you help me? If I've
> understood... with this command I'm rendering the tiles that are been
> modified in the last week?

You need to install DateTime::Format::ISO8601:

  $ sudo cpan -i DateTime::Format::ISO8601

And repeat the same procedure for any other perl module it whines
about. Your OS may also have some of these as packages.

You'll also need to modify the api.openstreetmap.org line so that it
calls a bbox defining your area, unless you'd like to render
Reykjavík, Iceland for some reason.


More information about the Tilesathome mailing list