Skip to content
pyautark (soon)

@urban-toolkit/autk-db


@urban-toolkit/autk-db / NearConfig

Interface: NearConfig

Defined in: use-cases/spatial-join/interfaces.ts:20

Configuration for the NEAR spatial predicate.

When provided, the spatial join finds features within the specified distance rather than using geometric intersection.

Example

ts
const near: NearConfig = { distance: 1000, useCentroid: true };

Properties

distance

distance: number

Defined in: use-cases/spatial-join/interfaces.ts:22

Maximum search distance.


useCentroid?

optional useCentroid?: boolean

Defined in: use-cases/spatial-join/interfaces.ts:24

When true, uses centroid-to-centroid distance. Defaults to true.

Released under the MIT License.