<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi list,</div><div>I wan't to set a square symbol in a point layer with python.</div><div><br></div><div>Currently, I use a graduated symbol legend, and I have a circle (point) symbol with this line for each item:</div><div><br></div><div>symbol = QgsSymbolV2.defaultSymbol(layer.geometryType())</div><div><br></div><div><span style="font-size: 12pt;">But I want to set a square for one item.</span></div><div><br></div><div>How can I do?</div><div><br></div><div>Thanks,</div><div>Stefano</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><span name="x"></span>Stefano Masera<br>Arpa Piemonte - SC06 Dipartimento Provinciale di Torino<br>Via Pio VII, 9 - 10135 Torino<br>Tel.: 011 19680349; Fax: 011 19681441<br>www.arpa.piemonte.it<br><div><br></div>************************************************************************<br>Riservatezza/Confidentiality<br><div><br></div>In ottemperanza al D.Lgs. n. 196 del 30/06/03 in materia di protezione<br>dei dati personali, le informazioni contenute in questo messaggio sono<br>strettamente riservate ed esclusivamente indirizzate al destinatario<br>indicato (oppure alla persona responsabile di rimetterlo al<br>destinatario). Vogliate tener presente che qualsiasi uso, riproduzione o<br>divulgazione di questo messaggio sono vietati. Nel caso in aveste<br>ricevuto questo messaggio per errore, vogliate cortesemente avvertire il<br>mittente e distruggere il presente messaggio.<br><div><br></div>According to italian law D.lgs. 196/2003 concerning privacy, if you are<br>not the addressee (or responsible for delivery of the message to such<br>person) you are hereby notified that any disclosure, reproduction,<br>distribution or other dissemination or use of this communication is<br>strictly prohibited. If you have received this message in error, please<br>destroy it and notify us by email.<span name="x"></span><br></div><div><br></div></div></body></html>