Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#15400 closed enhancement (worksforme)

Avoid joining highway=* to landuse=* — at Version 2

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 (4)

comment:1 by stoecker, 8 years ago

Resolution: worksforme
Status: newclosed

Use the filter feature to filter out unwanted elements.

comment:2 by mkoniecz, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.