According to v.build output, when exporting areas, You should get 64
closed area features with some holes. Please double check Your
v.out.ogr parameters and output of v.category.

Maris.

2013/1/12 Brian Sanjeewa Rupasinghe <[email protected]>:
> Hi Maris, Thanks. Please see following the build info of the Grass Vector
> file that i need to convert to a shapefile.
>
> Cheers, Brian.
>
> (Sat Jan 12 14:25:02 2013)
> v.build map=MaskVector@user1
> Building topology for vector map <MaskVector@user1>...
> Registering primitives...
> 184 primitives registered
> 4948 vertices registered
> Building areas...
> 110 areas built
> 91 isles built
> Attaching islands...
> Attaching centroids...
> Number of nodes: 101
> Number of primitives: 184
> Number of points: 0
> Number of lines: 0
> Number of boundaries: 120
> Number of centroids: 64
> Number of areas: 110
> Number of isles: 91
> (Sat Jan 12 14:25:02 2013) Command finished (0 sec)
>
> On Sat, Jan 12, 2013 at 12:52 PM, Maris Nartiss <[email protected]> wrote:
>>
>> Please, post output of v.build
>>
>> 2013/1/12 Brian Sanjeewa Rupasinghe <[email protected]>:
>> > Hi,
>> >
>> > I used v.category. But it too keeps on running failing to add
>> > categories.
>> >
>> >
>> > On Fri, Jan 11, 2013 at 11:28 PM, Maris Nartiss <[email protected]>
>> > wrote:
>> >>
>> >> Try to run on Your vector dataset:
>> >> v.category option=add type=centroid
>> >> Then export with v.out.ogr.
>> >>
>> >> Reason - v.out.ogr is working correctly and Your centroids have no
>> >> CATs and thus are not exported. That would explain "not correctly
>> >> created" - an empty shapefile.
>> >>
>> >> Hope it helps,
>> >> Maris.
>> >>
>> >> 2013/1/11 Brian Sanjeewa Rupasinghe <[email protected]>:
>> >> > Hi,
>> >> >
>> >> > I am using GRASS 7svn in windows. Using v.out.ogr function in GRASS i
>> >> > converted a set of polygons (some of which have holes as well) into a
>> >> > shape
>> >> > file.
>> >> > However, when i do not tick the box in Selection pane: ‘Also export
>> >> > features
>> >> > without category (not labelled) otherwise only features with category
>> >> > are
>> >> > exported,
>> >> > the function keeps on executing and shapefile is not correctly
>> >> > created.
>> >> > When
>> >> > i tick this, the shapefile is created but filling all holes as
>> >> > separate
>> >> > polygons. Any comment on this behaviour?
>> >> >
>> >> > Cheers, Brian.
>> >> >
>> >> > _______________________________________________
>> >> > grass-user mailing list
>> >> > [email protected]
>> >> > http://lists.osgeo.org/mailman/listinfo/grass-user
>> >> >
>> >
>> >
>
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to