Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15400 closed enhancement (worksforme)

Avoid joining highway=* to landuse=*

Reported by: mkoniecz Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description (last modified by mkoniecz)

What steps will reproduce the problem?

  1. Start making highway=* way
  2. Attempt to join it to existing highway=* located near landuse=* boundary

What is the expected result?

Crossing of highway=* ways is created - and landuse is not affected

  • in pseudocode:

what_will_be_joined(position, currently_edited_way)

candidates = all_nearby_ways(position)
if !currently_edited_way.matches("highway = *")


if.candidates.filter("highway = *") != []

return candidates.filter(landuse == null)

What happens instead?

Crossing of highway=* ways and landuse=* way is created

  • in pseudocode:


return all_nearby_ways(position)

Please provide any additional information below. Attach a screenshot if possible.

Encountered during making

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-10-03 21:43:00 +0200 (Tue, 03 Oct 2017)
Build-Date:2017-10-03 19:50:21
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12921 en) Linux Ubuntu 16.04.3 LTS
Memory Usage: 639 MB / 871 MB (274 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

+ OpeningHoursEditor (33185)
+ buildings_tools (33004)
+ lakewalker (33161)
+ reverter (33572)
+ undelete (33480)

Map paint styles:
+ ${HOME}/Documents/install_moje/josm_style_sidewalks/Styles_Sidewalks-style.mapcss

Validator rules:
+ ${HOME}/Documents/install_moje/josm_validator/josm.validator.mapcss

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.

Change History (6)

Changed 4 years ago by mkoniecz

comment:1 Changed 4 years ago by stoecker

Resolution: worksforme
Status: newclosed

Use the filter feature to filter out unwanted elements.

comment:2 Changed 4 years ago by mkoniecz

Description: modified (diff)

comment:3 Changed 4 years ago by mkoniecz

@stoecker But for editing that involves modifying various kinds of elements it would require constant enabling/disabling filters. Even constant zooming in/out is better.

comment:4 Changed 4 years ago by stoecker

The typical case for what you request is to filter out landuse when you work on roads. What you request is a working mode, which is not shared by all users and thus cannot be implemented as a generic rule. I myself e.g. prefer joining landuse borders and roads when useful.

A filter can be enabled and disabled extremely fast and what you request is exactly the use case they have been developed for.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.