[Qgis-user] Extract Projection Hangs
Rebecca Bennett
rabennett at ymail.com
Thu Jun 19 09:55:52 PDT 2014
Thanks for the suggestion. I wasn't able to get gdalsrsinfo to give output using the command
gdalsrsinfo "filepath\filename" did I miss something?
I also tried and example from the webpage
gdalsrsinfo "ESPG:3426" led to the following ERROR - failed to load SRS definition from ESPG:3426
Digging about I was able to see the following python error in QGIS when I attempt to run extract projection
"An error has occured while executing Python code:
Traceback (most recent call last):
File "C:/OSGeo4W/apps/qgis/./python/plugins\GdalTools\tools\doExtractProj.py", line 198, in run
extractProjection( f, self.needPrj )
File "C:/OSGeo4W/apps/qgis/./python/plugins\GdalTools\tools\doExtractProj.py", line 151, in extractProjection
crs = raster.GetProjection()
AttributeError: 'NoneType' object has no attribute 'GetProjection'
Python version:
2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
QGIS version:
2.2.0-Valmiera Valmiera, c3a2817
Python path: ['C:/OSGeo4W/apps/qgis/./python/plugins\\processing', 'C:/OSGeo4W/apps/qgis/./python', u'C:/Users/rebecca.bennett.SDNPA/.qgis2/python', u'C:/Users/rebecca.bennett.SDNPA/.qgis2/python/plugins', 'C:/OSGeo4W/apps/qgis/./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\\GDAL-1.11.0-py2.7-win32.egg', '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\\Shapely-1.2.18-py2.7-win32.egg',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools']"
All suggestions welcome - I'd love to have this working soon!
Best wishes,
Rebecca
On Wednesday, 18 June 2014, 17:16, Rebecca Bennett <rabennett at ymail.com> wrote:
Dear all,
I am working in QGIS 2.2.0 downloaded via OSgeo4w and am trying to extract projection information for png and tif files using the gdal tool Raster > Projections > Extract Projections. The tool hangs without creating the world or prj files, but gives no error message. It does this in both single file and batch file mode with no files created.
I have used this tool in the past (February using QGIS 2.1) without issue on this computer in both batch and single file mode. I have tried it on png files that I know worked in the previous processing round to no avail.
Is anyone able to suggest where to begin troubleshooting this problem?
Thanks for reading!
Rebecca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140619/8d291abd/attachment.html>
More information about the Qgis-user
mailing list