[GRASS-user] Question on v.label - remove overlapping labels
Wolfgang.Qual at muenchen.de
Thu Feb 15 11:08:59 EST 2007
Hello Eric, Hamish, list:
could this be interesting for GRASS-developers? UMN Mapserver displays
labels without overlapping.
Maybe a possibility to search for a suitable procedure?
Patton, Eric schrieb:
> 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.
> grassuser mailing list
> grassuser at grass.itc.it
* *Referat für Gesundheit und Umwelt*
Telefon +49 - 89 - 233 - 4 77 17
Telefax +49 - 89 - 233 - 4 77 05
uw11.rgu at muenchen.de
Bitte beachten Sie die Hinweise zur elektronischen
Kommunikation mit der Landeshauptstadt München:
More information about the grass-user