GithubHelp home page GithubHelp logo

turnlanes-tagging's Introduction

TurnLanes-tagging plugin for JOSM

TurnLanes-tagging Editor plugin provides an alternative way to add turn:lanes tags on highways

Installing the plugin

turnlanes91-21

After this step, if you wish to see the (red) lane outlines and arrow icons you need to turn on the appropriate map style. To do this:

  • In JOSM preferences look in the "Map Paint Styles" tab. This can also be reached from the Map Paint Styles window and clicking on the settings (two vertical sliders) icon.
  • Select the "Lane and road attributes" from the list of "Available styles" and add to the list of "Active styles".
  • Activate the "Lane and road attributes" style by selecting its checkbox in the list of "Active styles". This should be selected in addition to your usual map style.

How does it work?

Adding turn lanes in unidirectional highways

4

Adding turn lanes in bidirectional highways

5

To activate the plugin

Select a way, then the default shortcut Alt+Shift+2 (MacOS: Option-Shift-2 or 2) or menu item Data - Turn lanes tagging editor.

The main features are:

  • The plugin is enabled after the highway is selected.
  • The plugin contains the combinations of most common preset turn lanes according mapbox-data-team
  • The plugin adds turn:lanes with its respective number of lanes.

Example

lanes=5
turn:lanes=left|through|slight_left;through|right|through;right
  • The plugin adds turn:lanes:backward, turn:lanes:both_ways or turn:lanes:forward with theirs respective number of lanes:backward, lanes:both_ways or lanes:forward and the sum of all lanes.

Example

lanes:backward=2
lanes:both_ways=1
lanes:forward=3
lanes=6
turn:lanes:backward=through|through
turn:lanes:both_ways=left;reversible;right
turn:lanes:forward=left|slight_left|through
  • The recent turn lanes edit tab contains recent turn lanes added by the user.

2

  • If a unidirectional highway contains a certain number of lanes, the plugin automatically sets up the configuration for the number of lanes.

  • If the highway contains turn:lanes:backward, turn:lanes:both_ways or turn:lanes:forward the plugin automatically sets up the configuration.

3

  • If the number of lanes does not match with the turn:lanes, the plugin will automatically fix the number of lanes according to the turn:lanes added.

1

Before

lanes=2
turn:lanes=left|left|

After

lanes=3
turn:lanes=left|left|

If you have any feedback on the plugin, you can find me on twitter or open a ticket

turnlanes-tagging's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

turnlanes-tagging's Issues

Unclear meaning of "number of lanes has fixed according number of turns"

In TurnLanesEditorDialog.java line 253 is the notification " The number of lanes has fixed according number of turns". What is the purpose of the notification? Is it to tell the user that something is wrong? What is the user supposed to do with the information? What means "fixed"? Is that a defined number, how big is it? I try to translate the notification in Launchpad (where all JOSM strings are translated), but I'm not sure what the message is. My guess is something like "The number of lanes (key 'lanes') does not match the number of turns (key 'turn:lanes')", but I might be wrong. Please rephrase the notification (and the other four of the same type) if possible.

Please remove the space at the beginning of the notification.

Orden del forward y backward y funcionalidad del boton OK

@Rub21

  • Este orden de posición del forward y backward seria lo mas adecuado para paises con el sentido del transito por el lado derecho, ya que siempre nos enfocamos en el lado derecho para poder agregar los turn lanes.

b

  • Este orden de posición de forward y backward seria mas adecuado para paises con el sentido del tránsito por el lado izquierdo, ya que ellos se enfocan mas en el lado izquierdo para poder agregar los turn lanes.

a

  • Para esto seria bueno que al momento de seleccionar el orden que deseamos se mantenga las posiciones del forward y backward, esto facilitará a añadir más rapido los turn lanes.
  • Seria bueno tambíen que el boton OK se actibe cuando precionemos la tecla Enter.

version number is broken

see the plugin in the status report list:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-12 23:40:12 +0200 (Sun, 12 Jun 2016)
Build-Date:2016-06-13 01:33:32
Revision:10367
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10367 de) Windows 7 32-Bit
Memory Usage: 247 MB / 742 MB (34 MB allocated, but free)
Java version: 1.8.0_91-b14, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest-bla.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=55715, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Dataset consistency test: No problems found

