I have two shapefiles: the first containing a route defined by a single polygon (black line in the image below), the second containing a series of between 1000 and 4000 small polygons located somewhere inside the larger polygon (green and pink boxes).
I would like to extend each of the small polygons in the direction perpendicular to the route, so that they become long polygons that end at the edge of the outer polygon. These new polygons don't necessarily have to span the entire width of the route polygon, for example where they appear on a bend, as shown below:
I am using ArcGIS 10.4.1 for Desktop with an Advanced license. I've also got access to a Spatial Analyst license. Is what I want possible, and if so how do I do it? I could also use any freely available software other than ArcGIS if that would make this possible.
-----Update-----
Following the suggestion from @Hornbydd and @FelixIP to use Arc's Euclidean Allocation tool (available with a Spatial Analyst license), I now have what I was aiming to produce, as shown in the image below: