Modify

Opened 7 years ago

Last modified 7 years ago

#15752 new enhancement

Test for landuse inside landuse

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: Cc: simon04

Description (last modified by naoliv)

I can't say the global number of landuses inside landuses with the same values, but, as an example, in Brazil we have right now 288 landuse=residential areas inside another landuse=residential area.

area[tag("landuse") = parent_tag("landuse")]  area[landuse] {
        throwWarning: tr("{0} inside {1}", concat("landuse=", tag("landuse")), concat("landuse=", tag("landuse")));

Is it worth to include a similar test in JOSM?

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-01-08 02:45:59 +0100 (Mon, 08 Jan 2018)
Revision:13300
Build-Date:2018-01-08 01:49:06
URL:http://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13300 pt_BR) Linux Debian GNU/Linux testing (buster)
Memory Usage: 2787 MB / 7168 MB (751 MB allocated, but free)
Java version: 9.0.1+11-Debian-1, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-9-jre:amd64-9.0.1+11-1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [--add-modules=java.activation,java.se.ee, -Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Attachments (0)

Change History (3)

comment:1 by naoliv, 7 years ago

Description: modified (diff)

comment:2 by Klumbumbus, 7 years ago

Cc: simon04 added

According to ticket:9522#comment:4 performance might be a problem for larger areas (as landuse can be).

comment:3 by naoliv, 7 years ago

Even for people who are normal and don't try to validate a whole country? :-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to naoliv.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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