[GRASS-user] importing Mars DEM takes too long

Anna Petrášová kratochanna at gmail.com
Sat Nov 19 09:17:12 PST 2016


On Sat, Nov 19, 2016 at 10:55 AM, Markus Neteler <neteler at osgeo.org> wrote:
> On Nov 19, 2016 2:08 PM, "Anna Petrášová" <kratochanna at gmail.com> wrote:
>>
>> On Sat, Nov 19, 2016 at 7:07 AM, Markus Neteler <neteler at osgeo.org> wrote:
>> > On Sat, Nov 19, 2016 at 12:06 PM, Sajid Pareeth <spareeth at gmail.com>
>> > wrote:
>> >> Hi Anna
>> >>
>> >> I am not sure if it is related, but I had similar issues with Sentinel
>> >> JP2
>> >> files.
>> >
>> > .. me too, but...:
>> >
>> >> The solution was to use the ECW library to read the JP2 files instead
>> >> of
>> >> JP2OpenJPEG/JPEG-2000 driver with OpenJPEG library.
>> >>
>> >> I had to recompile gdal to add the ECW support.
>> >
>> > I did that for some weeks, then dropped it (also because of the
>> > license situation and the packaging pain).
>> > Recent GDAL seems to be faster due to driver improvements.
>> >
>> > Anna: which GAL version do you use?
>> >
>> > Markus
>>
>> GDAL 1.11.3, released 2015/09/16, from Ubuntu 16.04 packages
>
> That's a bit oldish for JP2000.
>
>> I wonder why QGIS was able to read it without problems? I would think
>> they use GDAL too?
>
> Did you set the cache? Eg
>
> export GDAL_CACHEMAX=2000

I installed GDAL 2.1.2 and set the cachemax, but it doesn't help, it's
still slow. I might try the ECW then.

>
> Markus


More information about the grass-user mailing list