ArcPy Buffering

420
3
03-18-2021 06:25 AM
Hackepeter
New Contributor II

Hello community,

I am planning to develop a buffer program using ArcPy. I want this to succeed with the input function, as the user should specify how big the buffer value should be. The user can see these given values before from a print function.
The user can also enter all buffer values at once.
The newly created file names should then be validated.
In addition, it should be tested with each loop pass whether a data set with the same name already exists.

How should I proceed there?:smiling_face_with_smiling_eyes:

 

Tags (3)
0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor
Hackepeter
New Contributor II

that is understandable but the problem is to link the values so that this has an error-free process

0 Kudos
DanPatterson
MVP Esteemed Contributor

error-free??

will people be using it?

Interactive like people seeing the values they entered prior to performing the calculation is arcobjects stuff.

It is better to let them "fail" and provide feedback in the results.

That can be coded, things like

  • You specified a planar buffer distance but your coordinates are in decimal degrees... you forgot to tick the project if needed box
  • your buffer distance is extremely large... really?... is that an error? 

The best way to success is to provide documentation for the tool with appropriate help documentation.  Some of this can be done with establishing tool help parameters for the tool itself.  A separate pdf file is also good.


... sort of retired...
0 Kudos