Rev | Line | |
---|
[21967] | 1 | Road Signs Plugin
|
---|
[26341] | 2 | =================
|
---|
[21967] | 3 |
|
---|
[26341] | 4 | Shows a GUI dialog to tag objects by clicking on road sign symbols.
|
---|
[21967] | 5 | It tries to generate the corresponding tags for the object.
|
---|
| 6 |
|
---|
[26341] | 7 | Author:
|
---|
| 8 | Paul Hartmann <phaaurlt@googlemail.com>
|
---|
| 9 |
|
---|
[21967] | 10 | License:
|
---|
| 11 | GPL v2 or later.
|
---|
| 12 |
|
---|
[26341] | 13 | Acknowledgements:
|
---|
| 14 | Inspired by the Verkehrszeichen Tool [1] by Sebastian Hohmann.
|
---|
[21967] | 15 | Basically, this plugin is a port to Java and the JOSM (plugin) framework.
|
---|
| 16 | [1] http://osmtools.de/traffic_signs/
|
---|
| 17 |
|
---|
[29230] | 18 | Pics for the German preset have been derived from
|
---|
[21967] | 19 | http://de.wikipedia.org/wiki/Bildtafel_der_Verkehrszeichen_in_Deutschland (german street sign SVGs)
|
---|
[26341] | 20 |
|
---|
[29230] | 21 |
|
---|
[21967] | 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
|
---|
[26341] | 34 |
|
---|
[21967] | 35 | (Provided javacc is installed. Not necessary if that file is not changed.)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.