1

I have a folder containing large number of shapefiles that I would like to snap to a surrounding buffer.

I need to snap UK district boundaries to 500m buffer around coastline. I have produced 200m buffer inside UK coastline to reduce number of features and their vertices that I try to snap. I also simplified polygons a bit. I've been running Snap Tool for 24h and it is still running.

I was thinking to split my feature class with districts into separate shapefiles for each polygon (total (753 polygons) and then snap them (to edges, distance 1000m) one by one as the Snap Tool work just fine with single polygons. I wanted to use iterator and the Snap tool in ModelBuilder, however it does not work. I am splitting my feature class in separate shapefiles and saving them in Shapefile folder (and that works fine). Next I would like to take each shapefile snap it to Buffer and then merge all snapped files back together.

I do not have much experience with iterators and I am having trouble to get correct output

Is there any other way to have coastal districts snapped to 500m buffer?

enter image description here

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Apr 14, 2015 at 16:19
2
  • 1
    How did you set the parameters of the snap tool? I.E. Features, Type, Distance? Commented Apr 14, 2015 at 17:07
  • @Hornbydd I think your comment would be fine as an answer. Commented Dec 18, 2016 at 3:34

1 Answer 1

3

I think the logic of this model is flawed; everything in a model with an iterator is executed, this includes anything feeding into the iterator. So for example if your split tool is generating 100 shapefiles in the output workspace then the iterator will execute 100 times which will cause the split tool to execute 100 times which is clearly inefficient. I would recommend running the split tool independently or if you must have it in a model at least put the iterator and its subsequent snap tool in a sub-model.

answered Dec 18, 2016 at 12:04

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.