<HTML><HEAD><TITLE>Re: [Gvsig_english] SQRT and proportional symbols</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText39653>
<DIV><FONT face="Times New Roman" color=#000000 size=3>Hello Simon,</FONT></DIV>
<DIV> </DIV>
<DIV>Thanks for your feed-back.</DIV>
<DIV> </DIV>
<DIV>Those symbols are intended to be proportional to the population of each city or town. For example we can see at a glance that the population of Rome is about 4 times the population of Turin (north-west). If you add a constant value inside the formula (such as PI) the proportion between the resulting circles remains unchanged so there is not a difference. In any case, you always have to tune the size of the largest circle, so that it's not too big for the map. So you don't need to add constants to the formula, just keep the Sqrt because if provides the right transformation (in terms of proportion).</DIV>
<DIV> </DIV>
<DIV>Apart from that, this example illustrates the advantage of 2D symbols over traditional charts:</DIV>
<DIV> </DIV>
<DIV><A href="http://www.prodevelop.es/files/fm/public/downloads/documents/screenshots/gvsig_desktop/circle_sym.pdf">http://www.prodevelop.es/files/fm/public/downloads/documents/screenshots/gvsig_desktop/circle_sym.pdf</A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV><FONT face="Courier New" size=2><FONT face="Times New Roman" size=3>Juan Lucas Domínguez Rubio<BR></FONT>---</FONT></DIV></DIV>
<DIV id=idSignature55014>
<DIV><FONT face="Courier New" size=2><FONT face="Courier New" size=2><FONT face="Courier New" size=2>Prodevelop SL, Valencia (España)</FONT></DIV>
<DIV>
<DIV><FONT face="Courier New" size=2>Tlf.: 96.351.06.12 -- Fax: 96.351.09.68<BR></FONT><A href="http://www.prodevelop.es/"><FONT face="Courier New" size=2>http://www.prodevelop.es</FONT></A><BR><FONT face="Courier New" size=2>---</FONT></DIV></FONT></DIV></FONT></DIV>
<DIV><BR>
<HR>
<FONT face=Tahoma size=2><B>De:</B> gvsig_internacional-bounces@listserv.gva.es en nombre de Simon Cropper (Botanicus Australia Pty Ltd)<BR><B>Enviado el:</B> mar 02/02/2010 23:13<BR><B>Para:</B> Users and Developers mailing list<BR><B>Asunto:</B> Re: [Gvsig_english] SQRT and proportional symbols<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Juan Lucas,<BR><BR>You map looks really good.<BR><BR>I was thinking however that if your NUMERIC_FIELD represents population<BR>size<BR>assuming the circle area in the legend field is calculated using radius<BR>wouldn't<BR>NEW_FIELD = SQRT(NUMERIC_FIELD/PI()) give you a better estimate?<BR><BR>Cheers Simon<BR><BR>Simon Cropper<BR>Botanicus Australia Pty Ltd<BR>PO Box 160, Sunshine, Victoria 3020.<BR>P: 9311 5822. M: 041 830 3437.<BR>mailto: scropper@botanicusaustralia.com.au<BR><<A href="mailto:scropper@botanicusaustralia.com.au">mailto:scropper@botanicusaustralia.com.au</A>><BR>web: www.botanicusaustralia.com.au <<A href="http://www.botanicusaustralia.com.au/">http://www.botanicusaustralia.com.au</A>><BR><BR><BR>On 3/02/2010 4:57 AM, Juan Lucas Dominguez Rubio wrote:<BR>> Hello.<BR>> If your vector layer has a numeric field, you can do this:<BR>> - Add a new field of type DOUBLE<BR>> - Use the function SQRT in the field calculator so that<BR>> NEW_FIELD = SQRT(NUMERIC_FIELD)<BR>> - In the symbology dialog, choose 'proportional symbol' with your<BR>> favorite settings.<BR>> This is what you'll get:<BR>> <A href="http://www.prodevelop.es/files/fm/public/downloads/documents/screenshots/gvsig_desktop/ita.html">http://www.prodevelop.es/files/fm/public/downloads/documents/screenshots/gvsig_desktop/ita.html</A><BR>> Circle area (not diameter) is proportional to population.<BR>> Regards,<BR>> Juan Lucas Domínguez Rubio<BR>> ---<BR>> Prodevelop SL, Valencia (España)<BR>> Tlf.: 96.351.06.12 -- Fax: 96.351.09.68<BR>> <A href="http://www.prodevelop.es/">http://www.prodevelop.es</A> <<A href="http://www.prodevelop.es/">http://www.prodevelop.es/</A>><BR>> ---<BR>><BR>><BR>> _______________________________________________<BR>> Gvsig_internacional mailing list<BR>> Gvsig_internacional@listserv.gva.es<BR>> <A href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</A><BR>> <BR>_______________________________________________<BR>Gvsig_internacional mailing list<BR>Gvsig_internacional@listserv.gva.es<BR><A href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</A><BR></FONT></P></DIV></BODY></HTML>