Modify

Opened 11 years ago

Closed 10 years ago

#8772 closed enhancement (fixed)

Test Spanish Signals Preset - Pruebas versión señales España

Reported by: yopaseopor Owned by: bastiK
Priority: normal Milestone:
Component: Plugin roadsigns Version:
Keywords: Cc:

Description (last modified by Don-vip)

I can afford a file to create the spanish signals presets to Roadsign plugin for JOSM

Attachments (2)

roadsignpresetES_2013_06_22.zip (706.2 KB ) - added by yopaseopor 11 years ago.
Here it is first beta version of spanish preset.It includes 294 traffic signals from Spain.Future versions will have catalan signals and translations and some adjustments requested by the catalan and spanish community . I think this version is good to be included to the pluggin. Thank you for all the instructions that makes it this possible. I hope you will enjoy it and use it.
roadsignpresetES.zip (1.2 MB ) - added by yopaseopor 11 years ago.
New icons, with destination and confirmation signs for Spain

Download all attachments as: .zip

Change History (15)

comment:1 by bastiK, 11 years ago

Looks great so far! Just tell me when it is ready for release and your preset will be included in the roadsings plugin.

comment:2 by yopaseopor, 11 years ago

Last edited 11 years ago by yopaseopor (previous) (diff)

in reply to:  1 ; comment:3 by yopaseopor, 11 years ago

Replying to bastiK:

Looks great so far! Just tell me when it is ready for release and your preset will be included in the roadsings plugin.

Hi!

I want to know first if the preset has been built correctly (for images,structure and tags).That is an example of some signals.If the preset is included and it is running well, I will do it totally with these lists of traffic signals:

http://es.wikipedia.org/wiki/Se%C3%B1ales_de_tr%C3%A1fico_de_reglamentaci%C3%B3n
http://es.wikipedia.org/wiki/Se%C3%B1ales_de_Advertencia_de_Peligro
http://es.wikipedia.org/wiki/Se%C3%B1ales_de_tr%C3%A1fico_de_indicaci%C3%B3n

(sorry , I don't have big knowledge about programming so all I know to do is modify other presets).It is for this reason I ask my preset to be included and tested or Is any option to test this preset locally I can do it?
Thank You

Last edited 11 years ago by Don-vip (previous) (diff)

in reply to:  3 comment:4 by bastiK, 11 years ago

Replying to yopaseopor:

Replying to bastiK:

Looks great so far! Just tell me when it is ready for release and your preset will be included in the roadsings plugin.

Hi!

I want to know first if the preset has been built correctly (for images,structure and tags).That is an example of some signals.If the preset is included and it is running well, I will do it totally with these lists of traffic signals:

It works well, except that icon="ES:S11" should be icon="ES_S11".

http://es.wikipedia.org/wiki/Se%C3%B1ales_de_tr%C3%A1fico_de_reglamentaci%C3%B3n
http://es.wikipedia.org/wiki/Se%C3%B1ales_de_Advertencia_de_Peligro
http://es.wikipedia.org/wiki/Se%C3%B1ales_de_tr%C3%A1fico_de_indicaci%C3%B3n

(sorry , I don't have big knowledge about programming so all I know to do is modify other presets).

Sure, you don't need programming experience for this task.

It is for this reason I ask my preset to be included and tested or Is any option to test this preset locally I can do it?

Yes, you can install a custom preset locally, see the README file. If you have problems with the installation, let me know.

Last edited 11 years ago by Don-vip (previous) (diff)

comment:5 by Don-vip, 11 years ago

Description: modified (diff)

comment:6 by yopaseopor, 11 years ago

I append a First Alpha version to people who wants test it.It includes more than 250 traffic signals from Spain (i alguna traducció al català) .There is some little example about the introduction of values, like city name (S500).I hope you enjoy it.

Thank you for all the instructions that makes it this possible.
yopaseopor.blogspot.com

by yopaseopor, 11 years ago

Here it is first beta version of spanish preset.It includes 294 traffic signals from Spain.Future versions will have catalan signals and translations and some adjustments requested by the catalan and spanish community . I think this version is good to be included to the pluggin. Thank you for all the instructions that makes it this possible. I hope you will enjoy it and use it.

comment:7 by bastiK, 11 years ago

Hi, looks great, thanks for all the work you have put into it!

There is very little documentation on my part, so I give you some more hints what the format is supposed to mean:

In this line from your preset:

<sign ref="ES:p16a" icon="ES_p16a" name="Pendiente Máxima de bajada" sk.name="Pendiente">

the attribute sk.name=* is the Slovakian translation of the attribute name=*. There are 2 options:
1) Put the Spanish name in the name=* field:

<sign ... name="Pendiente Máxima de bajada">

2) Use English name in the name=* field and Spanish in es.name=* field:

<sign ... name="Maximum incline" es.name="Pendiente Máxima de bajada">

Both options are fine, there is no need for English translation. In addition you could also add the Catalan translation as ca.name=*.

