[uMap] regex format for numeric ranges in remote data
Andy Robinson
ajrlists at gmail.com
Tue Nov 11 21:30:14 UTC 2014
Trying to get a regex working for a numeric range within a remote data
query.
This format works fine in umap for a range of 1 to 9999:
http://overpass-api.de/api/interpreter?data=[out:json][timeout:25];(way["key
"~"^0*[1-9][0-9]{0,3}$"]({south},{west},{north},{east}););out body;>;out
skel qt;
But this one for a range of 1:4999 does not:
http://overpass-api.de/api/interpreter?data=[out:json][timeout:25];(way["key
"~"^0*([1-9][0-9]{0,2}|[1-4][0-9]{3})$"]({south},{west},{north},{east}););ou
t body;>;out skel qt;
Both queries work fine when used in overpass-turbo
Furthermore the presence of the second query in umap seems to make the layer
inaccessible and therefore not possible to edit or delete despite it saving
when created without returning an error.
Am I missing something or did I find a bug?
Cheers
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/umap/attachments/20141111/6409721d/attachment.htm>
More information about the Umap
mailing list