Zoltan,<br><br>Can you provide a sample dataset that raised this error?<br><br><div class="gmail_quote">On Wed, Feb 24, 2010 at 8:05 PM, Zoltan Szecsei <span dir="ltr"><<a href="mailto:zoltans@geograph.co.za">zoltans@geograph.co.za</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
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.<br>
<br>
Thanks in advance,<br>
Zoltan.<br>
<br>
**************************************************************************************<br>
<br>
zls@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ gdal_translate trvr.jp2 trvr.tif<br>
Segmentation fault<br>
<br>
**************************************************************************************<br>
<br>
zls@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ gdalinfo trvr.jp2<br>
Segmentation fault<br>
<br>
**************************************************************************************<br>
<br>
zls@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ ls -la trvr.*<br>
-rwxr-xr-x 1 1001 geograph 151 2010-02-24 16:01 trvr.j2w<br>
-rwxr-xr-x 1 1001 geograph 4031979 2010-02-24 16:01 trvr.jp2<br>
-rwxr-xr-x 1 1001 geograph 417 2010-02-24 16:01 trvr.prj<br>
<br>
**************************************************************************************<br>
<br>
$ cat trvr.prj<br>
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]]<br>
<br>
**************************************************************************************<br>
<br>
zls@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ cat trvr.j2w<br>
1.00000000000000000<br>
0.00000000000000000<br>
0.00000000000000000<br>
-1.00000000000000000<br>
408298.90989752498000000<br>
6312778.31578812000000000<br>
<br>
**************************************************************************************<br>
<br>
zls@gl1:/mnt/gm0_sdd1/gisortho/t4a/breederivier$ gdal_translate<br>
Usage: gdal_translate [--help-general]<br>
[-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/<br>
CInt16/CInt32/CFloat32/CFloat64}] [-strict]<br>
[-of format] [-b band] [-outsize xsize[%] ysize[%]]<br>
[-scale [src_min src_max [dst_min dst_max]]]<br>
[-srcwin xoff yoff xsize ysize] [-projwin ulx uly lrx lry]<br>
[-a_srs srs_def] [-a_ullr ulx uly lrx lry] [-a_nodata value]<br>
[-gcp pixel line easting northing [elevation]]*<br>
[-mo "META-TAG=VALUE"]* [-quiet] [-sds]<br>
[-co "NAME=VALUE"]*<br>
src_dataset dst_dataset<br>
<br>
GDAL 1.5.4, released 2009/01/07<br>
<br>
The following format drivers are configured and support output:<br>
VRT: Virtual Raster<br>
etc etc<br>
<br>
<br>
<br>
-- <br>
<br>
===========================================<br>
Zoltan Szecsei<br>
Director<br>
<br>
Geograph (Pty) Ltd.<br>
P.O. Box 7, Muizenberg 7950, South Africa.<br>
<br>
65 Main Road, Muizenberg 7945<br>
Western Cape, South Africa. <br>
34° 6'16.35"S 18°28'5.62"E <br>
Tel: +27-21-7884897 Mobile: +27-83-6004028<br>
Fax: +27-86-6115323 <a href="http://www.geograph.co.za" target="_blank">www.geograph.co.za</a><br>
===========================================<br>
<br><br>
No virus found in this outgoing message.<br>
Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>
Version: 9.0.733 / Virus Database: 271.1.1/2706 - Release Date: 02/23/10 21:34:00<br>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9848167848<br>17.241582N 80.142635E<br>