Home
 

Minimum distance

Inputs 2 Working maps
Output Continuous data

Display:

Description:
This module enables the minimum distances to be calculated (as the crow flies) between entities in the Target map and entities in the Operator map. For example, the distance of each locality of a region from a road going through it. This distance is given in the unit used for the working map.

The distance is calculated in terms of the shortest distance between the centroid of the entity and the road. However, if the Compute from centroids box has not been checked, it is the outline of the entity that is used.

You can switch the two working maps round by moving them vertically, and then pressing the Apply button or OK.

Script:

2      module untyped_list ""
3        mod_type integer "103"
3        mod_subtype integer "507"
3        mod_name string "Distance min"
3        mod_dads integer_list ""
4          ? integer "3"
4          ? integer "4"
3        take_centroid boolean "T"


Samples