Modify

Opened 11 years ago

Closed 10 years ago

Last modified 6 years ago

#9089 closed defect (fixed)

sorting does not yield expected result for "street" relation

Reported by: Gilbert54 Owned by: team
Priority: normal Milestone: 13.12
Component: Core Version: tested
Keywords: street relation, sorting Cc:

Description

What steps will reproduce the problem?

  1. create a street relation (http://wiki.openstreetmap.org/wiki/Relation:street)
  2. add houses, addresses and some associated objects in random order
  3. select all and use the sort function in the relation

What is the expected result?
I expect items to be sorted first by role and within the role all items to be sorted alphabetically, except for the address role, which should be sortde by the number contained in the string "House number xx at ..."

What happens instead?
The entire list is sorted alphabetically on the contents of the column "Refers to", ignoring the role and ignoring that the key for a house number is the number

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-08-07 01:35:24
Last Changed Author: Don-vip
Revision: 6115
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-08-07 00:04:24 +0200 (Wed, 07 Aug 2013)
Last Changed Rev: 6115

Identification: JOSM/1.5 (6115 en_GB) Windows 7 64-Bit
Memory Usage: 494 MB / 494 MB (202 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Xms16m, -Xmx512m]
Dataset consistency test: No problems found

Plugin: buildings_tools (29778)
Plugin: download_along (29778)
Plugin: notes (v0.5)
Plugin: print (29529)
Plugin: terracer (29771)
Plugin: utilsplugin2 (29771)

Attachments (1)

Result_after_sorting.jpg (171.5 KB ) - added by Gilbert54 11 years ago.
Result after sorting

Download all attachments as: .zip

Change History (7)

by Gilbert54, 11 years ago

Attachment: Result_after_sorting.jpg added

Result after sorting

comment:1 by Don-vip, 11 years ago

Component: unspecifiedCore

comment:2 by simon04, 10 years ago

Resolution: fixed
Status: newclosed

In 6461/josm:

fix #9089 - improve sorting of associatedStreet/street relation members

In addition, fix a bug when more additionalSorters are adequate: This
led to duplicate relation members.

comment:4 by simon04, 10 years ago

In 6467/josm:

see #9089 - repair fragile unit tests

comment:5 by Don-vip, 10 years ago

Milestone: 13.12 (6502)

comment:6 by stoecker, 6 years ago

Milestone: 13.12 (6502)13.12

Milestone renamed

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.