Convert lines to areas
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Q: Is there a way to construct a vector polygon map from closed line rings?
A: Yes, to convert a lines map into an area map, do:
Requirement: the line rings must be closed.
- run to convert from line type to boundary type
- run to add missing centroids to closed boundaries
v.type input=map_l output=map_b type=line,boundary v.centroids input=map_b output=map_polygons