[svg-developers] Re: passing events

2006-07-26 Thread sent1729
Jeroen,

  You can use getIntersectionList(rect,null) funtion to get all the 
elements (as list of nodes) that intersects the point where you 
click the mouse and perform what ever operation you want on the 
bottom elemnent. By that way even if you have 20 elements stacked on 
top you can selectively perform operation on any element you need.

Hope this helps

Nathan.



--- In svg-developers@yahoogroups.com, Jeroen Vanattenhoven 
<[EMAIL PROTECTED]> wrote:
>
> When you have 2 graphical objects on top of each other (a 
rectangle and 
> polygon f.e.), can you make the bottom one get the event when 
someone 
> clicks on the top object?
> 
> Purpose is for a gis client to be able to edit a selected feature 
> (bottom one) when some other feature is still visible on top.
> 
> Jeroen
> 
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
>






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: Stroke does not border the Polyline border ?

2006-07-06 Thread sent1729
Using Zip protocol seems to be a good idea. I will definitely give 
it a shot.

Thanks for all you input.

Nathan

--- In svg-developers@yahoogroups.com, "Phi Tran" <[EMAIL PROTECTED]> 
wrote:
>
> On 7/6/06, sent1729 <[EMAIL PROTECTED]> wrote:
> >
> >   Thanks for the suggestion.
> >
> > In my application (GIS and Mapping), I wanted to show the streets
> > which are polylines, with borders. If I reverse the coordinates 
for
> > all the polylines, then it will increase the file size. The
> > suggestion that you gave seem to work, but I am looking for 
drawing
> > borders to my polylines without increasing my file size.
> >
> > Thanks again for your input.
> >
> > Nathan.
> >
> 
> I am glad it helps you a little.
> 
> If the file size if some thing of your  bottle neck then you may 
think of
> using ZipProtocol. Where you can send a Zip instead of SVG. (You 
don't have
> to use its SVG feature).
> 
> And also if you using its intranet version you can have the whole 
big map
> cache one  at the time After the few clicks the you already have 
the whole
> map cached.
> 
> One more idea.
> You can always generate a path on the fly using javascript and the 
data from
> the polyline at the client machine.
> 
> Hope this help.
> 
> --- In svg-developers@yahoogroups.com ,
> > "Phi Tran" 
> > wrote:
> > >
> > > On 7/6/06, sent1729  wrote:
> > > >
> > > > Yes,
> > > >
> > > > But the stoke does not add any border to the polyline. It 
just
> > > > strokes the polyline with a specified color and a stroke 
width.
> > > >
> > > > Say for a polyline of Stroke "white" with stroke width "10", 
I
> > would
> > > > like to draw a "black" border of stroke width 2, around the 
white
> > > > polyline.
> > > >
> > > > Nathan.
> > > >
> > >
> > > No It's not that way.
> > >
> > > Stroke-width is the thickness of the line. And When you
> > use "polyline". Line
> > > does not have "border" then you cannot make the border of
> > a "line".
> > >
> > > There may be easier way to accomplish your task,
> > > 1- Change the you polyline into a Path from point(0) to point 
(x).
> > > 2- Add a reverse (M) from point(x) to point(0). Make sure at 
this
> > reverse
> > > phase you shift the coordination to the value of your with.
> > >
> > >
> > > Hope this help
> > >
> > > Phi.
> > >
> > > - House of ZipProtocol and SVG rendering Package.
> > > HTTP://oneplusplus.com
> > >
> > > > --- In svg-developers@yahoogroups.com > 40yahoogroups.com>,
> > > > "Andreas Neumann"
> > > >  wrote:
> > > > >
> > > > > yes, you can use "stroke" and "stroke-width" on any 
graphics
> > > > element, incl. the 
> > > > > element.
> > > > >
> > > > > Andreas
> > > > >
> > > > > --- In svg-developers@yahoogroups.com > 40yahoogroups.com>,
> > > > "sent1729" 
> > > > wrote:
> > > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > Is it possible to draw a polyline with a border in svg. 
For
> > > > example,
> > > > > > we can draw a rectangle with a border by assigning a 
stroke
> > and
> > > > a
> > > > > > stroke width. Can we do similar thing to a polyline to 
draw a
> > > > border?
> > > > > >
> > > > > > Nathan.
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> Phi - Tran
> Hugely inrease your speed, saving your band-width with ZipProtocol
> plus crystal clear SVG Rendering image at
> HTTP://oneplusplus.com
> 
> 
> [Non-text portions of this message have been removed]
>






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: Stroke does not border the Polyline border ?

