[OSM-talk] T at H error
80n
80n80n at gmail.com
Mon Sep 24 22:50:45 BST 2007
On 9/24/07, Alex Mauer <hawke at hawkesnest.net> wrote:
>
> 80n wrote:
> > the way. The obvious solution is to limit this recursion to, say, 20
> > segments, and just assume that names will fit if the way has more
> > segments than this.
>
> Of course, this might not be true. Is it possible to, rather than
> finding the length of the entire way and checking if the name will fit
> within that, instead find the largest desired length of the name, and
> recurse until either the way is longer than that (meaning it fits) or
> the complete way is found (meaning it will not fit and the text must be
> shrunk or truncated or whatever).
Yes, that is absolutely a much better way to deal with this. I should think
before I write.
-Alex Mauer "hawke"
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20070924/1de16ebf/attachment.html>
More information about the talk
mailing list