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:
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 :
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"
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 \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) :
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
-
I tried CALC_VOLUME_BETWEEN_SURFACES, but get same issue
I need asap , plz help me check
Thank you very much -
Tell me know if the content is not clear. Do I make myself perfectly clear?
-
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"
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 829 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 920 Bug Report
- 559 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 573 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website