[OSM-talk] Render icons for parking areas

Knut Arne Bjørndal bob+osm at cakebox.net
Thu Dec 20 07:43:17 GMT 2007


"Robin Paulson" <robin.paulson at gmail.com> writes:

> On 19/12/2007, Frederik Ramm <frederik at remote.org> wrote:
>> > i am confident the maths to figure out where to place the label,
>> > whilst ensuring it is inside the bounds of the area (and complying
>> > with any other set of arbitrary rules), would be fairly trivial to
>> > implement.
>>
>> ... in XSLT where you don't have trigonometric functions?
>
> off the top of my head:
> trig functions are made up of other math functions which may or may
> not be in xslt (i'm not familiar with it's specs) and which may or may
> not be computationally possible;
> i had other methods in mind, which may or may not be possible;

Sounds really good, I've been thinking a good bit about how to solve this problem lately, without really having much luck.

If you can come up with the algorithm and need help implementing it, just give me a holler and I'll have a look at it.

-- 
Knut Arne Bjørndal
aka Bob Kåre
bob at cakebox.net
bobkare at irc




More information about the talk mailing list