Osmgraph.pm

From OpenStreetMap Wiki
Jump to: navigation, search

Contents

Introduction

Osmrender20BETA2.png
This is a PERL module with several functions for drawing simple maps. This page shows the functions of Version 2.0 of the module. The module is used by osmrender.pl and Mapping Quality i.e.
Version 2.0 also supports SVG maps with textPaths for street names.

Problems with special characters in SVG?

Edit the first line of the SVG-file: either use

Sometimes one or the other works. I haven't figured it out yet...

Functions

General

Map

Information

Geometry

Chart

Colors


Hint

The outcommented function nodes2Coordinates can be used in the main program to convert lists of nodeIds to lists of coordinate pairs.

Download

osmgraph.pm

Preview 2.0 BETA

Image is in SVG format!
Hof20BETA.svg

Personal tools
Namespaces
Variants
Actions
site
Toolbox