[Tilesathome] Experimental Batik Support

Brent Easton b.easton at exemail.com.au
Thu Nov 15 11:01:46 GMT 2007


Hi Gert,

There is an outstanding problem. If a tile contains a way that consists of only one node, then Osmarender generates an illegal SVG file which causes Batik to fail.

Dodi is looking at changing Osmarender to exclude processing single node ways. In the meantime, the workaround is to edit the tile and remove the single node way.

Regards,
Brent.


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

On 15/11/2007 at 11:19 AM Gert Gremmen  wrote:

>Bug:
>
>Batik tried to split a 1x1 file in tile : 2189,1373
>
>No more error data.
>
>Regards,
>
>Ing. Gert Gremmen
>-----Original Message-----
>From: tilesathome-bounces at openstreetmap.org
>[mailto:tilesathome-bounces at openstreetmap.org] On Behalf Of Gert Gremmen
>Sent: 2007-11-15 10:35 AM
>To: b.easton at uws.edu.au; tilesathome at openstreetmap.org
>Subject: Re: [Tilesathome] Experimental Batik Support
>
>Hello  Brent,
>
>The batik is running smoothly ( in loop mode).
>Performance is roughly equal to inkscape, sometimes
>a bit faster.
>In XY mode I had problem with the Netherlands tiles.
>At approx 3% a core dump was generated.
>
>I am not sure that it was a memory problem.
>Due to a incoming phone call I was not able
>to monitor memory use.
>I'll add memory today and retry.
>
>Regards,
>
>Ing. Gert Gremmen
>
>-----Original Message-----
>From: tilesathome-bounces at openstreetmap.org
>[mailto:tilesathome-bounces at openstreetmap.org] On Behalf Of Brent Easton
>Sent: 2007-11-14 10:18 PM
>To: Alexander Wright; tilesathome at openstreetmap.org
>Subject: Re: [Tilesathome] Experimental Batik Support
>
>Sounds like a classpath problem.
>
>The full list of libraries you should have for Batik is
>
>batik-anim.jar
>batik-awt-util.jar
>batik-bridge.jar
>batik-codec.jar
>batik-css.jar
>batik-dom.jar
>batik-ext.jar
>batik-extension.jar
>batik-gui-util.jar
>batik-gvt.jar
>batik-parser.jar
>batik-script.jar
>batik-svg-dom.jar
>batik-svggen.jar
>batik-swing.jar
>batik-transcoder.jar
>batik-util.jar
>batik-xml.jar
>js.jar
>xalan-2.6.0.jar
>xerces_2_5_0.jar
>xml-apis-ext.jar
>xml-apis.jar
>
>SAXParsers is in xerces_2_5_0.jar
>
>Regards,
>Brent.
>
>
>*********** REPLY SEPARATOR  ***********
>
>On 14/11/2007 at 9:02 PM Alexander Wright  wrote:
>
>>On Wednesday 14 November 2007 20:45:55 Brent Easton wrote:
>>> Hi Gert, Alexander,
>>>
>>> I wait with baited breath for your results ;)
>>
>>Still getting errors with regard to SAXParser. I've tried Sun Java 1.5
>and
>>1.6 
>>with no joy.
>>
>>Error:
>>
>>Rendering
>>java.io.IOException: SAX2 driver class
>org.apache.xerces.parsers.SAXParser
>>not 
>>found
>>        at
>>org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown 
>>Source)
>>        at
>>org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown 
>>Source)
>>        at 
>>org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
>>Source)
>>        at 
>>org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
>>Source)
>>        at
>>org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown 
>>Source)
>>        at
>>org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown 
>>Source)
>>        at
>org.apache.batik.apps.rasterizer.SVGConverter.transcode(Unknown 
>>Source)
>>        at
>org.apache.batik.apps.rasterizer.SVGConverter.execute(Unknown 
>>Source)
>>        at org.apache.batik.apps.rasterizer.Main.execute(Unknown
>Source)
>>        at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
>>org.apache.batik.transcoder.TranscoderException: null
>>Enclosed Exception:
>>SAX2 driver class org.apache.xerces.parsers.SAXParser not found
>>        at
>>org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown 
>>Source)
>>        at
>>org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown 
>>Source)
>>        at
>org.apache.batik.apps.rasterizer.SVGConverter.transcode(Unknown 
>>Source)
>>        at
>org.apache.batik.apps.rasterizer.SVGConverter.execute(Unknown 
>>Source)
>>        at org.apache.batik.apps.rasterizer.Main.execute(Unknown
>Source)
>>        at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
>>
>>_______________________________________________
>>Tilesathome mailing list
>>Tilesathome at openstreetmap.org
>>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
>>
>>
>>-- 
>>No virus found in this incoming message.
>>Checked by AVG Free Edition. 
>>Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date:
>14/11/2007 4:54 PM
>
>
>____________________________________________________________
>Brent Easton                       
>Analyst/Programmer                               
>University of Western Sydney                                   
>Email: b.easton at uws.edu.au
>
>
>_______________________________________________
>Tilesathome mailing list
>Tilesathome at openstreetmap.org
>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
>
>_______________________________________________
>Tilesathome mailing list
>Tilesathome at openstreetmap.org
>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
>
>
>-- 
>No virus found in this incoming message.
>Checked by AVG Free Edition. 
>Version: 7.5.503 / Virus Database: 269.15.32/1131 - Release Date: 14/11/2007 4:54 PM


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





More information about the Tilesathome mailing list