ET GeoWizards Toolbox
Allocate
(Go to the main page of the
function)
Creates a polyline feature class representing the shortest distance between centers (point dataset) and Destinations (Point, Polyline or Polygon datasets). The Destinations are allocated to the closest Center.
Command line syntax
ET_GPAllocate <facilities_dataset>
{facility_name_field} {facility_type_field}
<customers_dataset> {customer_name_field} <out_links_feature_class> <out_facilities_feature_class>
<number_facilities> {Cutoff_distance}
Parameters
Expression | Explanation |
---|---|
<centers_dataset> | A Point feature class or feature layer - the candidate facilities. |
{facility_name_field} | A String representing a field name - the values in this field are used to identify the facilities. |
{facility_type_field} | A String representing a field name - the values in this field are used to identify the facilities. |
<customers_dataset> | A Point feature class or feature layer - the Customers (demand points). |
{customer_name_field} | A String representing a field name - the values in this field are used to identify the customers. |
<out_links_feature_class> | A String - the full name of the output link feature class (A feature class with the same full name should not exist) |
<out_facilities_feature_class> | A String - the full name of the output selected facilities feature class (A feature class with the same full name should not exist) |
<number_facilities> | An integer - the number of facilities to be selected |
{Cutoff_distance} | A number - the maximum distance between a Facility and a Customer to be used. |
Scripting syntax
EET_GPAllocate (facilities_dataset, facility_name_field, facility_type_field, customers_dataset, customer_name_field, out_links_feature_class, out_facilities_feature_class, number_facilities, Cutoff_distance
See the explanations above:
<> - required parameter
{} - optional parameter