AW: Re: AW: Re: [Qgis-developer] Python Geprocessing Plugin

Düster Horst Horst.Duester at bd.so.ch
Wed Feb 20 02:15:02 EST 2008


mmmm....
 
Which Revision of QGIS do you use?
 
Horst
 

------------------------------------------------ 

Dr. Horst Düster 
GIS-Koordinator, Stv. Amtschef 

Kanton Solothurn 
Bau- und Justizdepartement 
Amt für Geoinformation 
SO!GIS Koordination 
Rötistrasse 4 
CH-4501 Solothurn 

Telefon ++41(0)32 627 25 32 
Telefax ++41(0)32 627 22 14 

mailto:horst.duester at bd.so.ch 
http://www.agi.so.ch 

 

   -----Ursprüngliche Nachricht-----
   Von: John C. Tull [mailto:john.tull at wildnevada.org]
   Gesendet am: Dienstag, 19. Februar 2008 18:04
   An: Düster Horst
   Cc: qgis-developer at lists.osgeo.org
   Betreff: Re: AW: Re: [Qgis-developer] Python Geprocessing Plugin
   

   Here is a debug message from trying out the plugin in a debug build
   with two shapefiles:


   2/19/08 8:59:43 AM [0x0-0x13d13d].org.qgis.qgis[93141] An error has
   occured while executing Python code:

   Traceback (most recent call last):
   File
   "/Users/jctull/.qgis//python/plugins/geoprocessing/geoprocessing.py",
   line 187, in manageGui
   myListA = self.getLayerNames("all")
   File
   "/Users/jctull/.qgis//python/plugins/geoprocessing/geoprocessing.py",
   line 424, in getLayerNames
   if layer.type() == QgsMapLayer.VECTOR and layer.vectorType() >=
   myType and not layer.name() in layerNamesList:
   AttributeError: 'NoneType' object has no attribute 'type'


   On Feb 18, 2008, at 11:11 PM, Düster Horst wrote:


      
      John,

      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?

      Regards 
      Horst

      ------------------------------------------------

      Dr. Horst Düster
      GIS-Koordinator, Stv. Amtschef

      Kanton Solothurn
      Bau- und Justizdepartement
      Amt für Geoinformation
      SO!GIS Koordination
      Rötistrasse 4
      CH-4501 Solothurn

      Telefon ++41(0)32 627 25 32
      Telefax ++41(0)32 627 22 14

      mailto:horst.duester at bd.so.ch
      http://www.agi.so.ch

      -----Ursprüngliche Nachricht-----
      Von: John C. Tull [ mailto:john.tull at wildnevada.org]
      Gesendet am: Montag, 18. Februar 2008 21:29
      An: Düster Horst
      Cc:  qgis-developer at qgis.org; qgis-user
      Betreff: Re: [Qgis-developer] Python Geprocessing Plugin

      Horst,

      The first problem below was resolved by Gary Sherman. I had an
      older 
      version of the Plugin Installer in the plugin folder. Removing
      that 
      allowed the built-in installer plugin to run, and that fixed the 
      permissions problem.

      Still no luck with problem 2 at this point. I tried on my ubuntu
      vm 
      and the menu worked as expected, so this may be a mac-specific
      issue.

      Cheers,
      John

      On Feb 18, 2008, at 11:24 AM, John C. Tull wrote:

      > Horst,
      >
      > I tried on OS X. Here are my observations and issues so far:
      >
      > 1) The installer does not work. I get a permissions error when 
      > trying to use the python installer. Manual installation works
      ok.
      >
      > 2) When I run the plugin in a project with available vectors,
      the 
      > drop-down menu for selecting a vector to geoprocess does not 
      > populate with anything. So I am unable to perform any
      geoprocessing 
      > because there are not vectors available to work on in the gui.
      >
      > Because of problem 2), I am unable to get very far in testing
      this. 
      > I will be around on the irc channel today and off-and-on this
      week 
      > if you want to try and work out some things online.
      >
      > Thanks,
      > John
      >
      > On Feb 17, 2008, at 2:30 AM, Düster Horst wrote:
      >
      >> A new Geoprocressing Python plugin is available in the Python 
      >> Plugin Repository.
      >>
      >>  http://spatialserver.net:3001
      >>
      >>
      >> This plugin is under developement and offers vector analysis 
      >> functions for ogr and postgis vector data.
      >>
      >> The following functions are available:
      >> - Buffer
      >> - Convex Hull
      >> - Difference A - B
      >> - Dissolve
      >> - Intersection
      >>
      >> under developement:
      >> - SymDifference
      >> - Union
      >>
      >>
      >> The plugin needs QGIS Rev. 8153 or higher!
      >>
      >> The plugin uses the GEOS library. I recommend the use of
      GEOS-3.0.0.
      >>
      >> Unfortunately there are some issues with GEOS. In some cases
      GEOS 
      >> throws topology exceptions when you try to dissolve large
      datasets 
      >> => QGIS crashes.
      >>
      >> I hope that this plugin can be helpful for you and I look
      forward 
      >> for your comments and ideas.
      >>
      >> Regards
      >> Horst
      >>
      >>
      >>
      >> ------------------------------------------------
      >>
      >> Dr. Horst Düster
      >> GIS-Koordinator, Stv. Amtschef
      >>
      >> Kanton Solothurn
      >> Bau- und Justizdepartement
      >> Amt für Geoinformation
      >> SO!GIS Koordination
      >> Rötistrasse 4
      >> CH-4501 Solothurn
      >>
      >> Telefon ++41(0)32 627 25 32
      >> Telefax ++41(0)32 627 22 14
      >>
      >>  mailto:horst.duester at bd.so.ch
      >>  http://www.agi.so.ch
      >> _______________________________________________
      >> Qgis-developer mailing list
      >>  Qgis-developer at lists.qgis.org
      >>  http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
      >


   


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080220/823edf1e/attachment-0001.html


More information about the Qgis-developer mailing list