[OSM-dev] Current planet file is broken

Matt Amos zerebubuth at gmail.com
Fri Apr 24 10:43:30 BST 2009


On Fri, Apr 24, 2009 at 9:37 AM, Frederik Ramm <frederik at remote.org> wrote:
> Should we then define that any software dealing with relation XML must
> ignore case in member types? (Does the API, on upload, accept any case?)
>
> Currently the planet diffs have lower case, the planet file has upper case,
> and Osmosis expects lower case.

the planet should have had lower case as well, i just didn't update
the program to reflect the changes in the database.

if anyone finds anywhere in the API or any other output of the server
where we're "leaking" the capitalised member types, let me know and
i'll fix it. everything should have stayed lower case, as it
previously was.

>> I believe it's a bug in the planet dumper, it should be converting them to
>> lower case when writing the xml.
>
> I have modified the planet dumper (slightly unelegantly perhaps, I leave
> beauty to Matt) to convert member types to lower case.

you couldn't possibly have made it any uglier than it already was ;-)

cheers,

matt




More information about the dev mailing list