[Mapserver-users] mapscript: new functions numMetaData and keyMetaData required
m.spring at gmx.de
m.spring at gmx.de
Mon Sep 22 01:33:11 PDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
Mapscript currently has no methods to retrieve existing metadata
without knowing its keys.
Therefore I have written two new methods:
'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.
I have filed it as a enhancement request in bugzilla.
Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>
iD8DBQE/brPHxxUzQSse11ARAq6LAJ9Z0xG/KKGD6qUYsLX9EbTCfgneGwCfYusj
rNvIdRAkY56GF1PNwL6VdpA=
=4eiH
-----END PGP SIGNATURE-----
More information about the MapServer-users
mailing list