Does GeoAccessor or GeoSeriesAccessor have join nearest?

567
2
12-06-2021 08:46 AM
TylerT
by
Occasional Contributor III

I have two spatially enabled data frames and am looking to join 1:1 inner via nearest feature, then result in new data frame.

If GeoAccessor or GeoSeriesAccessor do not support, are there any suggested workarounds?  I would prefer not to kick out any layers and just stay in memory.  Maybe something with shapely.  Any ideas would be appreciated?

Thank you,

Tyler

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

Features JoinGeoaccessor join

Features Find Nearest

You may have to search around by keyword in the documentation to find a match if those aren't appropriate


... sort of retired...
0 Kudos
TylerT
by
Occasional Contributor III

Yeah, I've been all over the documentation as first resort, but of course, I might be missing something.

Features JoinGeoaccessor join

Geoaccessor join would be ideal, however its operations are limited to intersectswithin, and contains.  Missing is closest and dozens of other operations.

Features Find Nearest

It is not clear that arcgis.features.analysis.find_nearest(analysis_layernear_layer,.... accepts SEDF as input/output.  Would need to see example of exactly how to do this.

Thank you,

Tyler

0 Kudos