so this sounds simple and if i use Near in Pro it is but i want to create a AGOL python notebook to run once a day to loop over any point features created that day and get the closest XY to a feature service of polylines (50k features)
i tried following the example here Part 3 - Spatial operations on geometries | ArcGIS API for Python
but even if i just manually populate the geomenty json for both the point and the polyline it returns None
Solved! Go to Solution.
thanks @DavidPike i changed the spatial reference when querying my layers and it works, even gives me the correct distance