Bigmap

From OpenStreetMap Wiki
(Redirected from BigMap)
Jump to: navigation, search
Help
Available languages
Deutsch English
Bigmap-menue.png

Bigmap is tool to let you create big maps. See it running here:

http://openstreetmap.gryph.de/bigmap.cgi

Usage is also fully documented on that page.

The javascript/DHTML interface interface doesn't actually perform tile stitching as you adjust the map, it is simply displaying tile images side-by-side dynamically, however the interface provides a download link for a custom generated little perl script mkmap.pl If you download and run this script it will download the tiles and perform stitching to yield a large image.

This is one of several approaches to creating Static map images. In this case it is well suited to creating very big image files, which can be useful for getting high resolution for printing.

The generated perl script is kind of a bulk downloading tool, and so should be handled with consideration of the tile usage policy, although unlike other tile downloaders (see Category:Tile downloading) it only operates at a single zoom level, and the BigMap interface would encourage people to avoid stupidly big areas of tiles.

Considering that you have perl installed and the rest of the stuff ok, the right command line to run the script is:

perl mkmap.pl > mymap.png

Tip for Ubuntu 9.04

To run the perl script on Ubuntu 9.04 the perl package libgd-gd2-perl is required, otherwise you'll get the following error:

Can't locate GD.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at mkmap.pl line 5.
BEGIN failed--compilation aborted at mkmap.pl line 5.

See also

See static map images for several alternative approaches for stitching tiles together to create map images. Mostly these are tools for performing tile-stitching server-side rather than requiring you to run a script locally)

Personal tools
Namespaces
Variants
Actions
site
Toolbox