#8850 closed enhancement (fixed)
Support of less than & greater than in Display Filter
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | 13.12 |
Component: | Core | Version: | latest |
Keywords: | filter search interval | Cc: |
Description
Hello,
I' working on historical data and I use the start_date and end_date tags. Some of the objects are overlaying others and it's very hard to work correctly on them.
Currently the display filter only works for the equal sign and not for less than and greater than.
I've tested following filters with no success:
"start_date">1950
"start_date"<1960
"start_date">"1950"
"start_date"<"1960"
Is it possible to implement this? with support for integer, float and maybe date?
Regards
Sven
Attachments (0)
Change History (9)
follow-up: 2 comment:1 by , 11 years ago
Component: | Core mappaint → Core |
---|---|
Keywords: | search interval added; display removed |
follow-up: 3 comment:2 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Replying to skyper:
I think it would be even better to allow intervals like
lanes=2-4
orstart_date=1900-1960
.
Actually this already exists in expert mode.
start_date:1950- start_date:-1960 start_date:1950-1960
should do it.
follow-up: 5 comment:3 by , 11 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Replying to skyper:
Actually this already exists in expert mode.
start_date:1950- start_date:-1960 start_date:1950-1960should do it.
I have expert mode enabled but it doesn't work for me, only id
, changeset
, version
, nodes
, tags
and areasize
accepted intervals.
Do you happen to know which of your plugins enables doing that?
comment:4 by , 11 years ago
The range does only work with operators accepting numerical values, such as metadata (id, version...) or counters (nodes, tags...), it does not work with tags, which may contain anything (event start_date may contain some exotic values like "before 1972", "after 1961", etc.)
comment:5 by , 11 years ago
Replying to AlfonZ:
I have expert mode enabled but it doesn't work for me, only
id
,changeset
,version
,nodes
,tags
andareasize
accepted intervals.
Sorry my bad. You might be able to use regular expression though.
comment:7 by , 11 years ago
Milestone: | → 13.12 (6502) |
---|
I think it would be even better to allow intervals like
lanes=2-4
orstart_date=1900-1960
.