[Qgis-developer] fTools plugin - Voronoi code syntax error

Carson Farmer carson.farmer at gmail.com
Wed Nov 24 13:58:01 EST 2010


Attached is the modified doGeometry (with a few other bug fixes added!).

I've also committed this fix to trunk (r14758), so the next time you
update it should still work :-)

Carson

On 24 November 2010 18:45, MORREALE Jean Roc <jr.morreale at enoreth.net> wrote:
> Le 24/11/2010 14:07, Ivan Mincik a écrit :
>>
>> On 11/23/2010 03:38 PM, Carson Farmer wrote:
>>>
>>> hmm, funny, I don't get a syntax error there... What about if you
>>> change that line to:
>>>
>>> sl = voronoi.SiteList([voronoi.Site(i[0],i[1], sitenum=j) for j, i in
>>> enumerate(uniqueSet)])
>>>
>> Hi, sorry for late answer, I missed Your email. Yes, it is working with
>> that change.
>>
>
> I have this error too with the osgeo4's nightbuild 1.7.0-11, could you join
> DoGeometry.py as it seems I can't do a correct copy&paste with messing up
> the indentation :p
>
> regards,
> jean roc
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doGeometry.py
Type: text/x-python
Size: 33172 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20101124/1ccdd4c1/doGeometry-0001.py


More information about the Qgis-developer mailing list