[Tilesathome] Using Batik to render tiles instead of Inkscape

Brent Easton b.easton at exemail.com.au
Tue Oct 9 00:22:20 BST 2007



*********** REPLY SEPARATOR  ***********

On 8/10/2007 at 5:40 PM Martijn van Oosterhout  wrote:

>On 10/6/07, Barry Crabtree <barry.crabtree at gmail.com> wrote:
>> Did you have any problems with rendering icons with Batik? When I did the
>> shadow stuff it seemed to clip the icons. Take a look at
>> http://wiki.openstreetmap.org/index.php/Shadows to see what
>> I mean.
>
>This is because the symbols in osmarender don't actually fit inside
>the "viewbox" they declare. Inkscape evidently doesn't care, but batik
>does.


I thought it might be something like that. Batik appears to be far more rigourous in its checking of the SVG files, which I think is a good thing. 

Inkscape just quietly throws away any data it finds in error with no error messages - There is no feedback if parts of the SVG are not being rendered. 

In this case, Batik is doing the right thing I believe, the Osmarender icons should be fixed so that the icons fit inside their defined size.

Regards,
Brent.
____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: b.easton at uws.edu.au





More information about the Tilesathome mailing list