Hi<div><br></div><div>How do you install GDAL with GEOS and the Python Bindings on Ubuntu Linux Natty Narwhal 11.04?</div><div><br></div><div>I&#39;ve Googled an awful lot and tried heaps of suggestions most of which I&#39;m afraid I can&#39;t remember.  Presumably my system is now in a horrible mess.  I remember installing umpteen different versions of Python, for example.</div>

<div><br></div><div>Somehow I managed to get enough of GDAL and Python to work to use gdalbuildvrt and gdal2tiles.py.  But now I want to do something like:</div><div><br></div><div><div>ogr2ogr -s_srs EPSG:2193 -t_srs EPSG:2193 -f &quot;GeoJSON&quot; -clipdst 18785164.071364913 -5009377.0856973119 20037508.342789244 -3757032.814272983 doc-campsites-clipped.json doc-campsites.shp</div>

<div><br></div></div><div>which responds with hundreds of lines of &quot;ERROR 6: GEOS support not enabled.&quot;  Leaving out &quot;-clip dst&quot;, as below, works though.</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">ogr2ogr -s_srs EPSG:2193 -t_srs EPSG:2193 -f &quot;GeoJSON&quot; doc-campsites-clipped.json doc-campsites.shp</div>

<div><br></div><div>I probably tried using the Ubuntu Software Centre.  I remember doing something with FWTools, reluctantly, because it&#39;s out of date.  I remember building lots of stuff from source.  I added the ubuntugis-unstable repositry and did &quot;apt-get update&quot;.  My hopes were raised when &quot;apt-get install gdal-bin&quot; didn&#39;t fail, but then &quot;apt-get install python-gdal&quot; responded with </div>

<div><br></div><div><div>The following packages have unmet dependencies:</div><div> python-gdal : Depends: python (&lt; 2.7) but 2.7.1-0ubuntu5 is to be installed</div><div>E: Broken packages</div></div><div><br></div><div>

Which is how I ended up installing (maybe even building) earlier versions of Python.</div><div><br></div><div>Many thanks,</div><div>Duncan</div>