Plugins:
- AddrInterpolation (32158)
- DirectDownload (32158)
- DirectUpload (32158)
- HouseNumberTaggingTool (31926)
- Mapillary (32158)
- OpeningHoursEditor (32158)
- Tracer2 (32158)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- editgpx (32223)
- imagery_offset_db (32158)
- log4j (32158)
- measurement (32158)
- photo_geotagging (32158)
- photoadjust (32158)
- reverter (32158)
- tag2link (31923)
- tagging-preset-tester (32158)
- terracer (32158)
- todo (29154)
- turnlanes-tagging (${version.entry.commit.revision})
- turnrestrictions (32158)
- undelete (32158)
- utilsplugin2 (32158)

Adapt graphical way display from old deprecated JOSM plugin "turnlanes".

The old and deprecated JOSM plugin linked at https://wiki.openstreetmap.org/wiki/Relations/Proposed/turn_lanes#Plugin was based on OSM relations, and that tagging method is no more popular any more.

But IMHO this plugin has a very beautiful display of the ways and streets that have turn lanes. Ways are drawn how they are really structured in rendered OSM data!

So how much effort would it be to adapt only these graphical methods to display turnlanes via the more used and popular tags that are simply added to each way without those relations?

Is this possible from sourcecode at all?

problems with the display of the content

There are several problems with the layout. Different content is sometimes hidden. Also the window should not be resizable to zero height. See gif:
window02

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-12 23:40:12 +0200 (Sun, 12 Jun 2016)
Build-Date:2016-06-13 01:33:32
Revision:10367
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10367 de) Windows 7 32-Bit
Memory Usage: 247 MB / 742 MB (34 MB allocated, but free)
Java version: 1.8.0_91-b14, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest-bla.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=55715, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Dataset consistency test: No problems found

Plugins:
- AddrInterpolation (32158)
- DirectDownload (32158)
- DirectUpload (32158)
- HouseNumberTaggingTool (31926)
- Mapillary (32158)
- OpeningHoursEditor (32158)
- Tracer2 (32158)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- editgpx (32223)
- imagery_offset_db (32158)
- log4j (32158)
- measurement (32158)
- photo_geotagging (32158)
- photoadjust (32158)
- reverter (32158)
- tag2link (31923)
- tagging-preset-tester (32158)
- terracer (32158)
- todo (29154)
- turnlanes-tagging (${version.entry.commit.revision})
- turnrestrictions (32158)
- undelete (32158)
- utilsplugin2 (32158)
- wikipedia (32182)

Ability to Save, without closing the editor window

Use-case.

I have a road, made of multiple segments.
image

Now, if i want to edit this 5 segments, I need 20 steps to accomplish this :

For the first way

  1. Select way
  2. Press Alt+Shift+2
  3. Select what modification I want to do
  4. Press ok
    I just finished editing the first way.

Now for the second way
5. Select way
6. Press Alt+Shift+2
7. Select what modification I want to do
8. Press ok

Now for the third way
9. Select way
10. Press Alt+Shift+2
11. Select what modification I want to do
12. Press ok

And for the fourth way
13. Select way
14. Press Alt+Shift+2
15. Select what modification I want to do
16. Press ok

Finally for the fifth way
17. Select way
18. Press Alt+Shift+2
19. Select what modification I want to do
20. Press ok

What I would like, and I would find it efficient, it would be to have the ability to save the modification, without closing the window

image

For the first way

  1. Select way
  2. Press Alt+Shift+2
  3. Select what modification I want to do
  4. Press save and continue
    I just finished editing the first way.

Now for the second way
5. Select way
6. Select what modification I want to do
7. Press save and continue

Now for the third way
8. Select way
9. Select what modification I want to do
10. Press save and continue

And for the fourth way
11. Select way
12. Select what modification I want to do
13. Press save and continue

Finally for the fifth way
14. Select way
15. Select what modification I want to do
16. Press save and continue

Another way that you could optimize would be to have a Save and go to next segment

That would allow to to the same in 12 steps

image

Wrong init exists tag turn:lanes:*

