|License||GNU General Public License|
deprecated, successor is Mapgen.pl
A simple renderer which can be used to draw simple osm maps with custom information. Version 2 also labels streets and puts out SVG files.
It will be necessary to experiment with picture and font sizes to get the desired results!
This program is not intended to be a perfect renderer. In fact it doesn't have too much intelligence. On the other hand the code is simple and other information beside the usual map data can be put into the maps (i.e. numbers, graphs, circles, dots).
Problems with special characters in SVG?
Edit the first line of the SVG-file: either use
- encoding="utf-8" or
Sometimes one or the other works. I haven't figured it out yet...
Programs / Files
... can be found on my wiki page Gary68.
Other examples where osmgraph.pm has been used
This is the origin of the code for osmrender.pl. There is no module used here but the code has been developed here.
This is the first real program using the osmgraph.pm module.
Preview V2.0 BETA
Image is in SVG format!