#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 )
What steps will reproduce the problem?
- Start making highway=* way
- 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 = *")
return
if.candidates.filter("highway = *") != []
return candidates.filter(landuse == null)
What happens instead?
Crossing of highway=* ways and landuse=* way is created
- in pseudocode:
what_will_be_joined(position)
return all_nearby_ways(position)
Please provide any additional information below. Attach a screenshot if possible.
Encountered during making https://www.openstreetmap.org/changeset/52628444#map=18/50.08188/19.89256
URL:http://josm.openstreetmap.de/svn/trunk 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 Revision:12921 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 Plugins: + OpeningHoursEditor (33185) + buildings_tools (33004) + lakewalker (33161) + reverter (33572) + undelete (33480) Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/AdvertisingStyle&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1 + ${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.
Attachments (2)
Change History (6)
by , 8 years ago
by , 8 years ago
Attachment: | expected - currently it requires zooming in.png added |
---|
comment:1 by , 8 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
comment:3 by , 8 years ago
@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 by , 8 years ago
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.
Use the filter feature to filter out unwanted elements.