When extracting ground it is useful that it can be used directrly from Cad based software (2 and a half D) that use points as insertion data. So, the output would be a txt or csv file with the points coordinates to the local system. That is code, ...