1

Today I read a GIS SE user opinion in Using Geometry.distance_to() in ArcGIS API for Python that:

it appears that ArcGIS API for Python uses ArcPy internally

This surprised me because I do not think that this is the case.

Does the ArcGIS API for Python use ArcPy internally or are they two independent Python libraries that nevertheless may call some common underlying libraries?

asked Oct 14, 2019 at 21:07
0

1 Answer 1

5

Yes the ArcGIS API for Python can use the arcpy package if it is available in the current environment. arcpy is not required, but enables some additional functionality if available.

For example:

The distance_to method referred to in the question you linked to requires either arcpy or shapely.

answered Oct 15, 2019 at 3:30

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.