Line | |
---|
1 | Road Signs Plugin
|
---|
2 | =================
|
---|
3 |
|
---|
4 | Shows a GUI dialog to tag objects by clicking on road sign symbols.
|
---|
5 | It tries to generate the corresponding tags for the object.
|
---|
6 |
|
---|
7 | Author:
|
---|
8 | Paul Hartmann <phaaurlt@googlemail.com>
|
---|
9 |
|
---|
10 | License:
|
---|
11 | GPL v2 or later.
|
---|
12 |
|
---|
13 | Acknowledgements:
|
---|
14 | Inspired by the Verkehrszeichen Tool [1] by Sebastian Hohmann.
|
---|
15 | Basically, this plugin is a port to Java and the JOSM (plugin) framework.
|
---|
16 | [1] http://osmtools.de/traffic_signs/
|
---|
17 |
|
---|
18 | Pics for the German preset have been derived from
|
---|
19 | http://de.wikipedia.org/wiki/Bildtafel_der_Verkehrszeichen_in_Deutschland (german street sign SVGs)
|
---|
20 |
|
---|
21 |
|
---|
22 | JavaCC usage:
|
---|
23 | -------------
|
---|
24 |
|
---|
25 | There is a simple format to insert parameters into strings. E.g. keys,
|
---|
26 | values and refs in the preset file can contain '$foo' or '${foo}' which
|
---|
27 | will be replaced by the value of the parameter named foo.
|
---|
28 | (Textual "$" or "\" is escaped as "\$" or "\\".)
|
---|
29 |
|
---|
30 | javacc is used for easier tokenization. All *.java files in the folder
|
---|
31 | plugins/roadsigns/javacc are auto generated. To create them, execute
|
---|
32 |
|
---|
33 | javacc ParamString.jj
|
---|
34 |
|
---|
35 | (Provided javacc is installed. Not necessary if that file is not changed.)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.