Can't import GDAL into Python (2.5 or 2.6)
Vincent Habchi
vince at macports.org
Fri Aug 20 07:58:46 PDT 2010
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
More information about the macports-users
mailing list