[Gdal-dev] GDAL + ECW writing doesn't work on PPC Mac OSX tiger
pbrosson2006 at free.fr
Sat Dec 13 09:50:44 EST 2008
William Kyngesburye wrote:
> On Dec 11, 2008, at 8:43 PM, philippe brosson wrote:
>> when i configure GDAL like this:
>> ./configure --prefix=/usr/pkg
>> --with-libgrass=/usr/pkg \
>> --with-tiff=internal \
>> --with-gif=internal \
>> --with-png=internal \
>> --with-jpeg=internal \
>> --with-libz=internal \
>> --without-netcdf \
>> --without-jasper \
>> --without-python \
>> building GDAL+ECW is OK but i obtain this:
>> pmg4:~/Desktop/GDAL_conversion_folder/sample_geotiff pb$ \
>> gdal_translate --debug ON -of ECW -co "TARGET=90" -co
>> "DATUM=WGS84" -co
>> "PROJ=NUTM10" sample_geotiff_bigEndian.tif sample.ECW
>> GDAL: GDALOpen(sample_geotiff_bigEndian.tif, this=0x5a09de0)
>> succeeds as
>> Input file size is 655, 655
>> ERROR 1: libgrass: MAPSET is not set
>> Abort trap
>> pmg4:~/Desktop/GDAL_conversion_folder/sample_geotiff pb$
> That libgrass option is really old. The more common way to include
> GRASS support is to build it as a plugin, otherwise you either have to
> deal with the old libgrass (only supports old GRASS rasters, no
> vectors) or with a circular dependency (which is simple, but still a
> For a minimal GDAL just to try ECW support, you can skip GRASS
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> "We are at war with them. Neither in hatred nor revenge and with no
> particular pleasure I shall kill every ___ I can until the war is
> over. That is my duty."
> "Don't you even hate 'em?"
> "What good would it do if I did? If all the many millions of people of
> the allied nations devoted an entire year exclusively to hating the
> ____ it wouldn't kill one ___ nor shorten the war one day."
> <Ha, ha> "And it might give 'em all stomach ulcers."
> - Tarzan, on war
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
if i skip GRASS and LIBGRASS, gdal_translate from Tiff format to ECW format
still gives an error "Trace/BPT trap":
./configure --prefix=/usr/pkg \
pmg4:~/Desktop/GDAL_conversion_folder/sample_geotiff pb$ \
gdal_translate --debug ON -of ECW -co "TARGET=90" -co "DATUM=WGS84" -co
"PROJ=NUTM10" sample_geotiff_bigEndian.tif sample.ECW
GDAL: GDALOpen(sample_geotiff_bigEndian.tif, this=0x5a09cc0) succeeds as
Input file size is 655, 655
0ECW: Writing with PROJ=NUTM10, DATUM=WGS84
Does any body know if conversion to ECW requires more dependencies than the
ones i am using?
Does the error comes from ECW SDK or GDAL?
If some one has succeeded ECW writing with Linux or any Unix, which
arguments did he used for configure?
View this message in context: http://www.nabble.com/GDAL-%2B-ECW-writing-doesn%27t-work-on-PPC-Mac-OSX-tiger-%2810.4%29-tp20893241p20990866.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev