Forum

Author Topic: error when batch export DEM  (Read 2737 times)

xabierr

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
error when batch export DEM
« on: April 27, 2015, 09:53:53 AM »
I am running into a memory error while trying to batch export DEMs with 1.1.5 (2034) 64 bits. However, export works perfectly if doing it manually. See console below:   

Agisoft PhotoScan Version: 1.1.5 build 2034 (64 bit)
OpenGL Vendor: Microsoft Corporation
OpenGL Renderer: GDI Generic
OpenGL Version: 1.1.0
Maximum Texture Size: 1024
Quad Buffered Stereo: not enabled
ARB_vertex_buffer_object: not supported
ARB_texture_non_power_of_two: not supported
Loading project...
loaded project in 527.146 sec
Finished processing in 527.153 sec (exit code 1)
initializing renderer... tessellating mesh... done (4755621 -> 4817139 faces)
done in 7.189 sec
Raster size: 1701736x2001742928
Estimating mosaic occupancy...
Error: bad allocation
Finished processing in 7.745 sec (exit code 0)
Finished processing in 0 sec (exit code 1)
initializing renderer... tessellating mesh... done (2698683 -> 2763448 faces)
done in 3.316 sec
Raster size: 8340x5543
Estimating mosaic occupancy...
1 blocks used from 1x1 (100%)
Rendering mosaic...
selected 2763448 faces
Finished processing in 62.967 sec (exit code 1)
initializing renderer... tessellating mesh... done (4755621 -> 4817139 faces)
done in 8.703 sec
Raster size: 1701736x2001742928

cheers,

Javier

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14927
    • View Profile
Re: error when batch export DEM
« Reply #1 on: April 27, 2015, 10:42:18 AM »
Hello Javier,

Raster size in the bottom line of the log indicates that the export resoultion is not defined properly.
Best regards,
Alexey Pasumansky,
Agisoft LLC

xabierr

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: error when batch export DEM
« Reply #2 on: April 28, 2015, 01:30:37 AM »
Using 0.01 m as raster resolution (see attached). There are no issues when running chunk by chunk manually. Error is just when using the batch tool. Tried splitting into blocks as well but did not work.

xabierr

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: error when batch export DEM
« Reply #3 on: April 28, 2015, 07:42:08 AM »
Solved the issue! My first chunk was not referenced!!