[Gdal-dev] jasper for very large jpeg 2000 images
Kurt Schwehr
schwehr at ccom.unh.edu
Mon Oct 15 19:31:10 EDT 2007
Hi Trent,
Thanks for the tip. Unfortunately, the licenses and binary only
distrubution modes prevent me from packaging either ISIS or Kakadu into
the fink package tree (which requires being able to build from
distributable source code). However, I will likely run into people who
can use this tip on the Phoenix project, so I will keep it handy.
-kurt
Trent M Hare wrote:
>
> 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
>
More information about the Gdal-dev
mailing list