[OSM-dev] osmarender+tiles at home projection bug

Andreas Brauchli linux at elementarea.net
Thu Feb 15 11:02:12 GMT 2007


> Osmarender 
> a) can't do proper trig and is using a simpler approximation to cos()
> (this could be improved by adding more terms), and  
> b) because you can't do a function call, is using a constant
> transformation across a whole render.
might that be a solution:

1. create the svg untransformated (no cosine approximation)
2. postprocess the svg to correct the projection - a simple perl script
could do that

it creates the burden of chaining operations, especially if we're not
rendering large areas where the correction isn't that obvious

andreas





More information about the dev mailing list