Modify

Opened 3 months ago

Closed 3 months ago

#15193 closed defect (fixed)

Nodes are not filtering out

Reported by: ShadowFoxNixill Owned by: team
Priority: critical Milestone: 17.08
Component: Core Version:
Keywords: template_report regression Cc:

Description

What steps will reproduce the problem?

  1. Turn on filters
  2. Filter out "type:node child (type:way)" and "type:node -child (type:way)"
  3. Enable hiding on both filters

What is the expected result?

No nodes (children of ways or not) are visible

What happens instead?

No nodes are hidden whatsoever

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

Screenshot: http://prntscr.com/gd9gjt

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-08-26 02:54:56 +0200 (Sat, 26 Aug 2017)
Build-Date:2017-08-26 01:33:58
Revision:12664
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12664 en) Windows 10 64-Bit
OS Build number: Windows 10 Education 1703 (15063)
Memory Usage: 247 MB / 247 MB (43 MB allocated, but free)
Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1080, \Display1 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\31\583aa85f-330a2f35, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=50577, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Plugins:
+ apache-commons (33517)
+ ejml (32680)
+ geotools (33380)
+ jts (32699)
+ opendata (33519)
+ turnrestrictions (33537)
+ utilsplugin2 (33522)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1

Map paint styles:
+ https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- %UserProfile%\GoogleDrive\JOSM\publictransport.mapcss
- %UserProfile%\GoogleDrive\JOSM\publictransport2.mapcss

Last errors/warnings:
- W: Invalid jar file ''<josm.pref>\plugins\turnrestrictions.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>\plugins\opendata.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>\plugins\apache-commons.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>\plugins\utilsplugin2.jar.new'' (exists: false, canRead: false)
- W: Warning: Failed to scan file 'site-svn.openstreetmap.org-_applications_editors_josm_plugins_opendata_modules.txt' for module information. Skipping.

Attachments (0)

Change History (3)

comment:1 Changed 3 months ago by Klumbumbus

Keywords: regression added
Milestone: 17.08
Priority: normalcritical

To filter nodes the filter is simply type:node. However you're right it doesn't work in the current latest version.

comment:2 in reply to:  1 Changed 3 months ago by ShadowFoxNixill

Replying to Klumbumbus:

To filter nodes the filter is simply type:node. However you're right it doesn't work in the current latest version.

That also hadn't worked, and I keep the filters separate because in the usual case I only want to filter out nodes that are part of ways so that the ways themselves are easier to select, while also keeping other nodes (e.g. bus stops) to select them for adding to relations.

comment:3 Changed 3 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 12666/josm:

see #15182 - fix #15193 - fix SearchCompiler

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.