[gdal-dev] Wrong number or type of arguments for overloaded function 'CoordinateTransformation_TransformPoint'
Even Rouault
even.rouault at spatialys.com
Tue Feb 10 07:55:14 PST 2015
Le mardi 10 février 2015 16:27:54, DeTracey, Brendan a écrit :
> Hi,
>
> I am using the GDAL python bindings via Windows 64 bit Anaconda, but I am
> getting an error when I try to run one of the GDAL sample scripts,
> tolatlong.py e.g.
>
> E:\parse_cis>python tolatlong.py 0 0 temp.tif
> Traceback (most recent call last):
> File "tolatlong.py", line 106, in <module>
> (int, lat, height) = ct.TransformPoint(X, Y)
> File
> "C:\Users\DeTraceyB\AppData\Local\Continuum\Anaconda\lib\site-packages\osg
> eo\osr.py", line 757, in TransformPoint return
> _osr.CoordinateTransformation_TransformPoint(self, *args)
> NotImplementedError: Wrong number or type of arguments for overloaded
> function 'CoordinateTransformation_TransformPoint'. Possible C/C++
> prototypes are:
> OSRCoordinateTransformationShadow::TransformPoint(double [3])
> OSRCoordinateTransformationShadow::TransformPoint(double
> [3],double,double,double)
>
> When I google this error I find it might be related to GDAL not finding
> Proj (https://github.com/avalentino/gsdview/issues/89). Could someone
> please verify that this would be the source of this error? I have
> installed Proj under Anaconda and am trying to rule out whether it is a
> problem with Anaconda or GDAL.
Yes, it seems very likely this is due to proj missing. Check that proj.dll is
available in one of the paths in the PATH.
>
> Thanks,
> Brendan
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list