GD-Map
view release on metacpan or search on metacpan
This will create a testing.png file in /data/basemaps.
Making scale bigger will zoom in, smaller will zoom out.
A mapdata.conf file will also be created in /data/basemaps. This is crutial for
GD::Map to function. The create_basemap function modifies this file.
NOTE!!!. Once the basemap file has been created, you need to scale it down 25%.
You can do this in whatever editor you want, but the initial drawing is a little
crunchy, so I usually use gimp or something to smooth things out. This seemed
better than trying to incorporate Image::Magick in here, which sometimes gets cranky.
Plus, basemaps do not get created very often so it is not much work. Maybe in the
future I will add an option to do this for you if you have Image::Magick installed.
=head2 CREATING MAPS
my $m = GD::Map::new(
basemap_path => "/data/basemaps",
output_path => "/data/maps",
);
To create maps, after getting your map object, you need to define object types.
They can be thought of as groups of similar objects and the order in which they
( run in 1.159 second using v1.01-cache-2.11-cpan-beeb90c9504 )