2006-07-06 Thread sent1729
Thanks for the suggestion.

In my application (GIS and Mapping), I wanted to show the streets 
which are polylines, with borders. If I reverse the coordinates for 
all the polylines, then it will increase the file size. The 
suggestion that you gave seem to work, but I am looking for drawing 
borders to my polylines without increasing my file size.

Thanks again for your input.

Nathan.


--- In svg-developers@yahoogroups.com, "Phi Tran" <[EMAIL PROTECTED]> 
wrote:
>
> On 7/6/06, sent1729 <[EMAIL PROTECTED]> wrote:
> >
> >   Yes,
> >
> > But the stoke does not add any border to the polyline. It just
> > strokes the polyline with a specified color and a stroke width.
> >
> > Say for a polyline of Stroke "white" with stroke width "10", I 
would
> > like to draw a "black" border of stroke width 2, around the white
> > polyline.
> >
> > Nathan.
> >
> 
> No It's not that way.
> 
> Stroke-width is the thickness of the line. And When you 
use "polyline". Line
> does not have  "border" then you cannot make the border of 
a "line".
> 
> There may be easier way to accomplish your task,
> 1- Change the you polyline into a Path from point(0) to point (x).
> 2- Add a reverse (M) from point(x) to point(0). Make sure at this 
reverse
> phase you shift the coordination to the value of your with.
> 
> 
> Hope this help
> 
> Phi.
> 
> - House of ZipProtocol and SVG rendering Package.
>  HTTP://oneplusplus.com
> 
> > --- In svg-developers@yahoogroups.com ,
> > "Andreas Neumann"
> >  wrote:
> > >
> > > yes, you can use "stroke" and "stroke-width" on any graphics
> > element, incl. the 
> > > element.
> > >
> > > Andreas
> > >
> > > --- In svg-developers@yahoogroups.com ,
> > "sent1729" 
> > wrote:
> > > >
> > > > Hi all,
> > > >
> > > > Is it possible to draw a polyline with a border in svg. For
> > example,
> > > > we can draw a rectangle with a border by assigning a stroke 
and
> > a
> > > > stroke width. Can we do similar thing to a polyline to draw a
> > border?
> > > >
> > > > Nathan.
> > > >
> > >
> >
> >  
> >
> 
> 
> [Non-text portions of this message have been removed]
>







 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Stroke does not border the Polyline border ?

2006-07-06 Thread sent1729
Yes,

But the stoke does not add any border to the polyline. It just 
strokes the polyline with a specified color and a stroke width.

Say for a polyline of Stroke "white" with stroke width "10", I would 
like to draw a "black" border of stroke width 2, around the white 
polyline.

Nathan.

--- In svg-developers@yahoogroups.com, "Andreas Neumann" 
<[EMAIL PROTECTED]> wrote:
>
> yes, you can use "stroke" and "stroke-width" on any graphics 
element, incl. the  
> element.
> 
> Andreas
> 
> --- In svg-developers@yahoogroups.com, "sent1729"  
wrote:
> >
> > Hi all,
> > 
> > Is it possible to draw a polyline with a border in svg. For 
example, 
> > we can draw a rectangle with a border by assigning a stroke and 
a 
> > stroke width. Can we do similar thing to a polyline to draw a 
border?
> > 
> > Nathan.
> >
>







 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: Polyline border ?

2006-07-06 Thread sent1729
But the stroke does not add border to the polyline.

Say for a Polyline with "red" stroke and stroke width "10", I would 
like to add a white border with stroke width "2". How to do that?

Any input would be appreciated.
Nathan.


--- In svg-developers@yahoogroups.com, "Andreas Neumann" 
<[EMAIL PROTECTED]> wrote:
>
> yes, you can use "stroke" and "stroke-width" on any graphics 
element, incl. the  
> element.
> 
> Andreas
> 
> --- In svg-developers@yahoogroups.com, "sent1729"  
wrote:
> >
> > Hi all,
> > 
> > Is it possible to draw a polyline with a border in svg. For 
example, 
> > we can draw a rectangle with a border by assigning a stroke and 
a 
> > stroke width. Can we do similar thing to a polyline to draw a 
border?
> > 
> > Nathan.
> >
>







 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Polyline border ?

2006-07-06 Thread sent1729
Hi all,

Is it possible to draw a polyline with a border in svg. For example, 
we can draw a rectangle with a border by assigning a stroke and a 
stroke width. Can we do similar thing to a polyline to draw a border?

Nathan.






 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] JavaScript to read VB.net variables

2006-06-22 Thread sent1729
Hi all,

