[GRASS-user] importing Mars DEM takes too long

Anna Petrášová kratochanna at gmail.com
Sun Nov 20 13:49:05 PST 2016


On Sun, Nov 20, 2016 at 4:13 PM, Helmut Kudrnovsky <hellik at web.de> wrote:
> Markus Neteler wrote
>> On Sun, Nov 20, 2016 at 9:17 PM, Anna Petrášová <
>
>> kratochanna@
>
>> > wrote:
>>> On Sun, Nov 20, 2016 at 3:02 AM, Markus Neteler <
>
>> neteler@
>
>> > wrote:
>>>> On Nov 19, 2016 11:55 PM, "Anna Petrášová" <
>
>> kratochanna@
>
>> > wrote:
>>>>>
>>>>> On Sat, Nov 19, 2016 at 2:20 PM, Markus Neteler <
>
>> neteler@
>
>> > wrote:
>>>>> > On Sat, Nov 19, 2016 at 6:17 PM, Anna Petrášová
>>>> ...
>>>>> See above, I already tested with 2.1.2 (released in October).
>>>>
>>>> Ok. And gdal_translate is equally slow with this dataset with respect to
>>>> r.in.gdal?
>>>
>>> I haven't measured it, but it seems very slow as well. Do you think I
>>> should make a ticket for that for GDAL?
>>
>> This would be good, to shed some light here.
>>
>> If needed, here a Mars DEM for the ticket to simplify things for them:
>> http://www.uahirise.org/dtm/dtm.php?ID=ESP_020673_1750
>
> just tested one of the smaller ones:
>
> ESP_020673_1750_RED_C_01_ORTHO.JP2
>
> r.import input=D:\dl\mars\ESP_020673_1750_RED_C_01_ORTHO.JP2
> output=ESP_020673_1750_RED_C_01_ORTHO
> WARNING: Datum <unknown> not recognised by GRASS and no parameters found
> WARNING: Datum <unknown> not recognised by GRASS and no parameters found
> WARNING: Datum <unknown> not recognised by GRASS and no parameters found
> Proceeding with import of 1 raster bands...
> Importing raster map <ESP_020673_1750_RED_C_01_ORTHO>...
> (Sun Nov 20 22:09:07 2016) Command finished (11 sec)
>
> by
>
> System Info
> GRASS version: 7.3.svn
> GRASS SVN revision: r69851
> Build date: 2016-11-20
> Build platform: x86_64-w64-mingw32
> GDAL: 2.1.2
> PROJ.4: 4.9.3
> GEOS: 3.5.0
> SQLite: 3.14.1
> Python: 2.7.5
> wxPython: 2.8.12.1
> Platform: Windows-8-6.2.9200 (OSGeo4W)
>
> no issues (slow or other) here.

11 seconds can be pretty long depending on the size of the file. Try
to convert it to tif and load again, it will be probably much faster.

>
>
>
> -----
> best regards
> Helmut
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/importing-Mars-DEM-takes-too-long-tp5296530p5296680.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list