Creation of layer object in Python Mapscript

Bill Hudspeth bhudspeth at EDAC.UNM.EDU
Thu Oct 28 08:55:45 PDT 2004


Hello,

I want to write new map layers on the fly in my scripting. I have found
the reference to "new layerObj()" in the documentation, but am unsure of
how to write the exact syntax. Haven't had any luck with
"new_layer=layerObj(mapObj)".

Any help greatly appreciated.

Bill



More information about the MapServer-users mailing list