Hi Jorg,

Tonny Kohar wrote:

- if not null call gvtNode.getBounds() to check the resulting rectangle
geometry (x,y,w,h) is it really in the intended area space

Jorg Heymans wrote:

Good tip it seems.

getBounds() is null for all shapes i add that don't appear. Where does the bounds get set or what could be causing this ? In case it helps,

The bounds are calculated in a number of places probably you care most about ShapeNode.getPrimitiveBounds, there are a few outer getXXXBounds methods which might be of interest but this is the one used by getBounds(). You might also check out the same method in CompositeGraphicsNode.

I've uploaded an example xml stream my servlet is generating to www.domek.be/map3.log.

A couple of points. First this isn't a valid XML document:

<?xml version="1.0" encoding="ISO-8859-1"?><pon:pon xmlns:pon="http://www.domek.be/pon";>
<pon:meta>
</pon:meta>
<pon:map xmlns:svg="http://www.w3.org/2000/svg"; viewBox="423463.2 -5470604.7 133015.10000000003 113988.29999999981">


  There can be only one root element you have two.

   Second: id="08111", Id's can't be just numbers IIRC they have to
start with an Alpha (I don't think Batik actually cares but I believe
other engines do).


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to