<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Michael - Many thanks, as soon as I get time I'll re-install!<br>
<br>
(Thanks both to Michael and to Hamish for looking at this so quickly).<br>
<br>
Richard<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
<td>Re: [GRASS-user] Re: PS Labels display in wrong place</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Date: </th>
<td>Sat, 06 Oct 2007 09:45:01 -0700</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">From: </th>
<td>Michael Barton <a class="moz-txt-link-rfc2396E" href="mailto:michael.barton@asu.edu"><michael.barton@asu.edu></a></td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">To: </th>
<td>Hamish <a class="moz-txt-link-rfc2396E" href="mailto:hamish_nospam@yahoo.com"><hamish_nospam@yahoo.com></a>, Richard Chirgwin
<a class="moz-txt-link-rfc2396E" href="mailto:rchirgwin@ozemail.com.au"><rchirgwin@ozemail.com.au></a>, <a class="moz-txt-link-rfc2396E" href="mailto:grassuser@grass.itc.it"><grassuser@grass.itc.it></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>I tracked this down and fixed it I think. It's now in the CVS.
I switched the label parsing algorithm from regexp to use a list structure.
So now it deals better with coordinate values that have numbers to the right
of the decimal place.
The new parsing also revealed some hidden bugs in background and outline
color settings that I also fixed.
Michael
On 10/5/07 6:25 PM, "Hamish" <a class="moz-txt-link-rfc2396E" href="mailto:hamish_nospam@yahoo.com"><hamish_nospam@yahoo.com></a> wrote:
>>> Richard Chirgwin wrote:
>>>>> I have created a PS labels file using v.label
> ..
>>>>> The problem is that all of the labels display in the same place; any
>>>>> suggestions?
> ..
>> 2) Yes, I am displaying it in gis.m.
>> 3) No, in d.labels the file does not display at all.
>
> you need to do something like:
> d.mon x0
> g.region vect=yourmap
> d.vect yourmap
> d.labels labelfile
>
> the xmons won't automatically zoom to your data like the GIS.m display manager
> will.
>
>> 4) Yes - the labels cover Sydney city. The region is about 1.5 degrees
>> in both X and Y.
>
> and it's a lat/lon region, with the map in the same coordinate system, right?
> g.region -p or g.proj -p
>
>
>> Let's assume that I'm losing the decimal points: is there a fix?
>
> sure, if it is that it is probably pretty simple to fix. but it takes someone
> who knows (or is willing to learn) Tcl/Tk to find it.
>
>
> Hamish
>
>
>
>
> ______________________________________________________________________________
> ______
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail,
> news, photos & more.
> <a class="moz-txt-link-freetext" href="http://mobile.yahoo.com/go?refer=1GNXIC">http://mobile.yahoo.com/go?refer=1GNXIC</a>
>
>
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: <a class="moz-txt-link-freetext" href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a>
</pre>
</body>
</html>