I have 20,000 polylines in a .gdb that represent about 5,000 building footprints. Some of the building footprints have pretty substantial gaps (image below). I would like to snap the polylines closed into polygons so that I can extrude the buildings.

Can this be done in GRASS?

building footprints

I am hoping that there is something in the open source community with a "Clean" or some such functionality.


1 Answer 1


In GRASS GIS, you can use v.edit's snap tool.

snap: Snap vector features in given threshold

There are options to snap to a node or a vertex.


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.