I need to get one giant image from OpenStreetMap. I have downloaded all the tiles I need using Maperitive and now I am trying to stitch all the tiles together using a script from http://bigmap.osmz.ru/index.html but my script keeps failing on the following line of code

my @layers = ('file:///Tiles/!z/!x/!y.png');

saying "Global symbol "@layers" requires explicit package name.

The original line of code from the website

my @layers = ('http://tile.openstreetmap.org/!z/!x/!y.png'); 

1 Answer 1


I forgot to add "f:" to the location

my @layers = ('file:///f:/Tiles/!z/!x/!y.png');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.