Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tsmock/roadsigns


https://github.com/tsmock/roadsigns

josm josm-plugin

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

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

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/

German street sign SVGs have been derived from
https://de.wikipedia.org/wiki/Bildtafel_der_Verkehrszeichen_in_der_Bundesrepublik_Deutschland_seit_2017,
resized to a height of 50px and cleaned with svg cleaner.

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.)