Mapgen.pl

From OpenStreetMap Wiki
Jump to: navigation, search
Help
Available languages
English Русский
Mapgen.pl
Screenshot of Mapgen.pl
Author: user:Garry68
Version: 1.12 (2010-11-17)
Platform: linux

easy to use cause limited concept

mapgen is a Perl based rendering engine that takes a .osm file and a style file. It then generates an SVG (and using inkscape also PDF and PNG) output. Current Version does not run under Windows.

Also visit Hikingbook.pl to see how complex hiking maps for routes or an street atlas can be automatically generated.

I am thinking about a Successor for mapgen... And here it is: Mapweaver

Contents

Maps and sample files

Samples

Old

Goals

Features

Algorithms and Details

Documentation


Hints

Wishes / Open Topics / Ideas

No, Geo::Proj4 fails under ActivePerl for Windows --ajoessen

Versions

v1.19 (April 2nd, 2011)

v1.18 (April 1st, 2011)

v1.17 (March 29th, 2011)

ATTENTION! For this version the rule files have to be adapted. See last chapter in manual.




Older Versions

Installation and Sources

Since there is so much information now collected this topic will be presented on a new sub-page: Mapgen.pl/Installation

Usage

perl mapgen.pl -in=map.osm -style=mapgenRules.csv

notes

if you process your osm file with josm before you make your map, be sure not to use the delete (DEL) but the purge (CTRL+SHIFT+P) command. Nodes you deleted with the delete command will still be rendered.

to see what options you can use (e.g. to disable the legend or to adjust the size of the image) run

perl mapgen.pl -help
Personal tools
Namespaces
Variants
Actions
site
Toolbox