This script tool evaluates an input dataset and tells you if that dataset has a projected State Plane coordinate system or an unknown coordinate system. The model below incorporates a script tool called Check Coordinate System to use branching logic. As an alternative to writing a script tool, you can also use the Calculate Value tool to test the condition and output a Boolean. In ModelBuilder, if-then-else logic can be implemented by writing a script tool that tests some condition, then outputs two Boolean variables that describe the true and false condition and incorporating this script tool in a model. If-then-else logic can be explained as such: IF some condition is true, perform an action ELSE the condition is false, perform a different action. If-then-else logic is a simple yet powerful concept for performing different actions based on different conditions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |