[OSM-dev] Odd data in daily diffs (potlatch related?)

Tom Hughes tom at compton.nu
Fri Mar 28 08:53:10 GMT 2008


In message <2fc2c5f10803280126h181c138fp3c3029dfcdd9a439 at mail.gmail.com>
        Martijn van Oosterhout <kleptog at gmail.com> wrote:

> In the file daily-20080326-20080327.osc.bz2 there is this relation:
>
>     <relation id="8571" timestamp="2008-03-26T22:05:03Z" user="wiesel111">
>       <tag k="ESCESC" v=""/>
>       <tag k="created_by" v="Potlatch 0.8"/>
>       <tag k="type" v=""/>
>     </relation>
>
> Those are real escapes "\x1d". Fetching via the API doesn't have them,
> the osmosis XML parser is barfing on them. Looks like some mismatch
> between the output and input of osmosis here.

They are there in the database (well something weird is anyway) so
anything which accesses the database directly like the planet dumper
or osmosis may well report them.

The API is probably loosing them because ruby is barking when trying
to interpret them as UTF-8 and discarding them or something.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list