Closed tbonfort closed 12 years ago
Author: sgillies@frii.com Date: 2003/09/22 - 16:05
Sean Gillies added
Author: sgillies@frii.com Date: 2004/03/15 - 17:54
Been a long time, but have finally resolved this bug.
We are not going to use the provided patch, but using new
msFirstKeyFromHashTable and msNextKeyFromHashTable functions written
by Frank Warmerdam.
These give us an opaque iterator over metadata keys that we can use
like this:
keys = []
key = mapobj.getFirstMetaDataKey()
if key is not None:
keys.append(key)
while 1:
key = mapobj.getNextMetaDataKey(key)
if not key:
break
keys.append(key)
and keys contains all the metadata keys. One could create a dictionary
from the metadata in a similar fashion.
Reporter: m.spring@gmx.de Date: 2003/09/22 - 10:29