[Qgis-user] Processing toolbox scripting

phi73 at gmx.de phi73 at gmx.de
Sat Apr 22 00:26:47 PDT 2017


Many thanks. Works. Simpler than i thought :-))

On 22. Apr. 2017, 09:12 +0200, Victor Olaya <volayaf at gmail.com>, wrote:
> no need to use getObjectFromUri. That's for getting a layer, table, etc
>
> You will already have the int value in the Radius variable
>
> 2017-04-22 8:57 GMT+02:00 <phi73 at gmx.de>:
> > Hello
> >
> > i am working on an own script what basically works.
> > Now i would like to add an input integer and struggle here with the error
> > message:
> >
> > 'int' object has no attribute 'replace' See log for more details
> >
> >
> >
> > in my header i have:
> >
> > ##Radius=number 100
> >
> >
> > to read out i have added:
> >
> > radius = processing.getObjectFromUri(Radius)
> >
> >
> > i tried some parsing etc but still i got the error message below.
> >
> >
> > Somebody an idea for me?
> >
> >
> > thx
> >
> > pat
> >
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170422/9efc9fa8/attachment.html>


More information about the Qgis-user mailing list