m.rickgeosecure-de-esridist

Problem with Describe.spatialReference

Discussion created by m.rickgeosecure-de-esridist Employee on Feb 2, 2011
Latest reply on Feb 3, 2011 by m.rickgeosecure-de-esridist
Hello,

currently I am working on a script that automatically converts a chosen raster dataset into a GeoTiff and projects it to wgs84 if it is not already uses this coordinate system. Therefore I have to read the spatial reference of my input dataset.
I tried to do this by using the Describe object. The script works just fine as stand-alone application, but when I try to include it to my Toolbox in ArcGis Desktop 10 I get an error Message which says:

<type 'exceptions.RuntimeError'>: DescribeData: Method SpatialReference does not exist

Does anyone have an idea what's wrong with ArcGIS?

Thanks for all replies

Martin

Outcomes