GeoTools Logo

Lesson 7

Prev: Lesson 6

Table of Contents

Next : Lesson 8


This tutorial covers some of the GeoTools  Conversion tools

1. Open the drawing named lesson7.dwg which is located in your GeoTools Tutorials folder. This folder is located in the folder where you have installed GeoTools.

2. You should see a drawing (see Image 9-4) of a small layout of road under development represented by 3D Polyline.


Image 9-4


Converting spline to polyline

1. Click on menu GeoTools => Conversion => Convert spline to polyline or type GT_SPL2PL at the command prompt.

2. This will pop-up the dialog box as shown below in (Image 9-5)

Image 9-5


3. Choose the option Join Fit points and click on OK button

4. This will pop-up the standard selection dialog box as shown below in (Image 9-6)

Image 9-6


5. Now click on the button Scan selected objects and select the spline as shown below in (Image 9-10)

Image 9-10


 
6. Then click on Apply button. This will pop-up the dialog box as shown below in (Image 9-7)

Image 9-7


7. Choose the options as shown in above (Image 9-7) and click on OK button. This will convert all the Spline to 3D Polyline as shown below in (Image 9-8)

Image 9-8



 

After learning how to convert Spline to Polyline we will see how to scale Z values in the Polyline

 

Scaling Z values of  Polyline

1. Click on menu GeoTools => Conversion => Scale Z Values or type GT_SCALE_Z at the command prompt.

2. This will pop-up the dialog box as shown below in (Image 9-9)

Image 9-9

3. Type the Z conversion factor as 2 and click on OK button. This will pop-up the Standard Selection dialog box as shown below in (Image 9-11)

Image 9-11

4. Click on the button Scan selected objects and select the polyline as shown in the (Image 9-12). 

Note: The current Z values for the Polyline shown in the Image 9-12 is 436.58 we will make it double

Image 9-12

5. After selecting the Polyline as shown in the above (Image 9-12) click on Apply button. This will scale the Z value to twice what it was before

6. You can type the command LIST at command prompt and select the same polyline to find out the scaled Z values as shown in the below in (Image 9-13)

Image 9-13

 


Prev: Lesson 6

Table of Contents

Next : Lesson 8