I've got a grass vector map containing some areas with holes. It's a
polygon of a river containing some islands; it looks nice in grass,
centroids with cat in the wet parts, no centroids in the islands.
There is no DB table.
after exporting with 'v.out.ogr type=area' to a shapefile, when I load
the shp file into QGIS 0.8.1 I see that all the holes have been filled in.
The boundaries are still intact. using qgis's editing tools I can cut
them out, but it takes a bit of manual labour to fix them all.
I've got a grass vector map containing some areas with holes. It's a
polygon of a river containing some islands; it looks nice in grass,
centroids with cat in the wet parts, no centroids in the islands.
There is no DB table.
after exporting with 'v.out.ogr type=area' to a shapefile, when I load
the shp file into QGIS 0.8.1 I see that all the holes have been filled in.
The boundaries are still intact. using qgis's editing tools I can cut
them out, but it takes a bit of manual labour to fix them all.
what am I doing wrong?
Maybe use v.out.ogr -c?
I did a quick test and got the same result like you, islands within rivers are filled without -c. Exporting only features with a category fixed it for me, holes stay holes and are not filled.
I noticed that layer 0 had the filled holes while layer 1 was the good polygons. v.clean seemed to merge those two layers. With Markus M's fix, I solved my problem. Which reminds me...should I close this ticket since it works for me?
Bob
Bob Moskovitz
Research Analyst I
Seismic Hazard Evaluation Project
California Geological Survey http://gmw.consrv.ca.gov/shmp
CONFIDENTIALITY NOTICE: This communication is intended only for the use of the individual or entity to which it is addressed. This message contains information from the State of California, California Geological Survey, which may be privileged, confidential and exempt from disclosure under applicable law, including the Electronic Communications Privacy Act. If the reader of this communication is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.
-----Original Message-----
From: grass-user-bounces@lists.osgeo.org
[mailto:grass-user-bounces@lists.osgeo.org]On Behalf Of Hamish
Sent: Thursday, April 09, 2009 12:02 AM
To: grass list
Subject: [GRASS-user] exporting areas to shapefiles without filling
holes
Hi,
I've got a grass vector map containing some areas with holes. It's a
polygon of a river containing some islands; it looks nice in grass,
centroids with cat in the wet parts, no centroids in the islands.
There is no DB table.
after exporting with 'v.out.ogr type=area' to a shapefile, when I load
the shp file into QGIS 0.8.1 I see that all the holes have
been filled in.
The boundaries are still intact. using qgis's editing tools I can cut
them out, but it takes a bit of manual labour to fix them all.