I am using ASV3 plugin to display SVG content in my IE5 browser. I do 
it inside my VB.net application. My SVG document refers to a java 
script file. Is it possible to see VB.net variables inside the Java 
script. For example, if my VB form has two text boxes that has the 
values of "x" and "y" coordinates, Then can I read these values from 
the JavaScript to draw a rectangle or a line to these coordinates?.

I did an extensive google search and was not sucessful in finding any 
good source of document.

Any input is greatly appreciated.

Thanks
Nathan.






 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] SVG cursors

2006-06-02 Thread sent1729
Hi all,

I am using Batik as my svg browser. How to assign a cursor's url on 
an svg elemnent which as xml:base uri defined.
 I tried the following and it gives me an error: An I/O error 
occured while processing the URI:#curs specified on element image.


http://www.w3.org/1999/xlink";  x="0" y="0" 
width="760" height="626" viewBox="0 0 500 500" style="cursor:url
(#curs),crosshair;">






However if I assign an aboslute path to the  element such 
as:I dont have any 
problem.

Am I missing something?
Can anyone please give any suggestions.

Thanks
Nathan.








 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: referring images while opening svg doc from a database

2006-06-01 Thread sent1729
Thank you very much, xml:base attribute idea works fine.

Thanks again
sent1729


--- In svg-developers@yahoogroups.com, [EMAIL PROTECTED] wrote:
>
> Hi sent1729,
> 
> svg-developers@yahoogroups.com wrote on 05/31/2006 11:20:27 AM:
> 
> > I use Batik as my SVG browser. I am having couple of images 
> > in my SVG document. How to refer those images inside the SVG 
> > document by using a relative path to the database. My database 
could 
> > sit any where on my computer and I am trying to tie the images 
> > inside the svg document with respect to the location of the 
database.
> 
> > My question:
> > Is it possible to refer the xlink:href attribute relative to the 
> > database so that I can avoid the step of writing the doc to a 
file 
> > and directly open the doc from the database.
> 
> Yes, in fact there are a number of ways to accomplish this...
> 
> > This is what I do to directly open the doc from the database:
> 
> >TransformerFactory tmf=TransformerFactory.newInstance
();
> >Transformer tf=tmf.newTransformer();
> >DOMSource source=new DOMSource(doc);
> >StreamResult result=new StreamResult("name of file 
for 
> output");
> 
> I would suggest using a DOMResult with an SVGDocument element 
> (gotten from: org.apache.batik.dom.svg.SVGDOMImplementation).  This
> will avoid the need to generate XML and reparse that speeding 
things
> up a bit.
> 
> >tf.transform(source,result);
> 
> > svgRoot = (SVGElement) doc.getDocumentElement();
> >svgCanvas.setDocument(doc);
> 
> Given the above code I'm surprised to see this since I would
> have expected you to give the filename from above.
> If you have the document in memory as a batik.dom.svg.SVGOMDocument
> (Batik's implementation of the SVGDocument interface) then you
> can call 'setURLObject(URL baseURL)' to set the URL against which
> all relative URL's will be resolved.
> 
> You can also use the 'xml:base' attribute to adjust the base
> URL for resolution of relative URL's within subparts of the SVG
> tree (or the whole tree if you set it on the root SVG element).
> 
> I hope this helps.
>






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] referring images while opening svg doc from a database

2006-05-31 Thread sent1729
Hi All,

   In my application, I am opening the svg doc form a database (SQL 
Server). I use Batik as my SVG browser. I am having couple of images 
in my SVG document. How to refer those images inside the SVG 
document by using a relative path to the database. My database could 
sit any where on my computer and I am trying to tie the images 
inside the svg document with respect to the location of the database.
I did figure out a solution, but I hope there is much better way of 
doing this. 

Say for e.g. I have my database at my local "C:/mydb.mdf"
and my svg doc (omitting all the document type defintion and xml 
declaration) looks like:

http://www.w3.org/1999/xlink";  x="130" y="25.5" 
width="760" height="626" viewBox="0 0 1000 1000"





The above svg document works fine, but I want refer the xlink:href 
attribute of the image tag to a relative path, relative to the 
database.

My work around solution:
Say for example if the  database and images are located 
at "C:/mydb.mdf" and "C:/image.png". Retrive the document from the 
database and write it to a file ("C:/SVG/Test.svg"), and open the 
document from the file so that we can assign a relative path with 
respect to the file(xlink:href="../image.png").

My question:
Is it possible to refer the xlink:href attribute relative to the 
database so that I can avoid the step of writing the doc to a file 
and directly open the doc from the database.

Can anyone please give me any suggestion.


This is what I do to directly open the doc from the database:
Get the svg doc as string from the database.
Convert the string to inputstream and use XSLT to generate xml file 
and load the file in to the SVG canvas.

sample code: clob the the string variable that contains the 
svgdocument

 InputStream is = null;
try{
is = new java.io.ByteArrayInputStream(clob.getBytes("UTF-
8"));//return in; 
} 
catch (Exception e) {
e.printStackTrace();
} 

try {
String parser = 
XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory sdf = new SAXSVGDocumentFactory
(parser);
doc = sdf.createDocument(null, is);

//
////You can now use XSLT to generate xml file thus:
//
   TransformerFactory tmf=TransformerFactory.newInstance();
   Transformer tf=tmf.newTransformer();
   DOMSource source=new DOMSource(doc);
   StreamResult result=new StreamResult("name of file for 
output");
   tf.transform(source,result);

} 
catch (Exception e) {
e.printStackTrace();
} 
svgRoot = (SVGElement) doc.getDocumentElement();
svgCanvas.setDocument(doc);








 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Assigining relative path in xlink:href

2006-03-03 Thread sent1729
Hi all,

I am using batik squiggle browser. I wanted to load an image and I 
am able to do it by assiging the absolte path. But if I try to load 
using realtive path, relative to where my document sits I am un able 
to see my image.

This works:


But this doesn't:


and my svg document is in: file:///c:/test/lib/test.svg.

Am I missing something, Please help with any input.

Thanks
Nathan









-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: Display element in adobe svg viewer

2006-02-28 Thread sent1729
Thanks for the input
yes, it does disply the point if it sits inside the same document. 
Does that mean adpbe does not support elements defined in another 
document.

Thanks Again,
Nathan.


--- In svg-developers@yahoogroups.com, "Martin Honnen" 
<[EMAIL PROTECTED]> wrote:
>
> --- In svg-developers@yahoogroups.com, "sent1729"  
wrote:
> 
> > I am trying to diplay use element in abobe svg viewer, but 
unable to 
> > do so. 
> 
> >  > xlink:href="file:///c:/symbollib.svg#circle"/>
> 
> Have you tried using an embedded symbol first e.g.
>where the definition of circle is embedded in the same document? 
> I am not sure Adobe supports using an element defined in another 
document.
>







-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Display element in adobe svg viewer

2006-02-28 Thread sent1729
Hi all,

I am trying to diplay use element in abobe svg viewer, but unable to 
do so. I am able to open up the same svg file in batik squiggle 
browser. This is the svg file that I use:



http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg11.dtd";>

http://www.w3.org/1999/xlink";  width="760" 
viewBox="141 209 762 628" height="626" x="130" y="25.5">






   






Am I missing some thing here?

Please help with any input.

Thanks
Nathan.





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: Rép. : [svg-developers] Convert svg node to string

2006-02-16 Thread sent1729
Hi Jerome,

Iam using Batik squiggle browser, and I think PrintNode is not 
implemented in Batik. I think PrintNode works with mozilla brower.

Thanks You.
It would be great to know if there is a way to achieve this in Batik 
Squiggle browser.

Nathan


--- In svg-developers@yahoogroups.com, "Jérome de la Goutte" 
<[EMAIL PROTECTED]> wrote:
>
> Hi Nathan
> 
> Try PrintNode(node)
> 
> Jérôme
> 
> ---
> Jérôme de la Goutte
> Responsable de projet
> ISAGRI Ingéniérie
> E-mail : [EMAIL PROTECTED]
> Site web : www.terre-net.fr & www.isagri.fr
> tel: 03 44 06 84 04
> fax: 03 44 06 55 61
> 
> >>> [EMAIL PROTECTED] 16/02/2006 17:40 >>>
> Hi All,
> 
> Is it possible to convert SVG node to string. I have done the 
reverse 
> process using node = ParseXML(String,doc), which converts a string 
to 
> an SVG node. 
> 
> Any help is greatly appreciated.
> 
> Nathan
> 
> 
> 
> 
> 
> -
> To unsubscribe send a message to: svg-developers-
[EMAIL PROTECTED] 
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit 
my membership"
>  
> 
> 
> 
> SPONSORED LINKS 
> Xml format Svg Format Data 
> YAHOO! GROUPS LINKS 
> 
>  Visit your group "svg-developers" on the web.
>To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED] 
>Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
> 
> 
> 
> 
> Click here to report this email as spam.
> 
> 
> 
> -

> Ce message a été traité contre les virus par quatre outils 
différents (Kaspersky, McAfee, Symantec et Huntsman). 
> This message has been scanned for viruses (by Kaspersky, McAfee, 
Symantec and Huntsman).
> -

>






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Convert svg node to string

2006-02-16 Thread sent1729
Hi All,

 Is it possible to convert SVG node to string. I have done the reverse 
process using node = ParseXML(String,doc), which converts a string to 
an SVG node. 

Any help is greatly appreciated.

Nathan





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] get screen size in batik squiggle browser

2006-02-08 Thread sent1729
Hi all,

Is it possible to get the windows screen size(width and height in 
pixles), in batik squiglle browser. For ex: in IE using javascript we 
can say screen.width and screen.height to access the windows screen 
size information, is there an equivalent command in batik?

Any help is greatly appreciated.

Thanks
Nathan.






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] I found the answer

2006-01-26 Thread sent1729
This is what I did,

var nodenew = parseXML("", document);
grpAtt.appendChild(nodenew);

Thanks
Nathan.

-- In svg-developers@yahoogroups.com, "Martin Honnen" 
<[EMAIL PROTECTED]> wrote:
>
> --- In svg-developers@yahoogroups.com, "sent1729" <[EMAIL PROTECTED]> 
wrote:
> 
> >   Is it possible to add a string (which is an svg(xml)) as a node
> > ( for e.g. < svg >
> >   
> >)
> > 
> > to an svg document.
> 
> You need tools to parse the SVG markup into DOM nodes, then you can
> use the DOM methods appendChild, insertBefore, at least after using
> importNode.
> For Firefox 1.5 you can use DOMParser e.g.
> 
> // constructing string here for better readability of the post
> var exampleSVGMarkup = [
>   'http://www.w3.org/2000/svg";',
>   '   width="100" height="100">',
>   '',
>   ''
> ].join('\r\n');
> 
> if (typeof DOMParser != 'undefined') {
>   var xmlDocument = new DOMParser().parseFromString(
> exampleSVGMarkup,
>'application/xml'
>   );
>  
> someElement.appendChild(someElement.ownerDocument.importNode
(xmlDocument.documentElement,
> true));
> }
> 
> 
> Adobe SVG viewer has a method parseXML, see
>   <http://wiki.svg.org/ParseXML>
> 
> 
> > I have added svg elements to an svg document by using var a = 
> > createElement(string)and doc.appendchild(a). But in the above 
mentioned 
> > case the whole element() is stored as a 
string in 
> > my code. My question how to add this string which is an svg 
document. 
> > Do I have to convert this string to a node before adding it to 
the svg 
> > document?. Are there any methods available to do this.
> > 
> > Please help.
> > 
> > Thanks
> > Nathan.
> >
>






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] add string as a node(Element) to svg document.

2006-01-26 Thread sent1729
Hi all

  Is it possible to add a string (which is an svg(xml)) as a node
( for e.g. < svg >
  
   )

to an svg document.
I have added svg elements to an svg document by using var a = 
createElement(string)and doc.appendchild(a). But in the above mentioned 
case the whole element() is stored as a string in 
my code. My question how to add this string which is an svg document. 
Do I have to convert this string to a node before adding it to the svg 
document?. Are there any methods available to do this.

Please help.

Thanks
Nathan.





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] I figure it out

