Is there a way that I can limit flow direction to D4 instead of having it use D8?

Preferably looking for a way to do it within ArcMap.

  • 1
    The question you are asked is very short but it's good question if you explain in more detailed.For example what is D4,D8. Did you try to write a script about this?
    – BBG_GIS
    Nov 21, 2017 at 20:51
  • Can be done but 4 remaining are going to be diagonal. Set some cells to nodata, e.g. white ones on a chess board.
    – FelixIP
    Nov 21, 2017 at 22:44
  • @wetland, if you look up any flow direction tool, it goes over what D8 is: pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/…
    – Brandon G.
    Nov 22, 2017 at 19:00
  • For D4, I would just like to limit the direction options to straight north, south, east, and west.
    – Brandon G.
    Nov 22, 2017 at 19:01
  • I've just come across this an need to do something similar. Would it be possible to post the workflow for this please? Thanks
    – Josh W
    Jun 1, 2022 at 14:57

1 Answer 1


Let me know if this is what you expecting to see:

enter image description here

I'll post workflow.

  • That is what I was looking for! We decided to stick to D8 and just work around it. But it may be worth posting if other people come to this question.
    – Brandon G.
    Feb 20, 2018 at 16:58

Your Answer

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

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