gdal_plygonize

FWtool だと新しいのだめ wget http://download.osgeo.org/gdal/gdal-1.5.3.tar.gz して、展開、cp ../gdal_polygonize.py ./swig/python/scripts/ に入れておく。なぜ?

/tmp/GDAL/gdal-1.5.3$で、
./confirgure
./make

その間に、確認/usr/bin/python -V --> Python 2.5.2

makeは、そこそこ、

make install

/usr/local/binには、 
/usr/local/lib にも

それで、
----------------------------------------------------------------------Libraries have been installed in: /usr/local/lib
If you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pathname of the library, or use the `-LLIBDIR'flag during linking and do at least one of the following:

- add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.



./swig/python で、 make generate

swigがないって、いんすと^-る

sudo apt-get install python2.5-dev もね

って何度か繰り返したら、インストールできた。ああよくわからん。

http://trac.osgeo.org/gdal/wiki/rfc17_python_namespaces

sudo apt-get install python-Numpy これも入れて

sudo apt-get install python-setuptools

あーーー、1.6betaにある。それつかお

似たようなお悩みを抱えている方をみつけました 。

http://n2.nabble.com/Countour-polygons-instead-of-lines-td834950.html