Creation of layer object in Python Mapscript

Bill Hudspeth bhudspeth at EDAC.UNM.EDU
Thu Oct 28 11:55:45 EDT 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