<div><font face="times new roman,serif">Hi</font></div>
<div><font face="times new roman,serif"></font> </div>
<div><font face="times new roman,serif">I am a user of Qgis 0.9.1 Ganymede... I tried to instal plugin such as profiletool with Python Plugin Installer but when i go to the plugin menu there are no such thing as </font>  <font face="Arial" size="3"><font face="Arial" size="3">Plugins &gt; Fetch Python Plugins... </font></font></div>

<div><font face="times new roman,serif" size="3">what should i do?</font></div>
<p align="left"><font face="times new roman,serif" size="3">Regards </font></p>
<p align="left"><font face="times new roman,serif" size="3">Makis</font></p>
<div><br><br></div>
<div class="gmail_quote">2009/4/25 <span dir="ltr">&lt;<a href="mailto:qgis-developer-request@lists.osgeo.org">qgis-developer-request@lists.osgeo.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send Qgis-developer mailing list submissions to<br>       <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br>       <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>
       <a href="mailto:qgis-developer-request@lists.osgeo.org">qgis-developer-request@lists.osgeo.org</a><br><br>You can reach the person managing the list at<br>       <a href="mailto:qgis-developer-owner@lists.osgeo.org">qgis-developer-owner@lists.osgeo.org</a><br>
<br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of Qgis-developer digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>  1. Re: QGIS GRASS shell patch (Paolo Cavallini)<br>
  2. Re: Rendering Real-Time Data in QGIS (Florian El Ahdab)<br>  3. Re: Import error in the qgis.core, qgis.gui       module, Help<br>     needed (Ervin)<br>  4. Re: Import error in the qgis.core, qgis.gui module,       Help<br>
     needed (J?rgen E. Fischer)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 24 Apr 2009 18:10:22 +0200<br>From: Paolo Cavallini &lt;<a href="mailto:cavallini@faunalia.it">cavallini@faunalia.it</a>&gt;<br>
