Select to view content in your preferred language

Feature Layer set gdbVersion when join_features

383
1
09-30-2023 08:26 AM
Labels (1)
QingXu
by
New Contributor II

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?

 

   Thanks

0 Kudos
1 Reply
QingXu
by
New Contributor II

Can anyone help on this issue?

 

 Thanks

0 Kudos