<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV><SPAN class=656401407-20022008><FONT face=Arial color=#0000ff
size=2>mmmm....</FONT></SPAN>
</DIV>
<DIV><SPAN class=656401407-20022008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=656401407-20022008><FONT face=Arial color=#0000ff size=2>Which
Revision of QGIS do you use?</FONT></SPAN>
</DIV>
<DIV><SPAN class=656401407-20022008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=656401407-20022008><FONT face=Arial color=#0000ff
size=2>Horst</FONT></SPAN>
</DIV>
<DIV>
</DIV>
<P>
<FONT face=Arial color=#000000
size=2>------------------------------------------------</FONT>
</P>
<P><FONT face=Arial color=#000000 size=2>Dr. Horst Düster</FONT> <BR>
<FONT
face=Arial color=#000000 size=2>GIS-Koordinator, Stv. Amtschef</FONT>
</P>
<P><FONT face=Arial color=#000000 size=2>Kanton Solothurn</FONT> <BR>
<FONT
face=Arial color=#000000 size=2>Bau- und Justizdepartement</FONT> <BR>
<FONT
face=Arial color=#000000 size=2>Amt für Geoinformation</FONT> <BR>
<FONT
face=Arial color=#000000 size=2>SO!GIS Koordination</FONT> <BR>
<FONT face=Arial
color=#000000 size=2>Rötistrasse 4</FONT> <BR>
<FONT face=Arial color=#000000
size=2>CH-4501 Solothurn</FONT>
</P>
<P><FONT face=Arial color=#000000 size=2>Telefon ++41(0)32 627 25 32</FONT>
<BR>
<FONT face=Arial color=#000000 size=2>Telefax ++41(0)32 627 22 14</FONT>
</P>
<P><FONT face=Arial color=#000000 size=2><A target=_blank
href="mailto:horst.duester@bd.so.ch">mailto:horst.duester@bd.so.ch</A></FONT>
<BR>
<FONT face=Arial color=#000000 size=2><A target=_blank
href="http://www.agi.so.ch/">http://www.agi.so.ch</A></FONT>
</P>
<DIV>
</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Times New Roman" size=2>-----Ursprüngliche
Nachricht-----<BR>
<B>Von:</B> John C. Tull
[mailto:john.tull@wildnevada.org]<BR>
<B>Gesendet am:</B> Dienstag, 19. Februar
2008 18:04<BR>
<B>An:</B> Düster Horst<BR>
<B>Cc:</B>
qgis-developer@lists.osgeo.org<BR>
<B>Betreff:</B> Re: AW: Re: [Qgis-developer]
Python Geprocessing Plugin<BR>
</DIV></FONT>
<DIV>
<P>
Here is a debug message from trying out the plugin in a debug build with
two shapefiles:
</P></DIV>
<DIV><BR class=webkit-block-placeholder>
</DIV>
<DIV>2/19/08 8:59:43 AM [0x0-0x13d13d].org.qgis.qgis[93141] An error has
occured while executing Python code:
</DIV>
<DIV><BR class=webkit-block-placeholder>
</DIV>
<DIV>Traceback (most recent call last):
</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>File
"/Users/jctull/.qgis//python/plugins/geoprocessing/geoprocessing.py", line
187, in manageGui
</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>myListA =
self.getLayerNames("all")
</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>File
"/Users/jctull/.qgis//python/plugins/geoprocessing/geoprocessing.py", line
424, in getLayerNames
</DIV>
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>if
layer.type() == QgsMapLayer.VECTOR and layer.vectorType() >= myType and not
layer.name() in layerNamesList:
</DIV>
<DIV>AttributeError: 'NoneType' object has no attribute 'type'
</DIV>
<DIV><BR class=webkit-block-placeholder>
</DIV><BR>
<DIV>
<DIV>On Feb 18, 2008, at 11:11 PM, Düster Horst wrote:
</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 14px Arial; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0">
<DIV>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">John,</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">I can't test your point 2 due to missing access to a
Mac Box. Perhaps someone else can take a look at John's
porblem?</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">Regards<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">Horst</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">------------------------------------------------</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">Dr. Horst Düster</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">GIS-Koordinator, Stv. Amtschef</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">Kanton Solothurn</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">Bau- und Justizdepartement</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">Amt für Geoinformation</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">SO!GIS Koordination</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">Rötistrasse 4</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">CH-4501 Solothurn</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">Telefon ++41(0)32 627 25 32</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">Telefax ++41(0)32 627 22 14</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt"><A
href="mailto:horst.duester@bd.so.ch">mailto:horst.duester@bd.so.ch</A></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt"><A
href="http://www.agi.so.ch">http://www.agi.so.ch</A></SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">-----Ursprüngliche Nachricht-----</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">Von: John C. Tull [<A
href="mailto:john.tull@wildnevada.org">mailto:john.tull@wildnevada.org</A>]</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">Gesendet am: Montag, 18. Februar 2008
21:29</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">An: Düster
Horst</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">Cc:<SPAN
class=Apple-converted-space> </SPAN><A
href="mailto:qgis-developer@qgis.org">qgis-developer@qgis.org</A>;
qgis-user</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">Betreff: Re:
[Qgis-developer] Python Geprocessing Plugin</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">Horst,</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">The first problem below was resolved by Gary
Sherman. I had an older<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">version of the Plugin Installer in the plugin
folder. Removing that<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">allowed the built-in installer plugin to run, and
that fixed the<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">permissions problem.</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">Still no luck with problem 2 at this point. I tried
on my ubuntu vm<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">and the menu worked as expected, so this may be a
mac-specific issue.</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">Cheers,</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">John</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">On Feb 18, 2008, at 11:24 AM, John C. Tull
wrote:</SPAN>
</DIV><BR>
<DIV class=Normal
style="MARGIN-TOP: 0pt; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; TEXT-INDENT: 0pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><SPAN
style="FONT-SIZE: 10pt">> Horst,</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">></SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">> I
tried on OS X. Here are my observations and issues so far:</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">></SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">> 1)
The installer does not work. I get a permissions error when<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> trying to use the python installer. Manual
installation works ok.</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">></SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">> 2)
When I run the plugin in a project with available vectors, the<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> drop-down menu for selecting a vector to
geoprocess does not<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> populate with anything. So I am unable to
perform any geoprocessing<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> because there are not vectors available to work
on in the gui.</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> Because of problem 2), I am unable to get very
far in testing this.<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> I will be around on the irc channel today and
off-and-on this week<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> if you want to try and work out some things
online.</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> Thanks,</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">> John</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">></SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">> On
Feb 17, 2008, at 2:30 AM, Düster Horst wrote:</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> A new Geoprocressing Python plugin is
available in the Python<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Plugin Repository.</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>><SPAN
class=Apple-converted-space> </SPAN><A
href="http://spatialserver.net:3001">http://spatialserver.net:3001</A></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> This plugin is under developement and
offers vector analysis<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> functions for ogr and postgis vector
data.</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> The following functions are
available:</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>> -
Buffer</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>> - Convex
Hull</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>> - Difference A -
B</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>> -
Dissolve</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>> -
Intersection</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> under developement:</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> - SymDifference</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> - Union</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> The plugin needs QGIS Rev. 8153 or
higher!</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> The plugin uses the GEOS library. I
recommend the use of GEOS-3.0.0.</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Unfortunately there are some issues with
GEOS. In some cases GEOS<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> throws topology exceptions when you try to
dissolve large datasets<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> => QGIS crashes.</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> I hope that this plugin can be helpful for
you and I look forward<SPAN
class=Apple-converted-space> </SPAN></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> for your comments and
ideas.</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Regards</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Horst</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>>
------------------------------------------------</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Dr. Horst Düster</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> GIS-Koordinator, Stv.
Amtschef</SPAN><BR>
<SPAN style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Kanton Solothurn</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Bau- und Justizdepartement</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Amt für Geoinformation</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> SO!GIS Koordination</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Rötistrasse 4</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> CH-4501 Solothurn</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Telefon ++41(0)32 627 25 32</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Telefax ++41(0)32 627 22 14</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>><SPAN
class=Apple-converted-space> </SPAN><A
href="mailto:horst.duester@bd.so.ch">mailto:horst.duester@bd.so.ch</A></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>><SPAN
class=Apple-converted-space> </SPAN><A
href="http://www.agi.so.ch">http://www.agi.so.ch</A></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>>
_______________________________________________</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>> Qgis-developer mailing list</SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>><SPAN
class=Apple-converted-space> </SPAN><A
href="mailto:Qgis-developer@lists.qgis.org">Qgis-developer@lists.qgis.org</A></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">>><SPAN
class=Apple-converted-space> </SPAN><A
href="http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer">http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer</A></SPAN><BR>
<SPAN
style="FONT-SIZE: 10pt">></SPAN>
</DIV></DIV></SPAN></BLOCKQUOTE>
</DIV><BR>
<P>
</P></BLOCKQUOTE></BODY></HTML>