Object search

Vespucci supports a large subset of JOSM search expressions, these can be used for locating and selecting specific objects in the in memory data, and for matching elements against roles in preset member_expression attributes.

As there is essentially no documentation available from JOSM there is no guarantee that the behaviour is the same in all cases, known and deliberate differences are noted below.

Supported expressions

Syntax Vespucci specific notes
Baker Street
"Baker Street"
key:valuefragment
-key:valuefragment
key
key=value
key=*
key=
*=value
key>reference Compares the value associated with key to reference, if possible if will convert to numeric values first
key<reference ""
expr expr
expr | expr
expr OR expr
-expr
(expr)
type:node
type:way
type:relation
closed
untagged
preset:"preset item path" Vespucci uses "|" as preset path segment separator and only fixed tags are considered for matching
preset:"preset group path/*" The asterix is ignored, the relevant criteria is if the path references a preset group
user:
id:
version:
changeset:
timestamp:
nodes:range All nodes are counted, for closed ways that implies that start and end node are counted separately
ways:range
tags:range
role:role
areasize:range
waylength:range
modified
new
selected
incomplete Only used for relations
deleted
child expr
parent expr
hasRole:role
nth:number
nth%:number
inview
allinview
indownloadedarea
allindownloadedarea