I need to a spatial join using arcgis.features.analysis join_featuers. Below is the basic code:
target_layer = FeatureLayer(target_layer_url)
join_layer = FeatureLayer(join_layer_url)
join_layer.filter = filter
result_layer = join_features(target_layer, join_layer, spatial_relationship='intersects', spatial_relationship_distance = 0.5, spatial_relationship_distance_units = 'Meters', join_operation='JoinOneToMany', join_type='INNER')
I need to do this on specific gdbVersion of the feature layers.
How to set the gdbVersion of the target_layer and join_layer?