01 03 IMPORTING POINTS - MDT25
1.3 Importing Points
We start from a file of point coordinates generated by any surveying software, which data collected by a total station or GNSS receiver. In our case, the file is called DEMO1.PUN, and it contains 101 points. We list below a fragment of this file, whose fields are: point number, X coordinate, Y coordinate, Z coordinate and code.
2 257.836 264.781 46.570
3 258.914 274.491 46.760
5 260.736 284.925 47.130
6 262.893 293.434 47.430
8 265.817 301.429 47.560
9 270.104 311.112 47.850
10 272.797 315.505 48.180
11 278.382 323.371 49.050
12 282.897 331.671 49.700
14 284.979 338.837 50.290
15 285.349 346.624 50.910
16 287.658 346.885 51.140 ALB S
17 292.947 347.153 51.120 ALB
18 296.339 347.070 51.120 ALB
19 296.223 353138 51.120 ALB
20 284.724 373.268 52.160 CMI
21 286.749 372.258 51.240 ALB S
22 291.682 372.405 51.120 ALB
23 295.453 368.948 51.120 ALB
24 288.523 343.006 50.600 AES S
26 290.512 339.895 50.940 AES
27 290.035 334.929 51.260 AES
28 285.462 332.820 49.960 AES
29 293.558 336.082 48.280 BT S
These points have been coded in the field, so that part of the planimetry can be drawn automatically. The relationship between these codes and the entities to be drawn is determined by the Codes Database, which can be viewed by executing the option Points > Codes > Codes Database (or Points > Operations > Codes Database). Press the Cancel button.
To import the points, choose the menu option Points > Import (or Points > Creation > Import). Select the NXYZ format within the Generic category, and set it as a Space separator. Activate the Classify Point by Levels and Draw from Codes boxes. Select scale 500.
Press OK. After validating the dialog box, choose file DEMO1.PUN within directory C:\MDT25_Projects\Tutorial01.
The points defined in the file will be represented on screen. The polylines and blocks corresponding to the point codes will also be drawn, according to the definition of the Codes Database. Check the layers that were created automatically.
To check the imported data, we will first execute the Points > List Points command (or Points > Operations > List). Using the selection system through the dialog box, we choose All, and the dialog box displays the points list with point number expression, level, X coordinate, Y coordinate, Z coordinate and code.
In the list, you can check that there are three point levels: Fill, Break and Information.