[Gdal-dev] jasper for very large jpeg 2000 images

Trent M Hare thare at usgs.gov
Mon Oct 15 19:16:15 EDT 2007


Kurt,
        Considering you said HiRISE I though I would chime in.

If you have ISIS3 and GDAL available, try this:
http://isis.astrogeology.usgs.gov/IsisSupport/viewtopic.php?t=1456

Notice should have a direct method in GDAL to read ISIS3 images in the 
foreseeable future.

Regards,
Trent






Kurt Schwehr <schwehr at ccom.unh.edu> 
Sent by: gdal-dev-bounces at lists.maptools.org
10/15/2007 01:24 PM

To
gdal-dev at lists.maptools.org
cc
Steve Levoe <steve.levoe at jpl.nasa.gov>
Subject
[Gdal-dev] jasper for very large jpeg 2000 images






Hi All,

Is there a way to allow very large images to make it through the 
drivers?  I'm trying to convert HiRise images from Mars without luck. 
For example trying to subset a quicklook image

gdal_translate -of PNG -srcwin 10 10 1000 1000 
PSP_005372_1515_RED.QLOOK.JP2 foo.png
Input file size is 32369, 95295
error: cannot decode code stream
gdal_translate(22843) malloc: *** vm_allocate(size=3084607488) failed 
(error code=3)
gdal_translate(22843) malloc: *** error: can't allocate region
gdal_translate(22843) malloc: *** set a breakpoint in szone_error to debug
ERROR 2: Internalize failed
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
libpng error: No IDATs written into file
Abort trap

I'm guessing that this is an architectural issue with gdal?

Thanks,
-kurt

_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/gdal-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20071015/81b3783c/attachment.html


More information about the Gdal-dev mailing list