Forum

Author Topic: Please optimize geotif export  (Read 4871 times)

andrekje

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Please optimize geotif export
« on: December 19, 2015, 02:00:41 AM »
I can export geotif of huge/hires areas as tiles just fine.
- exporting to one .tif file file fails - it's "never" enough RAM for that.
please consider writing a tiled geotif - processing it as tiles, or export to tiles, then assemble to one big tif (in case that reduces the needed RAM)

I have 64GB RAM on Linux, with 96GB SSD Swap (which never gets close to filled anyway)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Please optimize geotif export
« Reply #1 on: December 19, 2015, 08:51:09 AM »
Hello andrekje,

In the version 1.2 you can use BigTIFF export option.
Best regards,
Alexey Pasumansky,
Agisoft LLC

andrekje

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Please optimize geotif export
« Reply #2 on: December 19, 2015, 06:37:22 PM »
Yes, and many jobs still fail when exporting to one bigtif , while the same aea can be exported to tiled tifs regardless type.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Please optimize geotif export
« Reply #3 on: December 19, 2015, 09:13:16 PM »
Hello andrekje,

Can you then send the log file related to the export operation and the screenshot of the export orthomosaic dialog with the parameters used?
Best regards,
Alexey Pasumansky,
Agisoft LLC

andrekje

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Please optimize geotif export
« Reply #4 on: December 19, 2015, 10:06:50 PM »
where do I find the log ?  ~/.agisoft  had no files
I've taken Christmas vacation, but reproduced on a bit lower speced computer.
« Last Edit: December 19, 2015, 10:11:00 PM by andrekje »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Please optimize geotif export
« Reply #5 on: December 19, 2015, 10:30:13 PM »
Hello andrekje,

Log can be copied from the Console pane if you haven't redirected it to the text file using the option in the Preferences window.
Best regards,
Alexey Pasumansky,
Agisoft LLC

andrekje

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Please optimize geotif export
« Reply #6 on: December 19, 2015, 11:37:31 PM »
I closed Photoscan, so I had to reproduce again:
The log is very short; , so I added comment-lines starting with //

2015-12-19 21:02:18 Loading project...
2015-12-19 21:02:20 loaded project in 1.91816 sec
2015-12-19 21:02:20 Finished processing in 1.9186 sec (exit code 1)
2015-12-19 21:03:11 Exporting orthomosaic...
2015-12-19 21:03:11 generating 1 x 1 tiles
// at this point, RAM is filled within 5sec or so  , then swap starts to increase slowly until used swap is about same amount of GB that RAM. (there is much more SSD  SWAP available )- the total memory (+swap) use seems constant after about ~3 minutes.  .. then we wait ... the progress bar does not indicate any progress ultil the end ..
2015-12-19 21:28:11 Finished processing in 1499.6 sec (exit code 0)
// well, "finished" here means a small notification window with exclamation mark saying "Not enought memory" [OK]
2015-12-19 21:28:11 Error: std::bad_alloc

And there is no new file in destination folder.