Hello, <br>
could somebody plz help me in changing point feature to image.<br>
thanks<br>
cheers<br>
satya<br><br><div><span class="gmail_quote">On 2/15/07, <b class="gmail_sendername">satya satya</b> <<a href="mailto:satya341@gmail.com">satya341@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi tim,<br>I have done till that point.<br>I was able to set
color, fill color and fill pattern but didn't find
functions to change those points to some image.<br>Thanks for your time.<br>cheers<br><span class="sg">satya.</span><div><span class="e" id="q_110c8d9bb4d4225e_2"><br><br><div>
<span class="gmail_quote">On 2/15/07, <b class="gmail_sendername">Tim Sutton</b> <<a href="mailto:tim@linfiniti.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tim@linfiniti.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br><br><br>here is a short snipet that may help:<br><br> 914 if (mypVectorLayer->isValid())<br> 915 {<br> 916 qDebug("Vector Layer is valid");<br> 917 }<br> 918 else<br> 919 {
<br> 920 qDebug("Vector Layer is NOT valid");<br> 921 return;<br> 922 }<br> 923 QgsSymbol * mypSymbol = new QgsSymbol(mypVectorLayer->vectorType());<br> 924 mypSymbol->setFillColor(Qt::black);
<br> 925 mypSymbol->setColor(Qt::white); //outline<br> 926 mypSymbol->setPointSize(5);<br> 927 mypSymbol->setFillStyle(Qt::SolidPattern);<br> 928 QgsSingleSymbolRenderer *mypRenderer = new<br>
QgsSingleSymbolRenderer(mypVectorLayer->vectorType());<br> 929 mypRenderer->addSymbol(mypSymbol);<br> 930 mypVectorLayer->setRenderer(mypRenderer);<br><br>regards<br><br>Tim<br><br>2007/2/15, Tim Sutton <
<a href="mailto:tim@linfiniti.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tim@linfiniti.com</a>>:<br>> Hi<br>><br>> I suggest looking in the source code of qgis at the vector properties
<br>> dialog (qgsvectorpropertiesdialog.cpp from memory) as it should give
<br>> you some useful hints on how to proceed.<br>><br>> Regards<br>><br>> Tim<br>><br>> 2007/2/15, satya satya <<a href="mailto:satya341@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
satya341@gmail.com</a>>:<br>> > Hello,<br>
> > I
am trying to develop a interface which just displays shpe files.<br>> > I followed one of the tutorials on <a href="http://qgis.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">qgis.org</a>
webiste and i was able to do<br>> > that.<br>
> > Now i want to change some of the display features.<br>> > let's consider , i displayed shape file with some point data and that point<br>> > data is related to gas stations in particular place, i want to replace those
<br>> > points with some picture.<br>> > could you please tell me which class or functions i have to use to do this.<br>> > thanks in advance<br>> > satya<br>> ><br>> > _______________________________________________
<br>> > Qgis-developer mailing list<br>> > <a href="mailto:Qgis-developer@lists.qgis.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Qgis-developer@lists.qgis.org</a><br>> >
<a href="http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer</a><br>> ><br>> ><br>><br>><br>> --<br>> --<br>> Tim Sutton<br>><br>> Visit <a href="http://qgis.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://qgis.org</a> for a great Open Source GIS
<br>> Home Page: <a href="http://linfiniti.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://linfiniti.com</a><br>> Skype: timlinux<br>> MSN: <a href="mailto:tim_bdworld@msn.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tim_bdworld@msn.com</a><br>> Yahoo: <a href="mailto:tim_bdworld@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tim_bdworld@yahoo.com</a><br>> Jabber: timlinux<br>> Irc: timlinux on #qgis at <a href="http://freenode.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">freenode.net</a><br>><br><br><br>
--<br>--<br>Tim Sutton<br><br>Visit <a href="http://qgis.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://qgis.org
</a> for a great Open Source GIS<br>Home Page: <a href="http://linfiniti.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://linfiniti.com</a><br>Skype: timlinux<br>MSN: <a href="mailto:tim_bdworld@msn.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tim_bdworld@msn.com</a><br>Yahoo: <a href="mailto:tim_bdworld@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tim_bdworld@yahoo.com</a><br>Jabber: timlinux<br>Irc: timlinux on #qgis at <a href="http://freenode.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">freenode.net</a><br></blockquote></div><br>
</span></div></blockquote></div><br>