Subject: Re: [Qgis-developer] QGIS GRASS shell patch<br>To: <a href="mailto:cavallini@faunalia.it">cavallini@faunalia.it</a><br>Cc: qgis-developer &lt;<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:49F1E46E.4010105@faunalia.it">49F1E46E.4010105@faunalia.it</a>&gt;<br>Content-Type: text/plain; charset=windows-1252<br><br>Paolo Cavallini ha scritto:<br><br>&gt; OK, now it compiles and works. It solves bugs:<br>
<br>I forgot: Writing or pasting a command with all options, it executes it,<br>showing the messages. If only the command is written, the GRASS<br>interactive mode is started.<br>All the best.<br>--<br>Paolo Cavallini: <a href="http://www.faunalia.it/pc" target="_blank">http://www.faunalia.it/pc</a><br>
<br><br>------------------------------<br><br>Message: 2<br>Date: Sat, 25 Apr 2009 11:38:03 +0200<br>From: Florian El Ahdab &lt;<a href="mailto:felahdab@gmail.com">felahdab@gmail.com</a>&gt;<br>Subject: Re: [Qgis-developer] Rendering Real-Time Data in QGIS<br>
To: <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>Message-ID:<br>       &lt;<a href="mailto:eb2cc3420904250238u7d0765f1p58961e6181dc2bb@mail.gmail.com">eb2cc3420904250238u7d0765f1p58961e6181dc2bb@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Hi.<br><br>I have been trying to use your tips to render dynamic data (AIS tracks,<br>probably the same objective as Chee Kiang Lim).<br><br>So as to do so, here is what I have done so far:<br>
In a plugin, I have subclassed the MapCanvasItem (in fact, I have used a<br>renamed VertexMarker class). This subclass is named CustomMapCanvasItem.<br>I have created a QThread subclass (CustomMapCanvasItemThread), which moves<br>
the CustomMapCanvasItem it received in reference every 500ms (that is, it<br>setCenter() on the item, then updatePosition()).<br><br>Here is my problem:<br>When I create 1 of those items, everything works fine. With a map loaded, I<br>
can see the Item moving around every 500ms.<br>But when I create 10 of those items (and consequently 10 threads), I can see<br>them moving but qgis crashes randomly (between 1 and 10 seconds max).<br>I suspect this is because there is no synchronization in the access to the<br>
Item data when the thread moves the item.<br>I have tried to freeze the MapCanvas before updating the position... but it<br>doesn&#39;t work either.<br><br>Wonder:<br>If my explanations are clear enough, can you help me?<br>
Can you detail a little bit further how you would do such a thing for a<br>large amount of tracks (let&#39;s say 5000...).<br>If there is a need for synchronization, how can I synchronize the access to<br>the items that I have to add to the MapCanvas (which doesn&#39;t synchronize<br>
before using the data apparently.)<br><br>Thanks a lot.<br>Florian<br><br>On Thu, Feb 5, 2009 at 7:24 PM, Martin Dobias &lt;<a href="http://wonder.sk/" target="_blank">wonder.sk</a>@<a href="http://gmail.com/" target="_blank">gmail.com</a>&gt; wrote:<br>
<br>&gt; On Thu, Feb 5, 2009 at 1:47 PM, Chee Kiang Lim &lt;<a href="mailto:cheekiang.lim@gmail.com">cheekiang.lim@gmail.com</a>&gt;<br>&gt; wrote:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; I&#39;m new to the QGIS API and have explored it very briefly. I am trying to<br>
&gt; &gt; write a c++ plugin that will take in the locations of approximately<br>&gt; &gt; 100 vessels and render their current position (which varies with time)on<br>&gt; top<br>&gt; &gt; of an underlying map. I used polygons to represent those vessels on a<br>
&gt; vector<br>&gt; &gt; layer using the memory provider. Each update involves deleting old<br>&gt; features<br>&gt; &gt; and adding new ones followed by refreshing of mapcanvas triggered when<br>&gt; &gt; changes are committed. As there is a need to render updates at a high<br>
&gt; &gt; frequency for real time display, with positional data coming in at about<br>&gt; &gt; 1-2Hz, the application was too occupied refreshing the canvas. This makes<br>&gt; &gt; the application unresponsive to subsequent user commands. I tried<br>
&gt; &gt; using update(Rect of changedExtent) for localized painting/canvas<br>&gt; refreshing<br>&gt; &gt; but the rendering is still too taxing. Can you provide some advice on how<br>&gt; i<br>&gt; &gt; can go about rendering this huge amount of data in real time?<br>
&gt; &gt;<br>&gt; &gt; I also tried using rubberbands and they work much better but i need to<br>&gt; &gt; display text attributes beside each vessel which i do not know how to<br>&gt; &gt; achieve without labels. Any alternative to rendering text at specific map<br>
&gt; &gt; location that i can update in real time?<br>&gt;<br>&gt; Custom map canvas items are perfectly suited for this type of task.<br>&gt; They don&#39;t require map to be re-rendered when the item gets updated.<br>&gt; You can subclass your own class directly from QgsMapCanvasItem or you<br>
&gt; can create specialized class from QgsRubberBand that will additionally<br>&gt; draw text labels.<br>&gt;<br>&gt; You can also take a look on some brief documentation for map canvas:<br>&gt; <a href="http://wiki.qgis.org/qgiswiki/MapCanvas_API" target="_blank">http://wiki.qgis.org/qgiswiki/MapCanvas_API</a><br>
&gt;<br>&gt; Martin<br>&gt; _______________________________________________<br>&gt; Qgis-developer mailing list<br>&gt; <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090425/6b6ccaf3/attachment-0001.html" target="_blank">http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090425/6b6ccaf3/attachment-0001.html</a><br>
<br>------------------------------<br><br>Message: 3<br>Date: Sat, 25 Apr 2009 04:10:56 -0700 (PDT)<br>From: Ervin &lt;<a href="mailto:ervinramonllari@gmail.com">ervinramonllari@gmail.com</a>&gt;<br>Subject: Re: [Qgis-developer] Import error in the qgis.core, qgis.gui<br>
       module, Help needed<br>To: <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>Message-ID: &lt;<a href="mailto:1240657856276-2706728.post@n2.nabble.com">1240657856276-2706728.post@n2.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br><br><br><br><br>Bishwarup Banerjee wrote:<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; I am a newbie in this environment (python, QGIS). For last few days  i<br>&gt; have<br>&gt; been trying hard to compile and execute the tutorial of TIM written in<br>
