Can't import GDAL into Python (2.5 or 2.6)

JP Glutting jpglutting at gmail.com
Mon Aug 23 12:12:31 PDT 2010


Great, that seems to work now. I'm not sure how, since I still can't see any
gdal modules in the Framework site-packages directory, but thanks!

Cheers,
JP

On Fri, Aug 20, 2010 at 4:58 PM, Vincent Habchi <vince at macports.org> wrote:

> Le 20 août 2010 à 16:42, Vincent Habchi a écrit :
>
> > My own version works, as far as libspatialite is buggy:
>
> Indeed, with the bug in spatialite corrected, it works:
>
> PM: gdal2tiles.py --help
> Usage: gdal2tiles.py [options] input_file(s) [output]
>
> Options:
>  --version             show program's version number and exit
>  -h, --help            show this help message and exit
>  -p PROFILE, --profile=PROFILE
>                        Tile cutting profile (mercator,geodetic,raster) -
>                        default 'mercator' (Google Maps compatible)
>  -r RESAMPLING, --resampling=RESAMPLING
>                        Resampling method
> (average,near,bilinear,cubic,cubicsp
>                        line,lanczos,antialias) - default 'average'
>  -s SRS, --s_srs=SRS   The spatial reference system used for the source
> input
>                        data
>  -z ZOOM, --zoom=ZOOM  Zoom levels to render (format:'2-5' or '10').
>  -e, --resume          Resume mode. Generate only missing files.
>  -a NODATA, --srcnodata=NODATA
>                        NODATA transparency value to assign to the input
> data
> […]
>
>
> Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100823/c70c0658/attachment.html>


More information about the macports-users mailing list