You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Uttam Rao <ut...@navigon.de> on 2001/10/10 23:42:41 UTC

where is JSVGApplet not available in batik1.0

Hello,

I have downloaded batik1.0 from apache site. But its not showing files like
JSVGApplet etc.
Also files like batik-svgviewer.jar which are mentioned in the examples to
be used with applets are not available.
Or is there any other method to show svg on the applets.

Could you please help.
Regards
Uttam



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: where is JSVGApplet not available in batik1.0

Posted by Vincent Hardy <vi...@sun.com>.
Uttam,

I would add that JavaWeb Start seems a better option to deploy
Java-based
SVG viewing to clients. You can see a demo of that in action at:

http://xml.apache.org/batik/demo.html

Vincent.

Thierry Kormann wrote:
> 
> On Wednesday 10 October 2001 23:42, Uttam Rao wrote:
> > Hello,
> >
> > I have downloaded batik1.0 from apache site. But its not showing files like
> > JSVGApplet etc.
> > Also files like batik-svgviewer.jar which are mentioned in the examples to
> > be used with applets are not available.
> > Or is there any other method to show svg on the applets.
> 
> The JSVGApplet was big and difficult to use or demonstrate. We decided to not
> provide this class anymore. Anyway, you can easily create yours using the
> JSVGCanvas from the org.apache.batik.swing package.
> 
> Thierry.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: where is JSVGApplet not available in batik1.0

Posted by Bill Haneman <bi...@sun.com>.
Uttam Rao wrote:
> 
> Hi Thierry,
> 
>  Do you think it as a correct way to use SVG for displaying route maps.
> If we use jpeg then we send only a small portion of map for a specific zoom
> level. When the user moves right of left then the server sends a new map for
> the corrosponding position.
> But in SVG we are forced to send the whole map irrespective of which
> location user is watching.
> And its a major band-width problem for us.
> 
> Also zooming feature is not so useful for us because it only magnifies the
> same image. But in our case when we zoom we are supposed to show extra
> information about that area.
> 
> The biggest problem is when the user explore deeper and deeper in the map.
> If a user is viewing a route from one end of the germany to another end we
> are forced to send the whole map which covers his route.
> 
> So I am doubtful whether SVG is a right choice for us or not ?

It seems to me that this is precisely the kind of use case that SVG was
designed to excel for.

One thing you can do of course is attach styling information to the SVG
elements, and then change stylesheets based on the zoom level - this
will result in differeny degrees of detail being displayed, without
needing to regenerate or retransmit the map.

I also agree that segmenting the map (into separate tiles) could be
useful in some situations, particularly if the original complete map is
too big if sent with all the details... you could have a low-res map for
low zoom factors, and lots of detailed tiles with styled subelements for
the closeup views.

-Bill

 
> Please comment on it.
> 
> Regards
> Uttam

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: where is JSVGApplet not available in batik1.0

Posted by Thierry Kormann <tk...@ilog.fr>.
On Thursday 18 October 2001 10:14, Uttam Rao wrote:
> Hi Thierry,
>
>  Do you think it as a correct way to use SVG for displaying route maps.
> If we use jpeg then we send only a small portion of map for a specific zoom
> level. When the user moves right of left then the server sends a new map
> for the corrosponding position.
> But in SVG we are forced to send the whole map irrespective of which
> location user is watching.
> And its a major band-width problem for us.
>
> Also zooming feature is not so useful for us because it only magnifies the
> same image. But in our case when we zoom we are supposed to show extra
> information about that area.
>
> The biggest problem is when the user explore deeper and deeper in the map.
> If a user is viewing a route from one end of the germany to another end we
> are forced to send the whole map which covers his route.
>
> So I am doubtful whether SVG is a right choice for us or not ?

sure SVG is the right choice.

As your major problem is the band-width (sending the whole map) and probably 
the performance of svg rendering - what about sending some small pieces of 
svg that represent a part of a map.

You can then go back to the server and send another part of the map according 
to a pan or zoom event. Implementing a logical zoom is doable in SVG.

I agree that this solution is more complex to develop compared to sending the 
whole map to the client - but it sounds more reasonable to me and should 
provide better performance.

Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


RE: where is JSVGApplet not available in batik1.0

Posted by Uttam Rao <ut...@navigon.de>.
Hi Thierry,

 Do you think it as a correct way to use SVG for displaying route maps.
