Skip to content

Latest commit

 

History

History

roadsigns

Road Signs Plugin
=================

Shows a GUI dialog to tag objects by clicking on road sign symbols.
It tries to generate the corresponding tags for the object.

Author:
    Paul Hartmann <[email protected]>

License:
    GPL v2 or later.

Acknowledgements:
    Inspired by the Verkehrszeichen Tool [1] by Sebastian Hohmann.
    Basically, this plugin is a port to Java and the JOSM (plugin) framework.
    [1] http://osmtools.de/traffic_signs/

    Pics for the German preset have been derived from
        http://de.wikipedia.org/wiki/Bildtafel_der_Verkehrszeichen_in_Deutschland (german street sign SVGs)


JavaCC usage:
-------------

There is a simple format to insert parameters into strings. E.g. keys,
values and refs in the preset file can contain '$foo' or '${foo}' which
will be replaced by the value of the parameter named foo.
(Textual "$" or "\" is escaped as "\$" or "\\".)

javacc is used for easier tokenization. All *.java files in the folder
plugins/roadsigns/javacc are auto generated. To create them, execute

    javacc ParamString.jj

(Provided javacc is installed. Not necessary if that file is not changed.)