[Tilesathome] Trigonometric functions in osmarender
Jiri Klement
jiri.klement at gmail.com
Fri Sep 12 08:59:58 BST 2008
I've found one - Firefox doesn't support sin/cos and it seems
Osmarender Frontend relies on Firefox xslt support.
On Fri, Sep 12, 2008 at 9:40 AM, Jiri Klement <jiri.klement at gmail.com> wrote:
>> 2) The node-set function is pretty common, I think I saw something
>> about several implementations that didn't have these math functions.
>
> All implementation I know of now support math. Msxml can use
> JavaScript emulation like for node-set.
>
> Should we replace the functions with exslt equivalents now? It might
> break something but it should make osmarender faster.
>
> On Fri, Sep 12, 2008 at 9:27 AM, Knut Arne Bjørndal <bob+osm at cakebox.net> wrote:
>> On Thu, Sep 11, 2008 at 11:57:33PM +0200, Jiri Klement wrote:
>>> is there a reason for trigonometric function being reimplemented in
>>> XSLT in osmarender when the functions are available in exslt math
>>> module? Osmarender use exslt anyway.
>>
>> Several reasons:
>>
>> 1) At the time I wrote areacenter osmarender didn't use exslt at all
>> 2) The node-set function is pretty common, I think I saw something
>> about several implementations that didn't have these math functions.
>>
>> --
>> Knut Arne Bjørndal
>> aka Bob Kåre
>> bob+osm at cakebox.net
>> bobkare at irc
>>
>> _______________________________________________
>> Tilesathome mailing list
>> Tilesathome at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/tilesathome
>>
>>
>
More information about the Tilesathome
mailing list