Hi Christian,
Am 2015-07-28 um 23:00 schrieb Christian Wendel:
Hi Peter, Michael,
these are a lot of proposals. Mostly, I am not convinced of their
advantage. (Think of me as a heavy Joe Average-Mapper)
But the point to merge combined with main signal types could work. Why?
In fact, any combined signal can be tagged as a main signal also showing
Ks2. But tagging would be lots easier as described. It's lot of work to
change signals from "main" to "combined", if the distant state had
missed. I hate this kind of work.
I agree that changing a signal from a main into a combined signal is not
as comfortable as it could be. The pain was too less to force me to do
something until now. :-)
We have just to add
<check text="Remove railway:signal:main=*"
key="railway:signal:main"
value_on="" />
<check text="Remove railway:signal:main:states=*"
key="railway:signal:main:states" value_on="" />
<check text="Remove railway:signal:main:form=*"
key="railway:signal:main:form" value_on="" />
<check text="Remove railway:signal:main:function=*"
key="railway:signal:main:function" value_on="" />
<check text="Remove railway:signal:main:height=*"
key="railway:signal:main:height" value_on="" />
<check text="Remove railway:signal:main:substitute_signal=*"
key="railway:signal:main:substitute_signal" value_on="" />
to the section of the JOSM preset XML file where the combined Ks signal
is defined. This removes all main signal tags listed above if the users
leaves the preset of a combined signal by clicking onto OK. (In history,
there would have been delete_if_empty="true" necessary, but this
nowadays obsolete)
For usage inside JOSM download this file and load it
https://paste.kde.org/pouyerlpb
Diff:
https://paste.kde.org/pufuia181
I decided to use a checkbox which has to be selected manually by the
user in order to prevent accidental deletions. This functionality can be
outsourced into a separate section of the German signal preset, i.e.
below "Zugfunk-Kanalhinweis" because it will not be used very often.
I still think that changing a JOSM preset is easier and goes faster than
doing a mechanical edit with all its consequences and bureaucracy.
Best regards
Michael
--
Per E-Mail kommuniziere ich bevorzugt GPG-verschlüsselt. (Mailinglisten
ausgenommen)
I prefer GPG encryption of emails. (does not apply on mailing lists)