Last change
on this file was 35424, checked in by klumbumbus, 5 years ago |
rework german preset
- replace png by svg icons
- raise height from 40 to 50 px for better readability
- fix Einbahnstraße icon (sign 267 (Verbot der Einfahrt) does not imply oneway=yes, if used without sign 220 on the ground it is a "falsche Einbahnstraße")
- update sign 256 to 257-50, 258 to 257-51, 1048-12 to 1010-51, 1052-36 to 1053-35
- update wording "Gewicht" to "Masse"
|
File size:
1.2 KB
|
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 | German street sign SVGs have been derived from
|
---|
19 | https://de.wikipedia.org/wiki/Bildtafel_der_Verkehrszeichen_in_der_Bundesrepublik_Deutschland_seit_2017,
|
---|
20 | resized to a height of 50px and cleaned with svg cleaner.
|
---|
21 |
|
---|
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.