1

I have a ModelBuilder to work as a tool. The workflow is that buffer 30 meters in the rivers and then intersect with classification feature class (vegetation and production area) then the result is selected (only the production area) and is converted to "feature to line" and then "feature to point" but when the feature class resulted from intersection is empty I find a error and the tool does't run completly. My wish is to run the tool to delivery even a empty feature class (point).

0

Add a check to determine if the feature class is empty; if it isn't empty, run your conversions (I'd just go for centroids rather than going from poly to line to point), and if it is empty, skip it or add a message/log file.

  • 1
    GetCount()--the link actually shows how to use it in MB--though you'll need to create a 2nd branch that creates an empty feature class. – Paul Dec 9 '15 at 6:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.