Proximity Query

Instructions for Use

Proximity query is a search for adjacent objects in another dataset based on a specified search range for each element in a given dataset, and returns them to the resulting dataset (FeatureRDD).

Parameter Description

Parameter Name Default Value Parameter Definition Parameter Type
The queried dataset   The queried dataset supports point, line, and surface datasets as the queried dataset FeatureRDD
Query Dataset   Query Dataset supports point, line, and surface datasets, and the coordinate system of the query dataset must be consistent with the coordinate system of the queried dataset FeatureRDD
Number of adjacent result objects   The maximum number of result objects selected within the specified query distance Int
Proximity Query Distance   Specify the distance of proximity queries, such as 100m JavaDistance
Whether to preserve geometric objects true Whether to preserve the geometric objects of the result object. If the geometric objects are not preserved, the dataset of the attribute table will be obtained. The default is true, which means to save the geometric objects Boolean
Whether to keep the attribute fields true Whether to keep the attribute fields of the result object, the default is true, which means to keep all the attribute field values of the result object Boolean
Preserve the field of query object ID   In the result dataset, preserve the field of query object ID. If a result object is searched by multiple query objects, preserve the IDs of multiple objects, and separate multiple object IDs with ',' String
Preserve Proximity Fields   In the result dataset, preserve proximity fields. If a result object is searched for by multiple query objects, preserve the closest distance to multiple objects, and separate the results with "," String
Whether to convert the result distance value to meter storage   Whether to convert the adjacent distance preserved in the result dataset to a length in meters. If true, the distance will be saved as the distance from the Earth's surface, otherwise the stored distance will be in the same coordinate system unit as the dataset. Only the geographic coordinate system is valid Boolean