gvSIG-Desktop 1.11. User manual
When you have selected the "Spatial join" option, the following window appears:
This window is practically the same as the windows in the overlay geoprocesses (Union, Difference, Intersection) with one difference.
It allows you to choose whether you want to run a 1-1 relationship (using the nearest neighbour spatial criterion) or run a 1-N relationship (using the “Intersect” or “Contained in” spatial criterion).
The choice can be made by enabling or disabling the "Use nearest geometry" check box. If when you have selected the source layer and the layer to be related, the geoprocess is launched and you have not enabled the "Use nearest geometry" check box, a window appears in which you can select the summary functions you wish to apply for each numerical attribute of the layer to be related:
The summary functions are the same as in the “Dissolve” geoprocess:
Thus, the attributes transferred to the source layer will be the result of the summary functions selected for each numerical field. If you run the geoprocess and the “Use nearest geometry” option is enabled, this window does not appear.