<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="RIGHT: auto">I am trying to use an affine transformation to shift some data from a local grid to EPSG32636. I have the coordinates in both local grid and UTM. </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">I cannot perform the affine transformation using the QGIS plugin because I get a python error code:</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Traceback (most recent call last):<BR>  File "C:\Users\hpethen/.qgis2/python/plugins\qgsAffine\qgsAffine.py", line 81, in affine<BR>    self.doaffine()<BR>  File "C:\Users\hpethen/.qgis2/python/plugins\qgsAffine\qgsAffine.py", line 118, in doaffine<BR>    vlayer.featureAtId(fid,features[fid])<BR>AttributeError: 'QgsVectorLayer' object has no attribute 'featureAtId'<BR><BR>Python version:<BR>2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]<BR><BR><BR>QGIS version:<BR>1.9.0-Master Master, 5f06eec<BR><BR>Python path: ['C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\sextante', 'C:/OSGeo4W/apps/qgis-dev/./python', 'C:\\Users\\hpethen/.qgis2/python', 'C:\\Users\\hpethen/.qgis2/python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 'C:\\OSGeo4W\\bin\\python27.zip', 'C:\\OSGeo4W\\apps\\Python27\\DLLs', 'C:\\OSGeo4W\\apps\\Python27\\lib',
 'C:\\OSGeo4W\\apps\\Python27\\lib\\plat-win', 'C:\\OSGeo4W\\apps\\Python27\\lib\\lib-tk', 'C:\\OSGeo4W\\bin', 'C:\\OSGeo4W\\apps\\Python27', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools', 'C:/Users/hpethen/Documents/Docs/PhD/GIS/Gebel_Asr/Modified_fieldwork_data/Affine_EPSG32636_GoogleEarth']</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">So I have tried to run it in GRASS using v.transform instead, but the transformation fails. I have tried to use a point file with the XY coordinates and UTM coordinates in the following format:</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">667.226 1127.835 327300.25 2533469.65<BR>893.734 994.317 327510.52 2533340.86<BR>590.185 1181.780 327232.79 2533514.94<BR>417.585 1110.799 327054.46 3553460.41</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">But this also failed. </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Does anyone know what I'm doing wrong here?</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Thanks for your help</div>
<div style="RIGHT: auto">Hannah<VAR id=yui-ie-cursor></VAR></div></div></body></html>