2005-12-06 Thread sent1729
I figures that it could be achived by using the 
style="cursor:'cursortype'"

Thanks
Nathan






 Yahoo! Groups Sponsor ~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] How to change the mouse pointer

2005-12-06 Thread sent1729
Hi everybody,

I would like to change the mouse pointer on mouse click event. Can any 
help me with any input. Im using apache squiggle as the browser.

Thanks
Nathan.






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: referring a javascipt inside svg document

2005-11-23 Thread sent1729
Hi all,

I was able to resolve the problem using relative path instead to 
absolute path.

Nathan.





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] referring a javascipt inside svg document

2005-11-22 Thread sent1729
Hi all,

I have a javascript file (svgscript.js) and I would like to know how to 
refer this script file from inside the svg document.

This is what I tried and my browser (batik squiggle) errors out:





Am I missing some thing.

Please help.

Thanks
Nathan





 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] does SVG have problem with big coordinates assigned to viewbox?

2005-11-17 Thread sent1729
Hi all,

This is the problem that I face.

I am using SVG for mapping applications where I have all the maps 
referenced to big coordinates. There seem to be some rendering issue 
when I define my SVG viewbox with big coorrdinates. 
This is what I mean: I have the following SVG file where I have 8 
line elements which are equally spaced for ex:













