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 | As tagging schemes are under constant development, the definitions
|
---|
7 | need to be updated when needed.
|
---|
8 |
|
---|
9 | Author:
|
---|
10 | Sebastian Klein <bastikln@gmail.com>
|
---|
11 |
|
---|
12 | License:
|
---|
13 | GPL v2 or later.
|
---|
14 |
|
---|
15 | Attribution:
|
---|
16 | Inspired by the Verkehrszeichen Tool [1] by Sebastian Hohmann.
|
---|
17 | Basically, this plugin is a port to Java and the JOSM (plugin) framework.
|
---|
18 | [1] http://osmtools.de/traffic_signs/
|
---|
19 |
|
---|
20 | Pics have been derived from
|
---|
21 | http://de.wikipedia.org/wiki/Bildtafel_der_Verkehrszeichen_in_Deutschland (german street sign SVGs)
|
---|
22 |
|
---|
23 | JavaCC usage:
|
---|
24 | -------------
|
---|
25 |
|
---|
26 | There is a simple format to insert parameters into strings. E.g. keys,
|
---|
27 | values and refs in the preset file can contain '$foo' or '${foo}' which
|
---|
28 | will be replaced by the value of the parameter named foo.
|
---|
29 | (Textual "$" or "\" is escaped as "\$" or "\\".)
|
---|
30 |
|
---|
31 | javacc is used for easier tokenization. All *.java files in the folder
|
---|
32 | plugins/roadsigns/javacc are auto generated. To create them, execute
|
---|
33 |
|
---|
34 | javacc ParamString.jj
|
---|
35 |
|
---|
36 | (Provided javacc is installed. Not necessary if that file is not changed.)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.