GeoSun
unread,May 5, 2009, 3:32:34 AM5/5/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gdal+python+GIS+geosings论坛
1.首先因未在相关主题下发帖表示歉意,再请问李老大,前面帖子中我colormap=band.GetRasterColorTable()
dir(colormap),只显示['__class__', '__delattr__', '__doc__',
'__getattribute__','__hash__', '__init__', '__new__', '__reduce__',
'__reduce_ex__','__repr__', '__setattr__', '__str__'] ,而没有GetCount等方法,您
说“你那个可能是空”不知是什么意思,烦请再解释下,谢谢,
2.我在gdal_priv.h文件中看到band类下的许多函数,包括GetColorTable等,在dir(band)中并没有,而
GetRasterColorTable方法,在dir中有,.h文件下又找不到,请点拨一下这二者间的关系,c++写成的库,在python下发生什
么变化呢,问得模棱两可,不专业,还请见谅,只因确实不懂!!