I have a road network composed of polygons and I would like to cut each polygon in way that it keeps the polygons from which the roads are made but the interior polygons are cut.
I would like to this somehow in an automate way, because doing it manually with the cut polygons tools from the edit toolbar it would take me a lot of time and I could miss some of the smaller polygons.
I have this:
and I want to cut it like this:
Lets say I have hundreds of this, all different sizes.
-
1I'm sorry, but I'm not quite understanding you. You have a road network of polygons???– ArchaeojpCommented Aug 23, 2016 at 12:19
-
1Can you clarify your first sentence. From that I expect to see two sets of polygons. I only see one (blue interior with red casings). What are the 'interior polygons from which the roads were made'? If you want to retain the original data and have a cut version, simply duplicate the file and edit the duplicate. Otherwise, I can't see what your problem is without clarification– MappaGnosisCommented Aug 23, 2016 at 12:19
-
Imagine a big polygon in which you make holes. The resulting layer is the road polygon. I want to slice the roads layer like in the below example roadsEx.png. The 2 sets of polygons to which I'm referring are the roads and the empty spaces.– alecsxCommented Aug 23, 2016 at 12:26
-
Please use the edit button beneath your question to revise it with a picture that shows a smaller are with what you have and what you want.– PolyGeo ♦Commented Aug 23, 2016 at 12:36
-
1So are you cutting them up because you want small polygons? You could always create a fishnet and then cut the blue polygons by the fishnet.– Dan_h_bCommented Aug 23, 2016 at 13:34
1 Answer
Not a complete solution but some ideas that might help you. You will need Advanced License for some tools. Will produce weird splits when the blocks/roads are not square but maybe you are fine with that.
1- Create a opposite of your road network. For example start with a very large polygon covering all of your roads and use Erase or Union tool with your road network and the large polygons as input to create the pink polygons in picture below.
2- Find the centroids with Feature to point. Add fields StartX, StartY, EndX, EndY to them. Calculate them: StartX/Y = centroids coordinates. Add/subtract from start XY to calculate EndXY. For example use shape lenght of the pink polygons divided by 8 and add the width of the widest roads to create lines long enough to cut the roads.
3- Use XY to line to create cutting lines with coordinates stored in the centroids. I would probably create one going down from centroid and one going right or left for each centroid.
4- Run Feature To Polygon with road polygon and cutting lines as input
-
1So i started from your idea but continued differently because the road network has various sizes polygons. After the Feature to point, I used Points to Line, and with the resulted line I used the tool from here called Split polygons with lines. The result wasn't what I wished for but the things got done, Thank you!– alecsxCommented Aug 24, 2016 at 23:16