Python Geospatial development book error?

المشرف العام

Administrator
طاقم الإدارة
I am currently reading Python Geospatial Development by Erik Westra but I am stuck at the first hurdle where the book suggests that the easiest way to install gdal onto a windows machine is using FWtools from the website http://fwtools.maptools.org

The first problem is that this is a really old website.

It then says to check if it's successful type >>> import osgeo this is where it fails and I get the error:

Traceback (most recent call last): File "", line 1, in ? ImportError: No module named gdal The error seems to have come up a number of times on stack exchange:


with the answer being to use OSGEO4W.

The fwtools website hasn't been updated since about 2010 or 2011 and the book is from 2013 second edition so surely they had time to update the installation section, it seems to be a fundamental flaw in the book which has been rated highly on Amazon and by a number of people who know way more about python then I do, So my question is have I missed something really obvious in the book or that is considered general python GIS knowledge? There is nothing in the errata on the books Publishers website Packt Publishing. I don't want to rate the book badly if it something I have missed.



أكثر...
 
أعلى