Zoltan,

I tested the data provided by you. I was able to open it with GDAL using the
MrSID driver with no problem.
Can you give the details of GDAL version you are using and the output of the
command "gdalinfo --formats"?

On Wed, Feb 24, 2010 at 8:19 PM, Zoltan Szecsei <zolt...@geograph.co.za>wrote:

>  Herewith .....
> Thank you,
> Regards,
> Zoltan
>
>
> Chaitanya kumar CH wrote:
>
> Zoltan,
>
> Can you provide a sample dataset that raised this error?
>
> On Wed, Feb 24, 2010 at 8:05 PM, Zoltan Szecsei <zolt...@geograph.co.za>wrote:
>
>> Hi,
>> I'm trying to convert a jpeg2000 image to a geotiff, but I keep getting a
>> segmentation fault. Please can someone point me in the direction of a
>> solution.
>>
>> Thanks in advance,
>> Zoltan.
>>
>>
>> **************************************************************************************
>>
>> z...@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ gdal_translate trvr.jp2
>> trvr.tif
>> Segmentation fault
>>
>>
>> **************************************************************************************
>>
>> z...@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ gdalinfo trvr.jp2
>> Segmentation fault
>>
>>
>> **************************************************************************************
>>
>> z...@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ ls -la trvr.*
>> -rwxr-xr-x 1 1001 geograph        151 2010-02-24 16:01 trvr.j2w
>> -rwxr-xr-x 1 1001 geograph    4031979 2010-02-24 16:01 trvr.jp2
>> -rwxr-xr-x 1 1001 geograph        417 2010-02-24 16:01 trvr.prj
>>
>>
>> **************************************************************************************
>>
>> $ cat trvr.prj
>> PROJCS["UTM Zone 34, Southern Hemisphere",GEOGCS["Geographic Coordinate
>> System",DATUM["WGS84",SPHEROID["WGS84",6378137,298.257223560493]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",21],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]]
>>
>>
>> **************************************************************************************
>>
>> z...@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ cat trvr.j2w
>> 1.00000000000000000
>> 0.00000000000000000
>> 0.00000000000000000
>> -1.00000000000000000
>> 408298.90989752498000000
>> 6312778.31578812000000000
>>
>>
>> **************************************************************************************
>>
>> z...@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ gdal_translate
>> Usage: gdal_translate [--help-general]
>>      [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
>>            CInt16/CInt32/CFloat32/CFloat64}] [-strict]
>>      [-of format] [-b band] [-outsize xsize[%] ysize[%]]
>>      [-scale [src_min src_max [dst_min dst_max]]]
>>      [-srcwin xoff yoff xsize ysize] [-projwin ulx uly lrx lry]
>>      [-a_srs srs_def] [-a_ullr ulx uly lrx lry] [-a_nodata value]
>>      [-gcp pixel line easting northing [elevation]]*
>>      [-mo "META-TAG=VALUE"]* [-quiet] [-sds]
>>      [-co "NAME=VALUE"]*
>>      src_dataset dst_dataset
>>
>> GDAL 1.5.4, released 2009/01/07
>>
>> The following format drivers are configured and support output:
>>  VRT: Virtual Raster
>> etc etc
>>
>>
>>
>> --
>>
>> ===========================================
>> Zoltan Szecsei
>> Director
>>
>> Geograph (Pty) Ltd.
>> P.O. Box 7, Muizenberg 7950, South Africa.
>>
>> 65 Main Road, Muizenberg 7945
>> Western Cape, South Africa.
>> 34° 6'16.35"S 18°28'5.62"E
>> Tel: +27-21-7884897  Mobile: +27-83-6004028
>> Fax: +27-86-6115323    www.geograph.co.za
>> ===========================================
>>
>>
>> No virus found in this outgoing message.
>> Checked by AVG - www.avg.com
>> Version: 9.0.733 / Virus Database: 271.1.1/2706 - Release Date: 02/23/10
>> 21:34:00
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
>
> --
> Best regards,
> Chaitanya kumar CH.
> /tʃaɪθənjə/ /kʊmɑr/
> +91-9848167848
> 17.241582N 80.142635E
>
>
>
> --
>
> ===========================================
> Zoltan Szecsei
> Director
>
> Geograph (Pty) Ltd.
> P.O. Box 7, Muizenberg 7950, South Africa.
>
> 65 Main Road, Muizenberg 7945
> Western Cape, South Africa.
>
> 34° 6'16.35"S 18°28'5.62"E
>
> Tel: +27-21-7884897  Mobile: +27-83-6004028
> Fax: +27-86-6115323    www.geograph.co.za
> ===========================================
>
>
> 1.00000000000000000
> 0.00000000000000000
> 0.00000000000000000
> -1.00000000000000000
> 408298.90989752498000000
> 6312778.31578812000000000
>
> PROJCS["UTM Zone 34, Southern Hemisphere",GEOGCS["Geographic Coordinate
> System",DATUM["WGS84",SPHEROID["WGS84",6378137,298.257223560493]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",21],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]]
>
>
> No virus found in this outgoing message.
> Checked by AVG - www.avg.com
> Version: 9.0.733 / Virus Database: 271.1.1/2706 - Release Date: 02/23/10
> 21:34:00
>
>


-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9848167848
17.241582N 80.142635E
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to