CALC_ATTR_FORMULA
I'm trying to do an operation with two fields, one existing DSM and the ELEVATION which is renamed as DTM in the previous line.
I do not get any result after running this part of the script. Am I doing something wrong?
This piece of code is inserted into a dir loop and is part of a script that performs other operations without problems.
IMPORT FILENAME="%FNAME_W_DIR%" TYPE=SHAPEFILE
I do not get any result after running this part of the script. Am I doing something wrong?
This piece of code is inserted into a dir loop and is part of a script that performs other operations without problems.
IMPORT FILENAME="%FNAME_W_DIR%" TYPE=SHAPEFILE
EDIT_VECTOR FILENAME="%FNAME_W_DIR%" ATTR_TO_RENAME="ELEVATION=DTM"
CALC_ATTR_FORMULA NEW_ATTR="ALTURA" CALC_MODE="NUMERIC" FORMULA="DSM - DTM"
EXPORT_VECTOR FILENAME="%DIR%%FNAME_WO_EXT%_Int.shp" TYPE=SHAPEFILE SHAPE_TYPE=POINTS GEN_PRJ_FILE=YES GEN_3D_FEATURES=NO INC_ELEV_ATTR=NO
Comments