Python Mapscript :: NameError: global name 'rectObj' is not defined
Bill Hudspeth
bhudspeth at EDAC.UNM.EDU
Mon Aug 23 09:42:40 PDT 2004
I am trying to create a rectangle object using Python Mapscript as such:
prevExtent = rectObj(self.prev_minx, self.prev_miny, self.prev_maxx,
self.prev_maxy)
and get the following error message:
NameError: global name 'rectObj' is not defined
I have imported the mapscript module - other mapscript objects are
recognized in different calls throughout my code, so that is not the
problem.
Any other ideas would be greatly appreciated.
Thanks, Bill
More information about the MapServer-users
mailing list