[GRASSLIST:4415] Re: v.out.ogr topology?

Hamish hamish_nospam at yahoo.com
Sun Sep 26 20:23:59 EDT 2004

> > [5.7]
> >
> > When exporting areas (with labeled centroids) from 5.7, then linking
> > the shape file back in with v.external, I see that what were holes
> > in the area are now new areas with their own centroids.
> >
> > What's the correct way to export areas with holes into a shape file,
> > while keeping the holes as holes?
> >
> > currently using:
> >   v.out.ogr dsn=. type=area in=some_area layer=some_area
> Radim:
> -c

Yes, that works. Thanks.

Next issue: 

after linking the resultant shape file back in with v.external, the
categories are labeled starting with 0 instead of 1. This caught me out
when doing 'd.vect cat=1-1000' and the first area was missing. (the
linked table has a "cat" column which has the original (correct) cat
number but is unused.
Is this a bug or a feature?


More information about the grass-user mailing list