Skip to content

Attic output contains later introduced tag #241

@tyrasd

Description

@tyrasd

The following query

[out:xml][timeout:25][date:"2012-10-01T00:00:01"];
way(30713396);
out tags;

which basically requests version 7 of way 30713396, returns the tag tunnel with a very suspicious value (see later). The way only recently got this tag added, see http://osmlab.github.io/osm-deep-history/#/way/30713396. Looking at the returned content, the value of the tag appears to contain quite strange data: Running curl http://overpass-api.de/api/interpreter?data=%5Bout%3Axml%5D%5Btimeout%3A25%5D%5Bdate%3A%222012-10-01T00%3A00%3A01%22%5D%3B%0Away%2830713396%29%3B%0Aout%20tags%3B | hexdump -C produces:

[…]
00000150  67 20 6b 3d 22 74 75 6e  6e 65 6c 22 20 76 3d 22  |g k="tunnel" v="|
00000160  ff 20 22 2f 3e 0a 20 20  3c 2f 77 61 79 3e 0a 0a  |. "/>.  </way>..|
00000170  3c 2f 6f 73 6d 3e 0a                              |</osm>.|

i.e. the string starts with 0xff which doesn't seem to be valid utf-8, is it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions