[Openstreetmap-dev] metadata, getAllKeys not found
Jo Walsh
jo at frot.org
Sat Jun 4 18:01:01 BST 2005
hello,
i was playing around with the OSM lines in mapserver. i wanetd to get
their metadata out too. but then i try to request the list of key UIDs
and names, but i get this error:
<Fault 0: 'java.lang.NoSuchMethodException:
org.openstreetmap.server.osmServerHandler.getAllKeys(java.lang.String,
int)'>
it looks like it's defined okay in
org/openstreetmap/server/osmServerHandler.java
The following code is what i'm using to call it:
----
import xmlrpclib
x = xmlrpclib.Server('http://www.openstreetmap.org/api/xml.jsp')
token = x.openstreetmap.login('zool at frot.org','bollocks')
keys = x.openstreetmap.getAllKeys(token,1)
# kabooom!
for k in keys:
print k
-jo
More information about the dev
mailing list