Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm looking to create a boundary around this shapefile of street blocks to have show the city limits in QGIS.

enter image description here

I tried this solution, (Settings > Snapping Options and enabling the "Avoid Int." checkbox, then adding a feature to the polygon via the editor tool) but couldn't get it to work. It is supposed to snap to the outermost parts of the polygon if I interpret it correctly...

Ideally, the solution would create a polygon that removes the spaces but keeps the outermost parts of the polygon. I believe there is a similar tool in ArcGIS called the Trace Tool if that helps. I'm hoping to get around tracing these by hand via the Snapping Tool.

Thanks everyone,

Zach

share|improve this question
    
Zach, I think you misinterpreted the 'avoid intersection' feature (as per my blog post you mention.) It will not do what you want here. In this case, using that tool, you would have to trace along the outside manually, and then it would just fill the inner 'white' spaces, 'avoiding' the yellow areas - not what you want. – Darren Cope 8 mins ago –  Darren Cope Sep 4 '13 at 0:27
    
Thanks for the clarification. –  Zach Sep 4 '13 at 16:13
add comment

1 Answer 1

up vote 0 down vote accepted

I'm not aware of a tool that does this operation specifically. What I've always done is a buffer/negative buffer. Measure the widest of your road allowances (white areas you want to fill in). Then buffer the layer by just over half of that distance (e.g. if road allowance is 20m, buffer by 11m). Then do a negative buffer on that result by the same amount. It's not ideal in that you end up with 'rounded' closures at the ends of the road allowances. See example below.

The original features, with approx 11m gaps: The original image - with approx 11 m 'gaps'

Buffered by 6 meters: Buffered by 6 m

The final result: The final result - notice the rounded 'nubs'

If that's not good enough for you, take a look at "alpha shapes", or consider going to a raster model and using something like a 'grow' command (GRASS' r.grow command can be used in QGIS via Sextante/Processing).

share|improve this answer
    
Thanks for each of the different solutions provided. –  Zach Sep 4 '13 at 18:36
    
@Zach. You're welcome. Hopefully one of the solutions worked for you. If so, consider accepting the answer, or asking more questions to follow up. –  Darren Cope Sep 5 '13 at 14:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.