But when what I see on the screen is completely different. I see that 
all the lines are unequally spaced. which is wrong.

But if I make my viewbox coordinates small( i mean the "x" and "y" 
attribute of viewbox), then I see the same line elements equally 
spaced on the screen. For ex:














Why does this happen. 'am I missing something.

Please help with any input.

Thanks,
Nathan






 Yahoo! Groups Sponsor ~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Change color of an element from a style sheet

2005-10-31 Thread sent1729
Hi all,

 I have rectangles in my svg document, and i have defined 
the style of the rectangle in a seperate style sheet(.css). I wanted to 
change the stroke color of the rectangle programatically. I tried 
assigning the stroke property as:

rect= document.getElementById("Element ID");
rect.setAttribute("stroke",'color'). But it always stays the same color 
as defined in the style sheet. Is there a way to alter the attributes 
as stroke, fill etc., which are pre-defined in a seperate style sheet.

Any input is greatly appreciated,

Thanks
Nathan.







 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] SVG Forms

2005-10-20 Thread sent1729
Hi all,

Is it possible to create an SVG form (like a VB or HTML from) that can 
be used to data from the user and select svg elemts based on that.

In my application I am trying to selector add or delete svg elements 
(lines, polylines and points) based on the attributes associated with 
the elements. I wanted to create a user form where the user can enter 
the data for search and then add/delete/select an svg element.

