[GRASS-user] updating vector attributes for separate islands
Markus Metz
markus.metz.giswork at googlemail.com
Mon Aug 17 02:34:06 EDT 2009
maning sambale wrote:
> Hi,
>
> I imported a shapefile of provinces in grass. The shapefile has
> around 84 provinces composed of different islands. The attribute
> table contains only 84 rows corresponding to 84 provinces. I used
> v.clean bpol tool to topologically clean the vectors. Then used
> v.db.droptable and add a new a table to add island names for each
> polygon.
>
> The new table created still contain 84 rows and when I edit an island
> centroid the island name is also added to the other polygon covered by
> the same province.
>
They all have the same category number, so if you add a row to the
attribute table, all polygons with that category number will use that
row. You can set new categories for each polygon separately with
v.category in a new layer 2, then add a table for layer 2 and edit the
attribute table.
Markus M
More information about the grass-user
mailing list