Another thing is the ident=* attribute, like in the line

<tag key="amenity" value="parking" ident="mode"/>

In this case, you can probably delete the ident="mode" part. The identifier is only useful, if the tag is later modified, like in the following pattern:

    <sign ref="DE:250" name="All vehicles prohibited" de.name="Verbot für Fahrzeuge aller Art">
        <tag key="vehicle" value="no" ident="mode"/>
        <supplementary id="DE:1026-36"/> <!-- Landwirtschaftlicher Verkehr frei -->
    </sign>

    <sign ref="DE:1026-36" supplementary="yes" name="Agricultural vehicles allowed" de.name="Landwirtschaftlicher Verkehr frei">
        <tag tag_ref="mode" append_value="agricultural"/>
    </sign>

If only the first sign is selected, this would result in a vehicle=no tag. If, however, both signs are selected, you get vehicle=agricultural, which means, only agricultural vehicles are allowed. I do not know if there's something like that in the Spanish traffic regulation.

So basically, if you don't use the features append_value or condition, then you don't need ident=* at all.

Last edited 11 years ago by bastiK (previous) (diff)

comment:8 by yopaseopor, 11 years ago

Hi!

Don't worry about that (if doesn't disturb the pluggin function in a impossible way) .As I explained in my first message, I don't know anything about programming stuff and code so my method is copying and modifying other presets.Also in this preset will be the catalan translation (Catalunya is a nation of Spain - similar to Scotland for United Kingdom) so sk.name will be ca.name, but like the preset is not finished yet and I am doing tests and checkings I put sk randomly to doesn't mix with the real messages in catalan for JOSM at this moment.

For the second thing I copied a german sign to do the other signs so if that signal had ident at first it's probably all the signals have ident.

When the preset will be finished at all I will modify all these things and do a "finally attachment" with no test or other countries signal copies.

Also I "complement" this preset with a "new" JOSM style called Traffic_signs.I recommend you to open, modify it to add DE, PL, SK and use it.I hope you enjoy it.Thank you for the pluggin.Your work makes me possible to put all the signs in ;)

comment:9 by bastiK, 11 years ago

In [o29692] - see #josm8772 - new preset for spain (patch by yopaseopor); [o29693] - update

All right, It's published. The things I mentioned are minor issues that do not affect the functionality, as you said.

in reply to:  7 ; comment:10 by skyper, 11 years ago

Replying to bastiK:

In this line from your preset:

<sign ref="ES:p16a" icon="ES_p16a" name="Pendiente Máxima de bajada" sk.name="Pendiente">

the attribute sk.name=* is the Slovakian translation of the attribute name=*. There are 2 options:
1) Put the Spanish name in the name=* field:

<sign ... name="Pendiente Máxima de bajada">

2) Use English name in the name=* field and Spanish in es.name=* field:

<sign ... name="Maximum incline" es.name="Pendiente Máxima de bajada">

Both options are fine, there is no need for English translation. In addition you could also add the Catalan translation as ca.name=*.

Please, if possible use English for name=*. Think about a foreigner who is using his mother tongue as locales. Using English and adding all other languages with their proper abbreviation is the only way to translate it.

Thanks

in reply to:  10 comment:11 by yopaseopor, 11 years ago

Well, version of 2013_06_25 fix the "sk issue" (sorry slovakian people,forgive me please, it was my fault with no intention),tries to fix ident=mode topic, starts with catalan translations, and catalan traffic signs, and also adds some orientation traffic_signals.I hope you enjoy it.
Replying to skyper:

Replying to bastiK:

In this line from your preset:

<sign ref="ES:p16a" icon="ES_p16a" name="Pendiente Máxima de bajada" sk.name="Pendiente">

the attribute sk.name=* is the Slovakian translation of the attribute name=*. There are 2 options:
1) Put the Spanish name in the name=* field:

<sign ... name="Pendiente Máxima de bajada">

2) Use English name in the name=* field and Spanish in es.name=* field:

<sign ... name="Maximum incline" es.name="Pendiente Máxima de bajada">

Both options are fine, there is no need for English translation. In addition you could also add the Catalan translation as ca.name=*.

Please, if possible use English for name=*. Think about a foreigner who is using his mother tongue as locales. Using English and adding all other languages with their proper abbreviation is the only way to translate it.

Thanks

comment:12 by bastiK, 11 years ago

In [o29699] - applied #josm8772 - improvements for spanish preset (patch by yopaseopor); [o29700] - update

Please, erase the old attachment with date, I didn't know the file would be individually apart from the "good file".Sorry for the inconveniences

Need not be erased, we keep this as "history".

by yopaseopor, 11 years ago

Attachment: roadsignpresetES.zip added

New icons, with destination and confirmation signs for Spain

comment:13 by bastiK, 10 years ago

Resolution: fixed
Status: newclosed

In [o30267] - applied #josm8772 - update spanish presets for road sign plugin

Somehow I did not notice the update, sorry.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain bastiK.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.