Hi, See below .qml file which gives a more pleasant result. For those who might not know how to use this: copy-paste the following in an empty plain text file and save it as mystyle.qml Then in layer properties, click on button to open a style. Should work with 1.7.0 as well. Mayeul
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> <qgis version="1.8.0-Trunk" minimumScale="0" maximumScale="1e+08" hasScaleBasedVisibilityFlag="0"> <transparencyLevelInt>255</transparencyLevelInt> <renderer-v2 symbollevels="1" type="singleSymbol"> <symbols> <symbol outputUnit="MM" alpha="1" type="line" name="0"> <layer pass="0" class="SimpleLine" locked="0"> <prop k="capstyle" v="round"/> <prop k="color" v="166,166,166,255"/> <prop k="customdash" v="5;2"/> <prop k="joinstyle" v="round"/> <prop k="offset" v="0"/> <prop k="penstyle" v="solid"/> <prop k="use_custom_dash" v="0"/> <prop k="width" v="6.26"/> </layer> <layer pass="1" class="SimpleLine" locked="0"> <prop k="capstyle" v="round"/> <prop k="color" v="255,255,0,255"/> <prop k="customdash" v="5;2"/> <prop k="joinstyle" v="round"/> <prop k="offset" v="0"/> <prop k="penstyle" v="solid"/> <prop k="use_custom_dash" v="0"/> <prop k="width" v="4.8"/> </layer> <layer pass="2" class="SimpleLine" locked="0"> <prop k="capstyle" v="round"/> <prop k="color" v="160,160,160,255"/> <prop k="customdash" v="5;2"/> <prop k="joinstyle" v="round"/> <prop k="offset" v="0"/> <prop k="penstyle" v="solid"/> <prop k="use_custom_dash" v="0"/> <prop k="width" v="4.26"/> </layer> <layer pass="3" class="SimpleLine" locked="0"> <prop k="capstyle" v="round"/> <prop k="color" v="255,255,255,255"/> <prop k="customdash" v="5;2"/> <prop k="joinstyle" v="round"/> <prop k="offset" v="0"/> <prop k="penstyle" v="dash"/> <prop k="use_custom_dash" v="0"/> <prop k="width" v="0.26"/> </layer> </symbol> </symbols> <rotation field=""/> <sizescale field=""/> </renderer-v2> <customproperties/> <displayfield>FNODE_</displayfield> <label>0</label> <labelattributes> <label fieldname="" text="Etichetta"/> <family fieldname="" name="Sans"/> <size fieldname="" units="pt" value="12"/> <bold fieldname="" on="0"/> <italic fieldname="" on="0"/> <underline fieldname="" on="0"/> <strikeout fieldname="" on="0"/> <color fieldname="" red="0" blue="0" green="0"/> <x fieldname=""/> <y fieldname=""/> <offset x="0" y="0" units="pt" yfieldname="" xfieldname=""/> <angle fieldname="" value="0" auto="0"/> <alignment fieldname="" value="center"/> <buffercolor fieldname="" red="255" blue="255" green="255"/> <buffersize fieldname="" units="pt" value="1"/> <bufferenabled fieldname="" on=""/> <multilineenabled fieldname="" on=""/> <selectedonly on=""/> </labelattributes> <edittypes> <edittype type="0" name="CODICE"/> <edittype type="0" name="CODIFICA"/> <edittype type="0" name="FNODE_"/> <edittype type="0" name="LENGTH"/> <edittype type="0" name="LPOLY_"/> <edittype type="0" name="NOME"/> <edittype type="0" name="RPOLY_"/> <edittype type="0" name="STATALI_"/> <edittype type="0" name="STATALI_ID"/> <edittype type="0" name="TIPO"/> <edittype type="0" name="TNODE_"/> </edittypes> <editform></editform> <editforminit></editforminit> <annotationform></annotationform> <attributeactions/> </qgis> Le mercredi 11 mai 2011 à 10:16 +0200, Paolo Cavallini a écrit : > Il 10/05/2011 19:46, Mayeul Kauffmann ha scritto: > > Hi Paolo, > > I would just make everything round (cap and join) but then maybe > > problem with the offset. > > Yes, I think the offset is the culprit here. > > > You also need symbol levels ON on because you have several roads. > > I think this is the point, but I do not quite understand how it works. > > > Your qml looks almost perfect by me (see attachment), so if the above s > > does not work, I can help more but need a sample file (your scale is > > strange: "30 000 gradi"???) > > I did not care about projection, it was just a quick snapshot. > All _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
