ERROR: No layers matching when calculating cut/fill volume

Hi, I am newbie, can you help me check ?
I want to run script to calculate CUT/FILL volume
This is my gms script content:
GLOBAL_MAPPER_SCRIPT VERSION=1.00
UNLOAD_ALL
IMPORT FILENAME="D:\Drone\Small\quarry_dsm.tif" \
TYPE=GEOTIFF ANTI_ALIAS=NO AUTO_CONTRAST=NO CLIP_COLLAR=AUTO TEXTURE_MAP=NO
CALC_VOLUMES FILENAME="D:\Drone\Small\quarry_dsm.dxf" ADD_VOLUME_ATTRS=YES OUTPUT_FILENAME="D:\Drone\Small\rs.txt"

This is my dxf file: https://drive.google.com/file/d/1e_XLIzPsxhE8FY61crTeUur5C2wCwH7A/view?usp=sharing
                 tif file: https://drive.google.com/file/d/1Ot4CiduKCOFYCu3I_iTARhcNX5tW0D_l/view?usp=sharing

But i get this : 
Importing file <D:\Drone\Small\quarry_dsm.tif>...
WARNING: Unable to automatically clip collar bounds for D:\Drone\Small\quarry_dsm.tif
Calculating Volumes...
ERROR: No layers matching <D:\Drone\Small\quarry_dsm.dxf> for CALC_VOLUMES
Be sure to provide the full path and filename or the description for the loaded file to use, or * for all files
Is my dxf file wrong ? 
How can i calculate cut/fill volume from an area (3 polygons like this) : 
[686788.87343, 3885749] , [686804.680, 3885774.076], [686827.8756, 3885760.199]

Answers

  • trong_tdtrong_td Posts: 13
    I tried CALC_VOLUME_BETWEEN_SURFACES, but get same issue
    I need asap , plz help me check
    Thank you very much 
  • trong_tdtrong_td Posts: 13
    Tell me know if the content is not clear.  Do I make myself perfectly clear?
  • trong_tdtrong_td Posts: 13
    I saw the problem, I need import dxf file before using  CALC_VOLUMES function
    IMPORT FILENAME="D:\Drone\Small\p.dxf" TYPE="DXF" PROJ_NAME="ORTHO_WGS84" ELEV_UNITS="METERS" 


Sign In or Register to comment.