wdb2merc - Convert Textual WDB datasets to binary Mercator Projected files

SYNOPSIS <WDB-path> <output-path> -h|-help


Reads the latitude/longitude coordinate values from textual WDB dataset files I(available at> and converts them to Mercator projected distance values (in meters), writing the the values out in a packed binary format that is faster to load, and compresses the data approx. 35%.

The datasets are also scrubbed of some bad data (I checked my globe several times, but couldn't find longitude -544 degrees...).

The resulting binary files are used by GD::Map::Mercator to render map images.