Re: [gdal-dev] Proper input for TransformPoint

2009-10-23 Thread Mano Marks
Thanks, that helped. Actually, it turned out the problem was that the SR I was using wasn't being recognized. I'm not sure why this caused the particular error that it did. Mano Marks Geo Developer Advocate http://twitter.com/ManoMarks On Fri, Oct 23, 2009 at 2:20 PM, Jamie Adams wrote: > I h

Re: [gdal-dev] Proper input for TransformPoint

2009-10-23 Thread Jamie Adams
I have it working for KML output like this: *projection = dataset.GetProjection()* *in_projection = osr.SpatialReference() in_projection.ImportFromWkt(projection)* * out_projection = osr.SpatialReference() out_projection.ImportFromEPSG(4326) coortran = osr.CoordinateTransformation(in_projection,

[gdal-dev] Proper input for TransformPoint

2009-10-23 Thread Mano Marks
Developing in Python, I've tried a number of inputs for TransformPoint, and can't seem to figure out how to get this right. And web searches reveal several people asking similar questions without an answer. Anyone? Here's the error I get: NotImplementedError: Wrong number of arguments for overloa