Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11887 closed defect (worksforme)

Filter '*link' does not match motorway_link roads

Reported by: planemad Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Create a filter for highway=motorway|trunk|primary|secondary|tertiary|*link
  2. Create a test segment with tag highway=motorway_link
  3. Apply the filter

What is the expected result?

The motorway_link road gets hidden

What happens instead?

The filter applies to all link roads except motorway_link

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

https://cloud.githubusercontent.com/assets/126868/10012249/be8607a2-6123-11e5-85b9-90bb7e89339f.gif

Revision: 8677
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-08-21 22:18:03 +0200 (Fri, 21 Aug 2015)
Build-Date: 2015-08-21 23:32:08
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8677

Identification: JOSM/1.5 (8677 en) Mac OS X 10.10.3
Memory Usage: 550 MB / 1820 MB (113 MB allocated, but free)
Java version: 1.8.0_60, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.policy=file:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=/Users/arun/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-1b8e9edd, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=/Users/arun/Library/Application Support/Oracle/Java/Deployment/cache/6.0/16/47ee53d0-70f4e903.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp , -Djnlpx.jvm="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java", -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scCAA]
Dataset consistency test: No problems found

Plugins:
- CommandLine (31241)
- Create_grid_of_ways (31241)
- FastDraw (31265)
- Mapillary (31525)
- OSMRecPlugin (31441)
- PicLayer (31241)
- ShapeTools (1000)
- buildings_tools (31361)
- commons-imaging (31241)
- dataimport (31241)
- ext_tools (31241)
- geochat (31241)
- geotools (31126)
- graphview (31241)
- jts (31126)
- lakewalker (31241)
- log4j (31231)
- opendata (31241)
- public_transport (31241)
- rasterfilters (31509)
- reltoolbox (31241)
- reverter (31241)
- scripting (30710)
- terracer (31241)
- tofix (1438878644)
- turnlanes (31241)
- undelete (31241)
- utilsplugin2 (31463)
- wikipedia (31241)
- wms-turbo-challenge2 (31308)

Last errors/warnings:
- W: PluginException: Invalid jar file '/Users/arun/Library/JOSM/plugins/imagery_offset_db.jar.new'
- W: Failed to scan file 'imagery_offset_db.jar.new' for plugin information. Skipping.
- W: Failed to install plugin '/Users/arun/Library/JOSM/plugins/imagery_offset_db.jar' from temporary download file '/Users/arun/Library/JOSM/plugins/imagery_offset_db.jar.new'. error in opening zip file

Attachments (0)

Change History (2)

comment:1 by simon04, 9 years ago

Resolution: worksforme
Status: newclosed

highway=motorway|trunk|primary|secondary|tertiary|*link is being parsed as
(highway=motorway) | (trunk | (primary | (secondary | (tertiary|*link))))

primary_link is then matched by primary.

The expression highway="motorway|trunk|primary|secondary|tertiary|.*link" with regular expression enabled works for me.

comment:2 by simon04, 9 years ago

In 8781/josm:

see #11887 - Output parsed search expression on debug log

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.