The original tag turn:lanes:backward=left;through|through.
Then, when I open the plugin, the tag is not correct turn:lanes:forward

Test way
tunrline-tag-bug1

Plugin windows stays in front of other windows

The plugin window should stay only in front of the main JOSM window but not in front of other windows like my internet browser window.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-12 23:40:12 +0200 (Sun, 12 Jun 2016)
Build-Date:2016-06-13 01:33:32
Revision:10367
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10367 de) Windows 7 32-Bit
Memory Usage: 247 MB / 742 MB (34 MB allocated, but free)
Java version: 1.8.0_91-b14, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest-bla.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=55715, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Dataset consistency test: No problems found

Plugins:
- AddrInterpolation (32158)
- DirectDownload (32158)
- DirectUpload (32158)
- HouseNumberTaggingTool (31926)
- Mapillary (32158)
- OpeningHoursEditor (32158)
- Tracer2 (32158)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- editgpx (32223)
- imagery_offset_db (32158)
- log4j (32158)
- measurement (32158)
- photo_geotagging (32158)
- photoadjust (32158)
- reverter (32158)
- tag2link (31923)
- tagging-preset-tester (32158)
- terracer (32158)
- todo (29154)
- turnlanes-tagging (${version.entry.commit.revision})
- turnrestrictions (32158)
- undelete (32158)
- utilsplugin2 (32158)

`Preset` and `tag` do not match in bidirectional mode

There is a mismatch between the preset and the tags. For e.g.: If we select forward: backward: left|, the turn lane tagged is actually turn:lanes:forward=left|

screen shot 2016-07-26 at 6 10 19 pm

It also changes the lane count accordingly leading to errors in lane counts in forward and backward direction

cc @Rub21

Enhancement - Extend lane properties

I know that it is a turn lane plug-in but I think it would be great to extend it to support more lane properties, such has hov and hgv lanes.

Preset Turn Lanes Names

Now, its hard to understand based on the image whet each of them means, and you have to click each one to find out. The ability to add a name that could add as a description would help the users better remember what its the specific item about.

please add placement=...

can you please add placement=... key to your plugin?
Best way to add this, is in the box of the lanes function, something like a symbol with middle of the highway "here"(middle_of:...) and "left/right"(left_of:.../right_of:...)

Move the plugin to "More Tools" or "Data" menu

Currently it is placed in the "Edit" menu. Other plugins put their entries usually in the "More Tools" or "Data" menu.
Examples of entries in these menus:
data
moretools

BTW this is a really great plugin. Thanks!

La bidireccional - forward y backward

En la bidireccional el forward y backward no están siendo concordantes con el sentido de los botones de asignación y no estoy seguro de donde se cuenta en la interfaz gráfica de derecha a izquierda o de izquierda a derecha en cada linea

The interface for bidirectional roads is wrong

While tagging a backward lane in bidirectional roads the interface is showing wrong lane markings.

turn_lanes_plugin

In the above GIF the turn lanes are present on the backward direction of the road. When we try to add the turn lanes, instead of turn:lanes:backward=left|| it adds turn:lanes:backward=right||

screen shot 2016-06-13 at 3 37 18 pm

This should be the ideal interface, but now the plugin is taking the opposite turn lanes

cc:/ @Rub21 @abhisheksaikia @planemad @Andygol

Sentido de las flechas es confuso

@Rub21
El sentido de las flechas que indica en una bidireccional está mal, porque de acuerdo a las imágenes y el estilo dado en la calle no cuenciden con el orden de las flechas en el backward del plugin.
aquí dejo una imagen.

s

segn la imagen, la flechas de la calle se abren, en cambion en el plugin se estan uniendo las flechas, y para hacer las señalizaciones es un poco confuso, seria bueno corregirlo, y tambien seía bueno considerar los ordenes que se indica aquí #30

Errores detectados y sugerencias.

@Rub21 @samely

  • El plugin debería autodetectar si la carretera es unidireccional o bidireccional
  • La cola de historial sea rotativo e incrmental
  • El evento de spiners de linea sean agregados en los paneles de señalizacion.
  • El numero de lanes en la señalización de unidireccional no coincide para lanes=1.
  • Los valores del historial no debería ser repetitivo.
  • El historial no guarda valores de reverse
  • Al deseleccionar la calle a editar el boton cancelar del plugin manda un error
  • Sería bueno que el botón OK se active al precionar la tecla ENTER.

