You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Felipe Gaúcho <ga...@atlantico.com.br> on 2003/03/20 14:10:01 UTC

dynamic cache ideas

Dear friends,

I´m trying to implement a kind of "dynamic cache" to treat monster SVG files
representing GML objects.

The problem: I have a million objects GML file, and I needto convert it to a
SVG file.

The guess: Include in the SVG file some kind of "quadrant" information,
providing an easy way to detect when to load a set of objetcs. Each of
theese quadrants are part of a separate svg, which is select depending of
the current drwaing coordinates ...

any other tip? SVG has some similar functionality ?

best regrads,

	Felipe Gaúcho


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


RE: dynamic cache ideas

Posted by Thomas E Deweese <th...@kodak.com>.
>>>>> "FG" == Felipe Gaúcho <ga...@atlantico.com.br> writes:

FG> I´m trying to implement a kind of "dynamic cache" to treat monster
FG> SVG files representing GML objects.

FG> The problem: I have a million objects GML file, and I needto
FG> convert it to a SVG file.

FG> The guess: Include in the SVG file some kind of "quadrant"
FG> information, providing an easy way to detect when to load a set of
FG> objetcs. Each of theese quadrants are part of a separate svg,
FG> which is select depending of the current drwaing coordinates ...

FG> any other tip? SVG has some similar functionality ?

    Currently SVG does not have native support for this.  You may be
able to fake some of it with script (get screenCTM, getViewport, etc).  

    However, Batik has an extension element that probably does exactly
what you want.  It is the 'multiImage' element, you can see an example
in samples/extensions/multi.svg and samples/extensions/multi2.svg
(multi2.svg is closer to what you want I think).

    Remember that this is _NOT_SVG_ if you use this your content will
be non-conformant svg and other viewers will ignore these elements.
There is some chance that something like this might one day be part of
SVG but right now you will be off in your own little world if you use
this.



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