2

I am trying to use a shapefile with polygons and I am trying to align it to a road network, that the polygons align themselves to surrounding streets. Is there a way to automatize alignments between nodes of the polygons and polylines or sometime similar?

  • You have tags for QGIS and ArcMap but which would you prefer to use to try and do this? – PolyGeo Aug 28 '15 at 21:34
  • 1
    Can you post a picture of a typical polygon/line situation please? – Emil Brundage Aug 28 '15 at 21:48
1

In ArcGIS...

Let's say you have polygons and lines such as in the example below:

enter image description here

Perform a feature to line, with the polygons and the lines as your input. This slices the polygons by the lines.

enter image description here

Select all the features on one side of the line.

enter image description here

Export selected features.

enter image description here

Turn off all layers except the new layer.

enter image description here

Select the 'slivers'.

enter image description here

Perform an Eliminate.

enter image description here

Now do the same for the other side of the line and merge your results, along with any other polygons from your original polygon feature class that weren't included in the geoprocessing.

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.