[GRASS-user] Re: grass-user Digest, Vol 40, Issue 40

Richard Chirgwin rchirgwin at ozemail.com.au
Thu Aug 20 17:44:21 EDT 2009


grass-user-request at lists.osgeo.org wrote:
> Send grass-user mailing list submissions to
> 	grass-user at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.osgeo.org/mailman/listinfo/grass-user
> or, via email, send a message with subject or body 'help' to
> 	grass-user-request at lists.osgeo.org
>
> You can reach the person managing the list at
> 	grass-user-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of grass-user digest..."
>
>
> Today's Topics:
>
>    1. attribute info attached to multiple areas (Sharon M)
>    2. creating map series purely on ps.map (maning sambale)
>    3. Re: creating map series purely on ps.map (Hamish)
>    4. v.to.rast error? (Paolo Cavallini)
>    5. magic? (achim)
>    6. Re: v.to.rast error? (Hamish)
>    7. Re: v.to.rast error? (Paolo Cavallini)
>    8. Re: magic? (achim)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 20 Aug 2009 09:44:34 +0930
> From: Sharon M <morrisxs09 at gmail.com>
> Subject: [GRASS-user] attribute info attached to multiple areas
> To: grass-user at lists.osgeo.org
> Message-ID:
> 	<7a0cde410908191714ja3439dbw36f1c112428157ca at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> I'm using WinGRASS-6.4.0SVN-r38537-1 (on Windows XP) and imported a
> .MIF/.MID files via v.in.ogr using default settings. I get the
> following message
>
> "6 areas represent more (overlapping) features, because polygons
> overlap in input layer(s). Such areas are linked to more than 1 row in
> the attribute table. The number of features for those areas is stored
> as category in layer 2."
>
> I've identified one of these (overlapping) areas and found the vector
> data contains an area completely surrounding another area. The problem
> is the outside area's attribute information is also being attached to
> the inside area - how can this association be removed as the inside
> area has it's own attribute information?
>
> Any help would be appreciated.
>
> Thanks,
>
> Sharon
>   
Sharon,

Since you don't have that many areas to deal with, you could do it 
manually. What you want to do is get the outside area without the inside 
area - the doughnut without the hole!

For example, in v.digit you could attach a centroid to the outside area, 
and then fill in its information from the database.

Richard Chirgwin


More information about the grass-user mailing list