Joins two spatially enabled feature collections based on their relative spatial locations.

A spatial relationship match joins the properties of the input with the properties of the target features. Therefore, the result features of every match get the geometry from the input features and the properties of both. So that a spatial join represents an inner join between two feature collections.

Geospatial Feature Collections located in Dessau

Contains

Joins the input features from ‚left‘ with the matching target features from ‚right‘ for all input features containing the target features. Therefore, the target geometry must be completely inside the input geometry. So that no points of the target geometry lie in the input’s exterior geometry, and at least one point of the interior of the target geometry lies in the input’s interior geometry.

Building containing one location

Crosses

Joins the input features from ‚left‘ with the matching target features from ‚right‘ for all input features covering the target features. Therefore, no point of the target geometry must be outside of the input geometry.

Roads crossing at the intersection of Friedhofstraße and Gliwicer Straße

Intersects

Joins the input features from ‚left‘ with the matching target features from ‚right‘ for all input features intersecting the target features. Therefore, the input and target geometry must have any point in common.

Locations intersecting roads

Overlaps

Joins the input features from ‚left‘ with the matching target features from ‚right‘ for all input features overlapping the target features. Therefore, the input and target geometry must have the same dimension and at least one point not shared by the other. So that the intersection of their interiors results in a geometry, having the same dimension.

Buildings overlapping a specified area of interest

Touches

Joins the input features from ‚left‘ with the matching target features from ‚right‘ for all input features touching the target features. Therefore, the input and target geometry must have at least one point in common and all common points lie on at least one boundary. So that the input and target interior do not share any point in common.

One location touching four road segments

Within

Joins the input features from ‚left‘ with the matching target features from ‚right‘ for all target features containing the input features. Therefore, the input geometry must be completely inside the target geometry. So that no points of the input geometry lie in the target’s exterior geometry, and at least one point of the interior of the input geometry lies in the target’s interior geometry.

Buildings being within a specified area of interest

References:

[1] geojoins API @RapidAPI
Joins two spatially enabled feature collections based on their relative spatial locations.

Terms of Use

We designed the geospatial intelligence API services for research and analysis of geospatial knowledge worldwide. The geospatial datasets and any result being generated by these API services are available for unrestricted use for academic, commercial, or governmental use of any kind.

You may redistribute, republish, and mirror the geospatial results in any form.