hi list,

I've been getting the following error from osr.py:
  File "C:\iapro\OpenEV\python\lib\site-packages\osgeo\osr.py", line 618, in 
TransformPoint
return _osr.CoordinateTransformation_TransformPoint(*args)
NotImplementedError: Wrong number of arguments for overloaded function 
'CoordinateTransformation_TransformPoint'.
  Possible C/C++ prototypes are:
    TransformPoint(double [3])
    TransformPoint(double [3], double, double, double)


The function I'm calling is below.  I've tried it with different input 
combinations, but I always get the same result.

tr = osr.CoordinateTransformation(ref, proj)
tr_pts = []
for pt in geo_nodes:
       tr_pts.append(tr.TransformPoint(pt[0], pt[1]))


Has anyone seen the error, does it has something to do with Swig?


thanks,
Shawn


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to