[GRASS-user] Question on v.label - remove overlapping labels

Patton, Eric epatton at nrcan.gc.ca
Thu Feb 15 09:32:31 EST 2007

What would be the best way to go about this - making each label a dedicated vector object so that Grass becomes 'aware' of the spatial extent of each label? Then define some kind of buffer threshold within no other label can overlap? Sounds like it could be done through scripting, but at huge computational overhead (i.e., v.in.ascii, v.buffer, v.overlay?). I was thinking about trying my hand at this kind of hack, but it would probably be more trouble than it's worth in the end. Usually I can find a workaround by flipping the labels left/right, resizing, etc.


~ Eric.

-----Original Message-----
From: grassuser-bounces at grass.itc.it
To: Wolfgang Qual
Cc: grassuser at grass.itc.it
Sent: 2/14/2007 5:15 PM
Subject: Re: [GRASS-user] Question on v.label - remove overlapping labels

Wolfgang Qual wrote:
> using v.label, I tried to label (streetnames) some lines of my 
> streetnetwork. It works, quite good, but some labels are overlapping.
> Is there a possibility to avoid overlapping labels?

>There is nothing in the code to protect from that currently.
>Ideas+patches on how to do that are welcome. Right now it just goes down
>the list of features in a serial fashion & isn't aware of where other
>labels are placed after it has placed them.

More information about the grass-user mailing list