If we use jpeg then we send only a small portion of map for a specific zoom
level. When the user moves right of left then the server sends a new map for
the corrosponding position.
But in SVG we are forced to send the whole map irrespective of which
location user is watching.
And its a major band-width problem for us.

Also zooming feature is not so useful for us because it only magnifies the
same image. But in our case when we zoom we are supposed to show extra
information about that area.

The biggest problem is when the user explore deeper and deeper in the map.
If a user is viewing a route from one end of the germany to another end we
are forced to send the whole map which covers his route.

So I am doubtful whether SVG is a right choice for us or not ?

Please comment on it.

Regards
Uttam

-----Original Message-----
From: Thierry Kormann [mailto:tkormann@ilog.fr]
Sent: Thursday, October 18, 2001 9:57 AM
To: batik-dev@xml.apache.org; Uttam Rao
Subject: Re: where is JSVGApplet not available in batik1.0


On Wednesday 17 October 2001 15:07, Uttam Rao wrote:
> Hi Thierry,
>
> Thanks for your response.
>
> We are trying to show maps on the browser in svg format.
> Our components are reading the data available in our proprietery database
> and generate svg maps out of it.
> we are getting StackOverflowError.
>
> Please find attached an svg file, java file and error file.
>
> Could you please help.
> Also please see the jar files in the classpath which we have to include,
In
> case if we want to use this application as an applet then do we have to
> send all this jar files to the client browser.

I have just commited a bug fix. The map seems to work even though it's one
of
the biggest svg file I've ever seen :)

Thierry.



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: where is JSVGApplet not available in batik1.0

Posted by Thierry Kormann <tk...@ilog.fr>.
On Wednesday 17 October 2001 15:07, Uttam Rao wrote:
> Hi Thierry,
>
> Thanks for your response.
>
> We are trying to show maps on the browser in svg format.
> Our components are reading the data available in our proprietery database
> and generate svg maps out of it.
> we are getting StackOverflowError.
>
> Please find attached an svg file, java file and error file.
>
> Could you please help.
> Also please see the jar files in the classpath which we have to include, In
> case if we want to use this application as an applet then do we have to
> send all this jar files to the client browser.

I have just commited a bug fix. The map seems to work even though it's one of 
the biggest svg file I've ever seen :)

Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


RE: where is JSVGApplet not available in batik1.0

Posted by Uttam Rao <ut...@navigon.de>.
Hi Thierry,

Thanks for your response.

We are trying to show maps on the browser in svg format.
Our components are reading the data available in our proprietery database
and generate svg maps out of it.
we are getting StackOverflowError.

Please find attached an svg file, java file and error file.

Could you please help.
Also please see the jar files in the classpath which we have to include, In
case if we want to use this application as an applet then do we have to send
all this jar files to the client browser.

Thanks and Regards
Uttam

-----Original Message-----
From: Thierry Kormann [mailto:tkormann@ilog.fr]
Sent: Wednesday, October 17, 2001 1:54 PM
To: batik-dev@xml.apache.org; Uttam Rao
Subject: Re: where is JSVGApplet not available in batik1.0


On Wednesday 10 October 2001 23:42, Uttam Rao wrote:
> Hello,
>
> I have downloaded batik1.0 from apache site. But its not showing files
like
> JSVGApplet etc.
> Also files like batik-svgviewer.jar which are mentioned in the examples to
> be used with applets are not available.
> Or is there any other method to show svg on the applets.

The JSVGApplet was big and difficult to use or demonstrate. We decided to
not
provide this class anymore. Anyway, you can easily create yours using the
JSVGCanvas from the org.apache.batik.swing package.


Thierry.



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: where is JSVGApplet not available in batik1.0

Posted by Thierry Kormann <tk...@ilog.fr>.
On Wednesday 10 October 2001 23:42, Uttam Rao wrote:
> Hello,
>
> I have downloaded batik1.0 from apache site. But its not showing files like
> JSVGApplet etc.
> Also files like batik-svgviewer.jar which are mentioned in the examples to
> be used with applets are not available.
> Or is there any other method to show svg on the applets.

The JSVGApplet was big and difficult to use or demonstrate. We decided to not 
provide this class anymore. Anyway, you can easily create yours using the 
JSVGCanvas from the org.apache.batik.swing package.


Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org