&gt; python. But i am getting some error or other.<br>&gt;<br>&gt; The code is as follows<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; import sys<br>&gt; import os<br>&gt;<br>&gt;<br>&gt; from PyQt4.QtCore import *<br>&gt; from PyQt4.QtGui import *<br>
&gt; from qgis.core import *<br>&gt; from qgis.gui import *<br>&gt; #from F:\Python25\Lib\site-packages\qgis import core as QgsCore<br>&gt; #from F:\Python25\Lib\site-packages\qgis import gui as QgsGui<br>&gt;<br>&gt; # Import our GUI<br>
&gt; from mainwindow_ui import Ui_MainWindow<br>&gt; # Import our resources (icons)<br>&gt; import resources<br>&gt; # Environment variable QGISHOME must be set to the install directory<br>&gt; # before running this application<br>
&gt; qgis_prefix = os.getenv(&quot;QGISHOME&quot;)<br>&gt; class MainWindow(QMainWindow, Ui_MainWindow):<br>&gt;<br>&gt;   def __init__(self):QMainWindow.__init__(self)<br>&gt;<br>&gt; # Required by Qt4 to initialize the UI<br>
&gt; self.setupUi(self)<br>&gt;<br>&gt; # Set the title for the app<br>&gt; self.setWindowTitle(&quot;BTC C-DAC v 1.0&quot;)<br>&gt; # Create the map canvas<br>&gt; self.canvas = QgsMapCanvas()<br>&gt; # Set the background color to light blue something<br>
&gt; self.canvas.setCanvasColor(QColor(200,200,255))<br>&gt; self.canvas.enableAntiAliasing(True)<br>&gt; self.canvas.useQImageToRender(False)<br>&gt; self.canvas.show()<br>&gt;<br>&gt; # Lay our widgets out in the main window using a<br>
&gt; # vertical box layout<br>&gt; self.layout = QVBoxLayout(self.frame)<br>&gt; self.layout.addWidget(self.canvas)<br>&gt;<br>&gt; # Create the actions for our tools and connect each to the appropriate<br>&gt; # method<br>
&gt; self.actionAddLayer = QAction(QIcon(&quot;:/foss4g2007/mActionAddLayer.png&quot;),<br>&gt; &quot;Add Layer&quot;, self.frame)<br>&gt;<br>&gt; self.connect(self.actionAddLayer, SIGNAL(&quot;activated()&quot;), self.addLayer)<br>
&gt; self.actionZoomIn = QAction(QIcon(&quot;:/foss4g2007/mActionZoomIn.png&quot;),<br>&gt; &quot;Zoom<br>&gt; In&quot;, self.frame)<br>&gt; self.connect(self.actionZoomIn, SIGNAL(&quot;activated()&quot;), self.zoomIn)<br>
&gt; self.actionZoomOut = QAction(QIcon(&quot;:/foss4g2007/mActionZoomOut.png&quot;),<br>&gt; &quot;Zoom Out&quot;, self.frame)<br>&gt; self.connect(self.actionZoomOut, SIGNAL(&quot;activated()&quot;), self.zoomOut)<br>&gt; self.actionPan = QAction(QIcon(&quot;:/foss4g2007/mActionPan.png&quot;), &quot;Pan&quot;,<br>
&gt; self.frame)<br>&gt; self.connect(self.actionPan, SIGNAL(&quot;activated()&quot;), self.pan)<br>&gt; self.actionZoomFull =<br>&gt; QAction(QIcon(&quot;:/foss4g2007/mActionZoomFullExtent.png&quot;), &quot;Zoom Full<br>
&gt; Extent&quot;,<br>&gt;<br>&gt; self.frame)<br>&gt; self.connect(self.actionZoomFull, SIGNAL(&quot;activated()&quot;),<br>&gt; self.zoomFull)<br>&gt;<br>&gt; # Create a toolbar<br>&gt; self.toolbar = self.addToolBar(&quot;Map&quot;)<br>
&gt; # Add the actions to the toolbar<br>&gt; self.toolbar.addAction(self.actionAddLayer)<br>&gt; self.toolbar.addAction(self.actionZoomIn)<br>&gt; self.toolbar.addAction(self.actionZoomOut);<br>&gt; self.toolbar.addAction(self.actionPan);<br>
&gt; self.toolbar.addAction(self.actionZoomFull);<br>&gt;<br>&gt; # Create the map tools<br>&gt; self.toolPan = QgsMapToolPan(self.canvas)<br>&gt; self.toolZoomIn = QgsMapToolZoom(self.canvas, False) # false = in<br>&gt; self.toolZoomOut = QgsMapToolZoom(self.canvas, True) # true = out<br>
&gt; # Set the map tool to zoom in<br>&gt; def zoomIn(self):<br>&gt;   self.canvas.setMapTool(self.toolZoomIn)<br>&gt;<br>&gt; # Set the map tool to zoom out<br>&gt; def zoomOut(self):<br>&gt;   self.canvas.setMapTool(self.toolZoomOut)<br>
&gt;<br>&gt; # Set the map tool to<br>&gt; def pan(self):<br>&gt;   self.canvas.setMapTool(self.toolPan)<br>&gt;<br>&gt; # Zoom to full extent of layer<br>&gt; def zoomFull(self):<br>&gt;   self.canvas.zoomFullExtent()<br>
&gt; # Add an OGR layer to the map<br>&gt; def addLayer(self):<br>&gt;   file = QFileDialog.getOpenFileName(self, &quot;Open Shapefile&quot;, &quot;.&quot;,<br>&gt; &quot;Shapefiles(*.shp)&quot;)<br>&gt;<br>&gt; fileInfo = QFileInfo(file)<br>
&gt;<br>&gt; # Add the layer<br>&gt; layer = QgsVectorLayer(file, fileInfo.fileName(), &quot;ogr&quot;)<br>&gt;<br>&gt; #if not layer.isValid():<br>&gt;   #return<br>&gt;<br>&gt; # Change the color of the layer to gray<br>
&gt; symbols = layer.renderer().symbols()<br>&gt; symbol = symbols[0]<br>&gt; symbol.setFillColor(QColor.fromRgb(192,192,192))<br>&gt;<br>&gt; # Add layer to the registry<br>&gt; QgsMapLayerRegistry.instance().addMapLayer(layer);<br>
&gt;<br>&gt; # Set extent to the extent of our layer<br>&gt; self.canvas.setExtent(layer.extent())<br>&gt;<br>&gt; # Set up the map canvas layer set<br>&gt; cl = QgsMapCanvasLayer(layer)<br>&gt; layers = [cl]<br>&gt; self.canvas.setLayerSet(layers)<br>
&gt;<br>&gt; def main(argv):<br>&gt; # create Qt application<br>&gt;   app = QApplication(argv)<br>&gt;<br>&gt; # Initialize qgis libraries<br>&gt; QgsApplication.setPrefixPath(qgis_prefix, True)<br>&gt; QgsApplication.initQgis()<br>
&gt;<br>&gt; # create main window<br>&gt; wnd = MainWindow()<br>&gt;<br>&gt; # Move the app window to upper left<br>&gt; wnd.move(100,100)<br>&gt; wnd.show()<br>&gt;<br>&gt; # run!<br>&gt; retval = app.exec_()<br>&gt;<br>
&gt; # exit<br>&gt; QgsApplication.exitQgis()<br>&gt; sys.exit(retval)<br>&gt;<br>&gt;<br>&gt; if __name__ == &quot;__main__&quot;:<br>&gt;   main(sys.argv)<br>&gt;<br>&gt;<br>&gt;<br>&gt; Previously i was getting the error<br>
&gt;<br>&gt; No module named PyQt4.QtCore and PyQt4.QtGui<br>&gt;<br>&gt; But after installing the PyQt inside the site package it is not<br>&gt; showing any error now.<br>&gt;<br>&gt;<br>&gt; Now i have started getting the error,<br>
&gt; qgis. core module not found.<br>&gt; qgis.gui module not found.<br>&gt;<br>&gt; I have done whatever way possible from my side.<br>&gt;<br>&gt; My system environment is as follows:<br>&gt;<br>&gt; OS -- Windows 2000<br>
&gt; Python 2.5<br>&gt; PyQt 4.4.3.1<br>&gt; QGIS 0.11.0.2<br>&gt;<br>&gt; I dont know in which step i should be installing these one after other.<br>&gt; and also where to install and how to compile<br>&gt;<br>&gt; It will be very kind of you if you can help me out.<br>
&gt;<br>&gt; Bye<br>&gt; Sonai<br>&gt;<br>&gt; _______________________________________________<br>&gt; Qgis-developer mailing list<br>&gt; <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>&gt;<br>&gt;<br><br>Hi there,<br><br>I&#39;m also having trouble with the example given above. The error message I<br>
got is:<br><br>Traceback (most recent call last):<br> File &quot;&lt;pyshell#3&gt;&quot;, line 1, in &lt;module&gt;<br>   import qgis.core<br>ImportError: DLL load failed: The specified procedure could not be found.<br><br>
I have installed python 2.5.2 in C:\Python25 and Qgis 1.0 installed from the<br>package OSGeo4W in the default dir C:\OSGeo4W.<br><br>The environment variables are set as below:<br><br>PATH = C:\OSGeo4W\apps\qgis;%PATH%<br>
PYTHONPATH = C:\OSGeo4W\apps\python25\lib\site-packages<br>QGISHOME = C:\OSGeo4W\apps\qgis<br><br>I also tried to add to the path variable the following dirs:<br>C:\OSGeo4W\bin; C:\OSGeo4W\apps\qgis\bin<br><br>but still no result.<br>
<br>I would really appreciate any help!<br><br>Many thanks in advance,<br><br>Ervin<br><br>--<br>View this message in context: <a href="http://n2.nabble.com/Import-error-in-the-qgis.core%2C-qgis.gui-module%2C-Help-needed-tp2040109p2706728.html" target="_blank">http://n2.nabble.com/Import-error-in-the-qgis.core%2C-qgis.gui-module%2C-Help-needed-tp2040109p2706728.html</a><br>
Sent from the qgis-developer mailing list archive at Nabble.com.<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Sat, 25 Apr 2009 13:48:19 +0200<br>From: J?rgen E. Fischer &lt;<a href="mailto:jef@norbit.de">jef@norbit.de</a>&gt;<br>
Subject: Re: [Qgis-developer] Import error in the qgis.core, qgis.gui<br>       module, Help needed<br>To: <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>Message-ID: &lt;<a href="mailto:20090425114818.GA9771@norbit.de">20090425114818.GA9771@norbit.de</a>&gt;<br>
Content-Type: text/plain; charset=iso-8859-1<br><br>Hi Ervin,<br><br>On Sat, 25. Apr 2009 at 04:10:56 -0700, Ervin wrote:<br>&gt; I have installed python 2.5.2 in C:\Python25 and Qgis 1.0 installed<br>&gt; from the package OSGeo4W in the default dir C:\OSGeo4W.<br>
<br>Double check that you&#39;re using OSGeo4W&#39;s python and nothing from the one<br>in C:\Python25.<br><br><br>Jürgen<br><br>--<br>Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20<br>Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50<br>
Software Engineer         D-26506 Norden               <a href="http://www.norbit.de/" target="_blank">http://www.norbit.de</a><br><br>--<br>norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH<br>Rheinstrasse 13, 26506 Norden<br>
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502<br><br><br><br>------------------------------<br><br>_______________________________________________<br>Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br><br><br>End of Qgis-developer Digest, Vol 38, Issue 41<br>**********************************************<br>
</blockquote></div><br>