5.5 Creating Lines to Connect Latitude/Longitude Pairs

The Create lat/lon line transform operation creates a line connecting two pairs of latitude and longitude coordinates on a map layer.

To perform this transformation analysis, ensure that a dataset comprising two pairs of latitude and longitude coordinates (one represents the starting points and the other, ending points) in each row is added in the Active Project page. The Create lat/lon line analysis takes the column names of these two pairs of latitude and longitude coordinates as input and generates the line geometry connecting the starting and ending points.
Perform the following steps to run the Create lat/lon line spatial analysis.
  1. Click Menu Icon against the map layer whose coordinates needs to be filtered in the Layers tab.
  2. Select Spatial Analysis.
    The Spatial Analysis Operations window opens as shown in Figure 5-1.
  3. Click the Transform tab and select Create lat/lon line.
    Create lat/lon line dialog box opens as shown:

    Figure 5-9 Configuring Lat/Lon Line Analysis

    Description of Figure 5-9 follows
    Description of "Figure 5-9 Configuring Lat/Lon Line Analysis"
  4. Optionally, modify the resulting datasets name in Results dataset.
  5. Select the Start latitude column.
  6. Select the Start longitude column.
  7. Select the End latitude column.
  8. Select the End longitude column.
  9. Optionally, switch ON the Use Densify toggle.
    This factor takes into consideration that the earth is spherical and accordingly projects the connecting line between the two sets of coordinates on the map layer. It is very useful for large distances between two coordinates and it is recommended that you use this option.
  10. Optionally, modify the Distance between densified points (in meters) (only if you have included the Use Densify option in the preceding step).
  11. Click Run.
    The Analysis results are listed under Analyses in the Data elements panel on the left pane of the Active Project page.
  12. Drag and drop the following layers on the map - starting points, ending points, and finally the GEOMETRY (that connects the starting and ending points) analysis on the map view.
    The following figure shows an example of the Create lat/lon line spatial analysis:

    Figure 5-10 Visualizing Latitude/Longitude Line Analysis

    Description of Figure 5-10 follows
    Description of "Figure 5-10 Visualizing Latitude/Longitude Line Analysis"