Home > Adaptive Grid Sampling
This method of sample placement covers the site with rectangular grids and places samples at an offset within the grids.
This method is used to place samples on the map observing the following constraints:
The exact number of samples will be specified
Every location on the map has an equal probability of being selected
Sample Areas that are in close proximity to each other will be gridded together as a group
The group of sample areas will be covered with equally-sized rectangular grids
Each grid will contain no more than one sample
A sample is located only within selected areas of the map (i.e. in selected Sample Areas)
The method of placing samples proceeds as follows:
1. Sample Areas are collected into groups. A sample area is considered in the vicinity of a group if it is within the extents plus 10%.
2. The total surface area of all the selected sample areas is computed (AT).
3. The number of samples is allocated to each group based on the proportion of the group area (AG) compared to the total area (AT)
4. The assigned samples are then placed in each group as follows:
a. The area of one grid (Ag) is computed by dividing AG by the number of samples (n) allocated to the group.
b. The aspect ratio (T) is computed by dividing the width of the group by the height of the group.
c. The length of the grid side (Lg) is found by computing the square root of Ag∗T.
c. The entire group is covered by grid rectangles that are Lg wide by Lg/T tall, beginning at the minimum x, minimum y of the group extents. If the triangular pattern is selected, every 2nd row is shifted left by Lg/2. Note that VSP also supports rotating the entire grid at an angle.
d. The proportion of each grid ( Pg) that is inside of selected Sample Areas is computed (0≤Pg≤1). Grids where Pg=0 are discarded. The total number of remaining grids is N.
e. The total Pg of all grids is equal to the total number of samples allocated to the group:
n=N∑i=1Pg(i)
f. The probability that a grid will contain a sample is Pg.
g. All grids where Pg=1 are selected for sampling.
h. r is the number of grids where Pg<1. R is the sum of all Pg where Pg<1.
i. R grids are selected for sampling from the remaining r grids. The probability that a grid is selected for sampling is Pg.
j. A random horizontal offset (Ho) and vertical offset (Vo) is chosen.
k. For each grid, the offset location in the grid is checked.. If the location falls inside a selected Sample Area it is accepted, otherwise:
i. Another random horizontal offset (Hr) and vertical offset (Vr) is chosen.
ii. If the location at offset (Ho, Vr) falls inside a selected Sample Area it is accepted.
iii. If the location at offset (Hr, Vo) falls inside a selected Sample Area it is accepted.
iv. If the location at offset (Hr, Vr) falls inside a selected Sample Area it is accepted.
v. Steps i through iv are repeated until a location is accepted.
l. A sample is placed at the accepted location.