A computer-implemented method of selecting locations in a field for treatment sampling, comprising: receiving, by a processor , input data including: a number T of treatments applied to a field, a number L of treatment locations for each treatment, a list of treatment polygons within the field, and a map for the field indicating one or more values of a set of design parameters corresponding to environment factors affecting treatments to the field for each of a plurality of locations in the field; determining a number of categories for each of the set of design parameters; computing, by the processor , an environment class index for each of a group of locations in the list of treatment polygons based on the corresponding one or more values of the set of design parameters, computing the environment class index comprising identifying a category for each of the set of design parameters from the corresponding number of categories based on one or more values of the set of design parameters for the location in the map; distributing the list of treatment polygons to the T treatments based on the computed environment class indices; selecting, for each of the T of treatments, L treatment locations from the group of locations in the treatment polygons distributed to the treatment; causing display of information regarding the selected treatment locations; generating and sending one or more scripts to an application controller to control an operating parameter of an agricultural vehicle or implement for treatment sampling at the selected treatment locations. receiving, by a processor , input data including: a number T of treatments applied to a field, a number L of treatment locations for each treatment, a list of treatment polygons within the field, and a map for the field indicating one or more values of a set of design parameters corresponding to environment factors affecting treatments to the field for each of a plurality of locations in the field; a number T of treatments applied to a field, a number L of treatment locations for each treatment, a list of treatment polygons within the field, and a map for the field indicating one or more values of a set of design parameters corresponding to environment factors affecting treatments to the field for each of a plurality of locations in the field; determining a number of categories for each of the set of design parameters; computing, by the processor , an environment class index for each of a group of locations in the list of treatment polygons based on the corresponding one or more values of the set of design parameters, computing the environment class index comprising identifying a category for each of the set of design parameters from the corresponding number of categories based on one or more values of the set of design parameters for the location in the map; distributing the list of treatment polygons to the T treatments based on the computed environment class indices; selecting, for each of the T of treatments, L treatment locations from the group of locations in the treatment polygons distributed to the treatment; causing display of information regarding the selected treatment locations; generating and sending one or more scripts to an application controller to control an operating parameter of an agricultural vehicle or implement for treatment sampling at the selected treatment locations. <EOS>