Modify

Opened 23 months ago

Closed 23 months ago

Last modified 23 months 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 = *")

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.

Change History (6)

comment:1 Changed 23 months ago by stoecker

Resolution: worksforme
Status: newclosed

Use the filter feature to filter out unwanted elements.

comment:2 Changed 23 months ago by mkoniecz

Description: modified (diff)

comment:3 Changed 23 months 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 23 months 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
Action
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.