error

luis@luis-pc:~$ cd Desktop/
luis@luis-pc:~/Desktop$ java -jar josm-tested.jar 
INFO: Reassigning shortcut 'view:zoomselection' from null to 576 because of conflict with 3
INFO: Silent shortcut conflict: 'view:zoomselection' moved by 'AutoTools:CLAbuildings' to 'Alt+Shift+F1'.
INFO: loading plugin 'utilsplugin2' (version 32158)
INFO: loading plugin 'auto_tools' (version 1464287551)
INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.auto_tools.actions.MergeBuildingsAction
INFO: loading plugin 'turnlanes-tagging' (version 1465997942)
INFO: loading plugin 'buildings_tools' (version 32158)
INFO: Toolbar action without name: org.openstreetmap.josm.plugins.auto_tools.actions.MergeBuildingsAction
INFO: RemoteControl::Accepting remote connections on /127.0.0.1:8111
INFO: RemoteControl::Accepting remote connections on /0:0:0:0:0:0:0:1:8111
INFO: Message notifier active (checks every 5 minutes)
INFO: GET https://api.openstreetmap.org/api/0.6/user/details (get number of unread messages) -> 200 (585 B)
WARNING: Cannot start IPv4 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect
WARNING: Cannot start IPv6 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect
INFO: RemoteControl received: GET /load_and_zoom?left=-76.77246&bottom=39.18118&right=-76.75049&top=39.19821&changeset_comment=Add%20missing%20turn%20lanes%20from%20satellite%20imagery%20in%20Baltimore%20https%3A%2F%2Fgithub.com%2Fmapbox%2Fmapping%2Fissues%2F180&changeset_source=Bing HTTP/1.1
INFO: GET https://api.openstreetmap.org/api/0.6/map?bbox=-76.77246,39.18118,-76.75049,39.19821 -> 200
INFO: Reassigning shortcut 'mapmode:zoom' from null to 576 because of conflict with Z
INFO: Silent shortcut conflict: 'mapmode:zoom' moved by 'mapmode:SplittingTool' to 'Alt+Shift+F2'.
[INFO] CompositeCacheManager - Instance is null, returning unconfigured instance
[INFO] ThreadPoolManager - thread_pool.default PoolConfiguration = useBoundary = [false] boundarySize = [2000] maximumPoolSize = [150] minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN] startUpSize = [4]
[INFO] CompositeCacheManager - Setting default auxiliaries to null
[INFO] CompositeCacheManager - setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] CompositeCacheManager - setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = false, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1466016250949, LastAccessTime = 1466016250949, getTimeToLiveSeconds() = -1, createTime = 1466016250949 ]
[INFO] CompositeCacheConfigurator - Parsed regions []
[INFO] CompositeCacheManager - Finished configuration in 18 ms.
[INFO] CompositeCacheConfigurator - No special ElementAttribute class defined for key [jcs.region.TMS.elementattributes], using default class.
[INFO] AbstractDoubleLinkedListMemoryCache - initialized MemoryCache for TMS
[INFO] CompositeCache - Constructed cache with name [TMS] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] IndexedDiskCache - Region [TMS] Cache file root directory: /home/luis/.josm/cache/tiles
[INFO] IndexedDiskCache - Region [TMS] Set maxKeySize to: '524288'
[INFO] IndexedDiskCache - Region [TMS] Loaded keys from [TMS], key count: 52123; up to 524288 will be available.
[INFO] IndexedDiskCache - Region [TMS] Finished inital consistency check, isOk = true in 54ms.
[INFO] IndexedDiskCache - Region [TMS] Indexed Disk Cache is alive.
ERROR: java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.tagging.TagTable.getAddAction()Lorg/openstreetmap/josm/gui/tagging/TagTable$AddAction;
java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.tagging.TagTable.getAddAction()Lorg/openstreetmap/josm/gui/tagging/TagTable$AddAction;
    at org.openstreetmap.josm.plugins.turnlanestagging.editor.TagEditor.buildButtonsPanel(TagEditor.java:31)
    at org.openstreetmap.josm.plugins.turnlanestagging.editor.TagEditor.buildTagEditorPanel(TagEditor.java:69)
    at org.openstreetmap.josm.plugins.turnlanestagging.editor.TagEditor.build(TagEditor.java:84)
    at org.openstreetmap.josm.plugins.turnlanestagging.editor.TagEditor.<init>(TagEditor.java:88)
    at org.openstreetmap.josm.plugins.turnlanestagging.TagEditorDialog.buildTagGridPanel(TagEditorDialog.java:112)
    at org.openstreetmap.josm.plugins.turnlanestagging.TagEditorDialog.build(TagEditorDialog.java:82)
    at org.openstreetmap.josm.plugins.turnlanestagging.TagEditorDialog.<init>(TagEditorDialog.java:48)
    at org.openstreetmap.josm.plugins.turnlanestagging.TagEditorDialog.getInstance(TagEditorDialog.java:53)
    at org.openstreetmap.josm.plugins.turnlanestagging.LaunchAction.launchEditor(LaunchAction.java:49)
    at org.openstreetmap.josm.plugins.turnlanestagging.LaunchAction.actionPerformed(LaunchAction.java:35)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
    at java.awt.Component.processMouseEvent(Component.java:6535)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6300)
    at java.awt.Container.processEvent(Container.java:2236)
    at java.awt.Component.dispatchEventImpl(Component.java:4891)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4713)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    at java.awt.Container.dispatchEventImpl(Container.java:2280)
    at java.awt.Window.dispatchEventImpl(Window.java:2750)
    at java.awt.Component.dispatchEvent(Component.java:4713)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Agregar etiquetas de `lanes` y `turn:lanes` a más de una calle seleccionada

