Hi Julie,

I still don't understand if you generate the circles in the client, using 
Javascript or on the 
server.

In the first case, that might be one of the reasons why it is very slow.

If you generate the circles on the server, than you can as well aggregate the 
circles.

I had a similar problem where I had to display thens of thousands of positions 
in a map. I 
ended up aggregating the elements using SQL functions in the database. Every 
time the 
user zooms and pans he would just download and see the portion of the map he 
navigated 
to. The more the user zoomed in the less the positions where aggregated. It 
really worked 
well and with no loss of quality. It makes no sense to display thousands of 
elements if they 
all overlap and just create one big soup of circles ...

Otherwise you might also want to look at other technologies besides SVG. SVG 
does not fit 
everywhere. Or wait for a better SVG viewer ... or create a raster version of 
your SVG and 
send the raster to the client.

Andreas

--- In svg-developers@yahoogroups.com, julie gautier <[EMAIL PROTECTED]> wrote:
> Thanks for your quick answer.
>  
> In my svg file, I have first a javascript section that contains an array that 
> have the same 
nb of lines (36000)
> Then here is a part of my svg file section where circles are drawn :
>  
> <svg x="5" y="5" width="600px" height="550px" viewBox="-98726 -98726 1238168 
1134010">
> <g>
> <rect x="-98726" y="-98726" width="1238168" height="1134010" 
style="stroke:black; stroke-width:1031; fill:black"/>
> <g>
> <image id="image" xlink:href="image.gif" x="-98726" y="-98726" 
> width="1238168" 
height="1134010" style="visibility:visible;"/>
> <g id="Symboles" style="stroke:none; stroke-width:1031" onmouseover="mousover
(evt);" onmouseout="mousout(evt);">
> <circle id="symb0" cx="537169.48" cy="4524.21" r="35127.501810942" 
> style="fill:rgb
(152,358,0)"/>
> <circle id="symb1" cx="474671.64" cy="182166.81" r="32215.4700637596" 
style="fill:rgb(58,452,0)"/>
> <circle id="symb2" cx="696750.44" cy="769029.75" r="29526.822949676" 
style="fill:rgb(295,215,0)"/>
> <circle id="symb3" cx="653162.5" cy="511552.63" r="27364.2687989864" 
style="fill:rgb(307,203,0)"/>
> <circle id="symb4" cx="471007.34" cy="0" r="26407.6201989595" style="fill:rgb
(138,372,0)"/>
> <circle id="symb5" cx="467575.06" cy="183184.15" r="26155.1226014087" 
style="fill:rgb(226,284,0)"/>
> <circle id="symb6" cx="484623.01" cy="175353.69" r="25894.6173775417" 
style="fill:rgb(118,392,0)"/>
> <circle id="symb7" cx="437859.34" cy="186683.17" r="25405.8633691262" 
style="fill:rgb(265,245,0)"/>
> <circle id="symb8" cx="243907.63" cy="626090.12" r="24624.8970883142" 
style="fill:rgb(367,143,0)"/>
> <circle id="symb9" cx="379548.22" cy="92507.34" r="24440.4508132736" 
style="fill:rgb(168,342,0)"/>
> <circle id="symb10" cx="483975.64" cy="190959.26" r="24342.4206115673" 
style="fill:rgb(154,356,0)"/>
> ...
> </g>
> </g>
> </g>
> </svg>
> 
> I use the Adobe SVG viewer on IE6, on Windows XP, 2.6 GHz and 1Go RAM.
> 
> And I do need to display those 36000 circles : the eye can't see them 
> individually but 
can have a global view which I don't want to reduce...
> Thanks again for your help






------------------------ 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/
 




Reply via email to