I am using batik squiggle svg viewer.

Please help with any input.

Thanks
Nathan.






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: Problem in seeing the Java variable in java script

2005-10-19 Thread sent1729
Thanks Thomas DeWeese we coomented some lines in .Interpreter 
ans .shutter class files and now it is working.

ThanK you very much for all you help.

Nathan.





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






[svg-developers] Problem in seeing the Java variable in java script

2005-10-19 Thread sent1729
Thomas DeWeese,

 I tried to look in to 'bindObject' method on the 
batik.script.Interpreter, but I could not understand how to bind any 
java object from this 'bindObject' method. Can you please provide any 
links that explains how to do it.

Also this is what I did with RhinoInterpreter.java and 
RhinoClassShutter.java:

In RhinoInterpreter.java for the enterContext class we commented out
ctx.setClassShutter(new RhinoClassShutter());
additionally, we added "org.apache.batik.apps.svgbrowser" to the 
TO_BE_IMPORTED array as this is where the GPS class resides that we 
are trying to access the variable. This was done with the assumption 
that it would make the classes within 
org.apache.batik.apps.svgbrowser visiable to javascript within the 
SVG document.

In the RhinoClassShutter.java we commented out the if statements for 
visibleToScripts so it only returns true. I assume that this doesn't 
make a difference since we commented out
ctx.setClassShutter(new RhinoClassShutter()); in RhinoInterpreter.java

When trying to access org.apache.batik.apps.svgbrowser from 
javascript in SVG we get a message stating there is no public 
interface or method
Example in javascript inside a SVG doc we have the following line:
var f = Packages.org.apache.batik.apps.svgbrowser.ReadGPS.gpgga;
We get the following error:
SVG Error:  Java class "org.pache.batik.apps.svgbrowser.ReadGPS" 
has no public interface or method named "gpgga". (Inline.)
The same error happens when trying to access the method that reurns 
the variable as a string getGPGGA()

Any input is greatly apprectiated.

Thanks
Nathan.










 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






[svg-developers] Problem in seeing the Java variable in java script

2005-10-19 Thread sent1729
Cameron McCormack,

Yes now iam able to access the other packages by adding 
prefix "Packages",.

I am running a java class file and i would like to see a variable 
that is inside the java class from the javascript.

This is what I do,

IN JAVA
package org.apache.batik.apps.svgbrowser;

public class someClass{ 

static String gpgga;

public someClass (){

//code to get serialportdata
gpgga = new String(currLine.toString()); 
}   
public String getGPGGA(){
return gpgga;
}
}

In another class of the same package the following code displays the 
variable data:
JOptionPane.showMessageDialog(null, ReadGPS.gpgga);


In JAVA SCRIPT
In java script we try to set a variable equal to 
var f = Packages.org.apache.batik.apps.svgbrowser.someClass.getGPGGA
();
alert(f);
and we get an SVG error:
[JavaPackage 
org.apache.batik.apps.svgbrowser.JSVGViewerFrame.GPSLogger] is not a 
fucntion.

We have tried other combinations of calling the data like":

var f = Packages.org.apache.batik.apps.svgbrowser.someClass.gpgga 
or
var f = Packages.org.apache.batik.apps.svgbrowser.someClass.getGPGGA;

and have the same problem.

Please help with any input.

Thanks
Nathan.









 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






[svg-developers] Call Java function from javascript.

2005-10-18 Thread sent1729
Hi all,

I am able to access all classes inside the java packages that 
start with word 'java' and all the other packages that doesn't start 
with word java(for example: javax, com,org ect) are inaccessible. 

for example if i say java.util.Date from with in javascript iam able 
to get the date information, but on the other hand if I say 
javax.swing.(Anything) is not recognized and it errors out.

error message:org is not defined.

All I am trying to do is to call some packages (from java script) 
that are with in Batik application itself.

am I missing something here.

Please help with any input.

Thanks,
Nathan.







 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






[svg-developers] get java variable inside svg document

2005-10-17 Thread sent1729
Hi All,
 
   I am using batik squiggle as svg viewer.Is it possible to call a 
java function or get the value of a function in a java class 
(implemented in Batik) from with in an svg document.

Thanks for any input,

Nathan.





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






[svg-developers] use element

2005-10-04 Thread sent1729
Hi all,

I wanted to use "use" element for an object that is sitting in 
different svg file.
I am able to do this if the svg file where the object resides is in 
the same folder as the source svg file. but if the object svg file is 
in diffrent directory or folder iam not able to navigate to it.

This is what I did.

This works: (if symbol_library.svg is in same location as the source 
svg file)
var symbolRef = "symbol_library.svg#symbol";
useData.setAttributeNS
("http://www.w3.org/1999/xlink","xlink:href",symbolRef);

This does not work (if symbol_library.svg is in different location as 
the source svg file)

var symbolRef = "C:/SVG/Test Folder/symbol_library.svg#symbol";
useData.setAttributeNS
("http://www.w3.org/1999/xlink","xlink:href",symbolRef);

I am getting the error message:
A security exception occured while processing the URI:
"C:/SVG/Test Folder/symbol_library.svg#symbol"
specified on the element 

I understand that it is not a valid URI, but I do not know how to 
resolve it.

Any help would be greatly appreciated.

Thanks
Nathan.





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Forms in SVG

2005-09-20 Thread sent1729
Hi everybody,

  I wanted to know if it is possible to create forms in 
svg, like the forms in VB or any VBA application. My goal is to create 
a textbox or a combobox where I can enter a text value and pass the 
text value to ECMAscripts that is inside an svg file (I am using Batik 
SVG viewer), based on which I can perform queries on the svg document.
Is there any other alternatives other than using forms?

Thanks for any input.

Nathan.




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Problem with getIntersectionList

2005-08-22 Thread sent1729
Hi all,

I want to find all the elements that intersect a circle of a 
specified radius (I am using Batik squiggle browser). I have tried 
mySVGSVGElement.getIntersectionList(rect,referenceelement), but it only 
gives me the nodelist for the elements the intersects a specified 
rectangle. Is it possible to do the same thing with a specified circle.

Any help is greatly appreciated.

Thanks
Nathan.




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hv20orf/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1124722529/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] compute width and height of browser window

2005-08-11 Thread sent1729
Hi everybody,

In internet explorer I am could use window.innerWidth and 
window.innerHeight to obtain the width and height of browser window. I 
could not use the same command (it says "undefined") in Batik Squiggle 
to get the width and height parameters of the batik browser window. Is 
there a way to retrieve the width and height parameters of the browser 
in batik squiggle.

Thanks in advance for any input

Nathan.




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hnq2ah1/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123796318/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Real time map animation in svg

2005-08-09 Thread sent1729
Hi all,

I am trying to build an application for real time mapping using SVG.I 
would greatly appreciate any suggestion. 

I am using Apache squiggle browser. I would like to show the GPS 
points that I collect moving in real time on the browser. I am 
planning on using a java program that can communicate to the com-port 
and writes the NMEA strings to a text file(I have done this using VBA 
in AutoCAD map). I have conversion routines that converts the raw 
lat/lon to the SVG coordinates in which the raster and vector layers 
are displayed (I've already got the georeferenced vector layers and 
the raster aerial imagery to display on the svg browser).

Now is it possible to see the GPS point(in SVG coordinates) moving 
real time on the screene?. In other words, it should be like a GPS 
navigation tool that tracks and shows the motion of any vehicle on 
the screen(with raster and vector layers) based on the input from the 
GPS reciever.

Thanks for any input.
Nathan.










 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h68fpm9/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123618844/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: Viewing Muliple SVG files in Svg Browser

2005-08-05 Thread sent1729
Hi Holger,

Thank you very much for your suggestion. Can you please elaborate 
on the thrid option that you gave:getURL() to load  the layers, and 
append them to DOM.

Do you mean to get the svg file and append it to the existing svg 
file and display the appended file?

Thanks
Nathan.





--- In svg-developers@yahoogroups.com, Holger Will <[EMAIL PROTECTED]> 
wrote:
> sent1729 schrieb:
> 
> > Hi all,
> >
> > I am using Batik Squiggle as my SVG browser. I would like to know 
if it
> > is possible to display multiple svg files one layered on top of 
each in
> > the browser.Because right now if I am able to achieve this by
> > incoorporating all my svg files in to a single svg file. But if I 
have
> > different layers of information stored in many svg files, then 
how to
> > display them one on top of each other by selecting one at time.
> >
> >
> > Thanks for any input
> >
> > Nathan.
> >
> Hi Nathan
> 
> you could use  and  tag like this:
> 
> 
> 
> the disadvantage here, is that you cant access the DOM of your 
layers 
> anymore.
> you could also use  the  Element to reference external SVG 
> fragments, but note that this currently only works in Batik.
> 
> 
> a third option which is the most flexible one is to use getURL() to 
load 
> the layers, and append them to your DOM.
> 
> you might want to look at carto.net s  fantastic collection of map 
examples
> http://www.carto.net/papers/svg/samples/
> 
> cheers
> Holger




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12ho9tufh/M=362335.6886445.7839731.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123261366/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Viewing Muliple SVG files in Svg Browser

2005-08-03 Thread sent1729
Hi all,

I am using Batik Squiggle as my SVG browser. I would like to know if it 
is possible to display multiple svg files one layered on top of each in 
the browser.Because right now if I am able to achieve this by 
incoorporating all my svg files in to a single svg file. But if I have 
different layers of information stored in many svg files, then how to 
display them one on top of each other by selecting one at time.


Thanks for any input

Nathan.





 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hfdp3pt/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123092355/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] svg width and height

2005-07-28 Thread sent1729
I have a basic svg question

These are the two svg files that I display on squiggle browser.












The only difference between the first and the second file is that the 
svg width and height are different. but this difference does not seem 
to impact the graphic that is displayed on the screen.

My question is if the difference does not seem to impact the view of 
the graphic content, then what is the purpose of the width and height 
attributes?

Thanks for any input.

Nathan.





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: viewport and viewBox

2005-07-27 Thread sent1729
Thank You very much Bart, that helped a lot.

Nathan




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] viewport and viewBox

2005-07-26 Thread sent1729
Hi all,

Can anyone please help me understand the relation between 
viewport and viewbox.
when I say
, what does that mean?. I understand 
that it is the area of the canvas that I want use for my drawing, but 
what is the sense of the area 200X200.

what is a viewbox and why do we need that.
The book "SVG Essentials" says that: to accomplish an effect where to 
represent a system where each user coordinate represents 1/16 of a cm 
we need to have a viewbox. But I could not understand the sense in 
which the viewbox is introduced.

Any help would be appreciated.

Thanks
Nathan.






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: SVG for GIS application

2005-07-22 Thread sent1729
Thank you very much Bart. All the answers that you gave was very useful.
I check out Apache's Batik Squiggle SVG viewer. It was what I was 
looking for. Thanks again for extending my knowledge in SVG.

The thought that you gave about converting GML to SVG on the fly was 
wonderful idea. I check out the link that you suggested, but it was 
written in German or some other language (definitely not English). 
Can you send me some other link that is in English.

Thanks
Nathan.





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] SVG for GIS application

2005-07-20 Thread sent1729
Hi all,

I have two questions:

1. Can anyone tell me how to convert GML to SVG format. I have read 
articles that says XSLT engine transforms GML to SVG but I dont know 
how to go about doing it?

2. Can I assign a coordinate projection to SVG viewport. In other 
words, after converting the GML data to SVG and viewing it in an SVG 
viewer, can I display the lat/lon information of the GIS layer by 
pointing mouse on the screen. If it is possibly then how?

Any help is greatly appreciated,

Thanks in advance for any input.

Nathan.






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Stand-alone SVG Viewer

2005-07-20 Thread sent1729
Hi All,

I am new to the SVG world. I have read some articles on SVG that says 
there are stand alone SVG viewers available, but I haven't come across 
one. I have tried viewers distributed as plug-in (Adobe SVG Viewer) but 
want some stand alone viewers. Any help would be greatly appreciated.

Thanks in advance for any input.

Nathan.





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/