Re: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-14 Thread Markus Metz
Moskovitz, Bob wrote: I filed this ticket: http://trac.osgeo.org/grass/ticket/397. ...should I close this ticket since it works for me? No, because the fix is not yet backported to 6.4. This was a bug in the vector libs when updating topology and not specific to removing small areas. Is

Re: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-10 Thread Markus Neteler
On Thu, Apr 9, 2009 at 11:01 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 09/04/09 10:47, Markus Neteler wrote: On Thu, Apr 9, 2009 at 10:38 AM, Hamish hamis...@yahoo.com wrote: Hamish wrote: I've got a grass vector map containing some areas with holes. A nice example is

Re: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-10 Thread Moritz Lennert
On 10/04/09 11:56, Markus Neteler wrote: On Thu, Apr 9, 2009 at 11:01 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 09/04/09 10:47, Markus Neteler wrote: On Thu, Apr 9, 2009 at 10:38 AM, Hamish hamis...@yahoo.com wrote: Hamish wrote: I've got a grass vector map containing some

Re: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-10 Thread Hamish
Markus wrote: So please consider following patch: svn diff vector/v.out.ogr Index: vector/v.out.ogr/main.c === --- vector/v.out.ogr/main.c     (revision 36267) +++ vector/v.out.ogr/main.c     (working copy) @@ -214,6

Re: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-10 Thread Markus Neteler
On Fri, Apr 10, 2009 at 1:44 PM, Hamish hamis...@yahoo.com wrote: Markus wrote: So please consider following patch: svn diff vector/v.out.ogr ... perhaps use G_message() so that the user can turn if off if the message is annoying in a loop? the default does the unexpected, so some

Re: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-09 Thread Moritz Lennert
On 09/04/09 11:56, Markus Metz wrote: Markus Neteler wrote: On Thu, Apr 9, 2009 at 10:38 AM, Hamish hamis...@yahoo.com wrote: Markus Metz: Maybe use v.out.ogr -c? yup, that's it. I'd focused on the shapefile example in the man page and totally missed the blinking red letters

Re: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-09 Thread Micha Silver
Markus Metz wrote: Markus Neteler wrote: On Thu, Apr 9, 2009 at 10:38 AM, Hamish hamis...@yahoo.com wrote: Markus Metz: Maybe use v.out.ogr -c? yup, that's it. I'd focused on the shapefile example in the man page and totally missed the blinking red letters at the top:

Re: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-09 Thread Markus Metz
Micha Silver wrote: Markus Metz wrote: My question is if the behaviour of v.out.ogr could be changed for grass7 to export only features with categories by default if this is the most common situation, e.g. invert the meaning of the -c flag. So what would then happen if you export a vector

RE: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-09 Thread Moskovitz, Bob
Hello Hamish, I had a possibly related problem with a vector that went through v.clean. I filed this ticket: http://trac.osgeo.org/grass/ticket/397. 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