good to hear.

looking forward to using getIntersectionList() - I think it will be a very useful feature for webmapping applications.

Andreas

Thomas DeWeese wrote:

Hi TJ,

TJ Teegan wrote:

I am trying to find all the elements in a given area. I am assuming I should be using the getIntersectionList method, however I must be using it incorrectly because I always get a java.lang.Error when I call it.


    That's because it isn't implemented yet (except in my local copy
of Batik ;).  I've been working on this for the past couple days.
Expect a delivery shortly (I'm wrapping up a few details with
text and use elements).

Here is an example of the code I am using:

public NodeList myMethod(){
    SVGRect rect;
    SVGElement ele;
    NodeList nodes;

    rect = SVGDocument.getRootElement().createSVGRect();
    rect.setX(0);
    rect.setY(0);
    rect.setWidth(100);
    rect.setHeight(100);
    ele = SVGDocument.getRootElement();
    nodes = SVGDocument.getRootElement().getIntersectionList(rect, ele);
    return nodes;
}

I apologize if this has been covered else where. I searched the mail list archive but was unsuccessful in finding an answer. Any help is appreciated.

Thank you,
TJ Teegan

_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx



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



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



--
--
---------------------------------------------- Andreas Neumann - Department of Cartography Swiss Federal Institute of Technology (ETH) ETH Hoenggerberg, CH-8093 Zurich, Switzerland Phone: ++41-1-633 3031, Fax: ++41-1-633 1153 e-mail: [EMAIL PROTECTED] www: http://www.karto.ethz.ch/neumann/ SVG.Open: http://www.svgopen.org/ Carto.net: http://www.carto.net/



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



Reply via email to