@Rub21 para asignar más rápido los turn lanes, cuando hay dos calles que tienen el mismo número de lanes y la misma señalización:
turn
Selecciono ambas calles y le asigno las etiquetas; sin embargo al hacer esto con el plugin las etiquetas de una de las calles se modifica.
turn1

Es posible que el plugin agregue solo las etiquetas de lanes y turn:lanes?

Not clear how to start the plugin

From the README it's not clear how to get the plugin to start. Suggest to mention that a way needs to be selected first. Also give the keyboard shortcut for OSX.

left an right hand traffic

Maybe this is related to #30 but I don't understand the spanish.

It seems the interface is made for lefthandtraffic.
As you can see in the screenshot it is confusing. If backward is left and forward is right it would fit better.
(Actually it is a bit more complicated then just to switch the sides because the lanes count always from left to right in driving direction and not from center to side (if I'm corret), which made it all different for left hand traffic than for right hand traffic for bidirectional ways.)

JOSM has an built-in database of areas with lefthandtraffic. This could be used to determine if the selected road has left or righthandtraffic and the interface could be respectively adapted.

turnlanestagging

Different color for key templates

In lower grid pane, where full list of existing tags and template keys is displayed, it would be a bit more convenient to have template keys (those which aren't added yet) in other color than black. Otherwise they are a kind of mixed with existing ones.

Another option is to add thicker horizontal grid line between the existing tags and template keys.

Ability to preview the results without pressing Enter

Now, i try something, i save and see if i got the right result.

If not, i have to open the plugin again, change something and try again.

It would be great if it`s possible to show in real-time how the end result will look.

Evento de scrolll en el spinner de lanes

Ruben Por favor agrégale el evento de scroll en el spinner para que no dependamos de los clic y teclas direccionales para aumentar o disminuir el numero de lanes.
Spinner de Lanes

Así facilitarías mucho mas el uso 🙏

Should not define lanes and lanes:* by default

Have a way with any of these tags:

  • highway=residential
  • highway=residential + oneway=no
  • highway=residential + oneway=no + lanes=2

Select it and open the plugin
We can see this:

It should not set any default value for lanes, lanes:forward and lanes:backward but let the user select first the road characteristics (uni/bidirectional, number of lanes, etc) and only then allow to select the lanes directions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.