[Openstreetmap-dev] metadata, getAllKeys not found
SteveC
steve at fractalus.com
Wed Jun 8 18:19:29 BST 2005
* @ 05/06/05 01:17:13 PM jo at frot.org wrote:
> On Sun, Jun 05, 2005 at 10:04:22AM +0100, Ben Gimpert wrote:
> > Looks like your (Python?) client-side should be passing a boolean as
> > the second argument to getAllMaps(). That method's proper getAllKeys()
> > signature takes a String first (token) and then a boolean (visible?),
> > not an integer (1) passing as a boolean.
>
> ah thanks, that's better! doh; i'm still relatively new to python.
> i see a handful of keys that look like this:
>
> 11
> accessibleToHorse
> nick at hogweed.org
> 1112537736104
uid
name
email of person who made it...
timestamp, millis after 1970
should not be a flat list - another bug.
> - are there key names which you would like to propagate... certainly
> it would be easier when combining different peoples' streets to be
> relatively sure about the existence of certain properties... of
> which 'name' is the one super-obvious candidate.
>
> i would use a getKeyByName() type method if there was one.
>
> Steve, you've talked of not wanting to impose one vocabulary or
> schema, i see the decency in that,
yeah, hopefully something wil evolve
> still i look for ways to establish
> a mapping between different peoples' vocabularies that other people
> can use.
the subclassing / equivalency stuff is important, but unimplemented.
> the case where a street is physically the same 'street' but changes
> names, sometimes changing back, along its length - eg Shoreditch High
> Street / Kingsland Road / Stoke Newington Road / Stoke Newington High
> Street - that's always bothered me a little. (the dumb driving
> directions scenario; "continue along Kingsland Road for 200M; continue
> along... etc"). you almost want a StreetCollection. i back away.
Thats an open question. The idea is that keys associated with segments
override the street's key's. so you can have a one way street but one
segment it two way, or something.
as for nameing all the segments, i suppose its really up to you or any
other end user to name things as they like.
have fun,
SteveC steve at fractalus.com http://www.fractalus.com/steve/
More information about the dev
mailing list