new functions numMetaData and keyMetaData to retrieve number and keys of metadata entries
Mapscript currently has no methods to retrieve existing metadata without knowing
its keys.
The new method 'numMetaData' gets the number of metadata entries (like
map->numlayers), and 'keyMetaData(pos)' gets the key of the metadata entry on
position 'pos'.
To achieve this functionality patching of maphash.c, maphash.h and mapscript.i
is necessary.
The patches are context-diffed against the mapserver cvs-version of sunday,
sept. 21, 2003 and can be downloaded from
http://dream.lrrl.arch.tu-muenchen.de/~springm/mapserver/maphash_patches/maphash.c.patch
http://dream.lrrl.arch.tu-muenchen.de/~springm/mapserver/maphash_patches/maphash.h.patch
http://dream.lrrl.arch.tu-muenchen.de/~springm/mapserver/maphash_patches/mapscript.i.patch
I hope this patch can be included in the current and future versions of mapserver.
Change History
(8)
attachments.isobsolete: |
0 → 1
|
Cc: |
warmerdam@… mapserver-bugs@… added
|
Component: |
MapScript → MapScript-SWIG
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Patch for maphash.c