#11505 closed enhancement (fixed)
[PATCH] Load a range of OSM objects
| Reported by: | windu.2b | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Milestone: | 15.08 |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
Using a hyphen as a separator, a range of objects IDs can be loaded.
It is easier to write "w1-5" than "w1, w2, w3, w4, w5", and the result is exactly the same.
Attachments (1)
Change History (8)
by , 10 years ago
| Attachment: | 0001-Load-a-range-of-OSM-objects-using-a-hyphen-as-a-sepa.patch added |
|---|
comment:1 by , 10 years ago
| Summary: | Load a range of OSM objects → [PATCH] Load a range of OSM objects |
|---|
comment:2 by , 10 years ago
| Milestone: | → 15.06 |
|---|
comment:3 by , 10 years ago
| Milestone: | 15.06 → 15.07 |
|---|
comment:4 by , 10 years ago
Due to the code around Long.parseLong(m.group(m.groupCount())) - 2, the patch could only parse an interval of exactly 3 object IDs. I'll commit a fixed implementation.
Placing SimplePrimitiveId.fuzzyParse in the OsmIdTextField would have validated any input, such as "foo bar".
comment:7 by , 10 years ago
Wiki updated in Help/Action/DownloadObject?action=diff&version=22&old_version=20.



skip milestone 15.06