Hi all
On Mon, Apr 1, 2019 at 1:16 PM Raymond Nijssen wrote:
>
> Last HF martin and I discussed the current geometry model and some of
> the flaws and weird things. Especially the set() and get() are not very
> logical function names to me.
Just to add more thoughts to this... There is
Thank you Nyall!
Sorry for replying so late but I suddenly went on a busy 2 week trip abroad.
Last HF martin and I discussed the current geometry model and some of
the flaws and weird things. Especially the set() and get() are not very
logical function names to me.
To find out about the
On Thu, 21 Mar 2019 at 15:59, Raymond Nijssen wrote:
>
>
> > def toLines(geom):
> > return QgsGeometry(geom.get().boundary())
> >
> > (Using
> > https://qgis.org/pyqgis/master/core/QgsAbstractGeometry.html#qgis.core.QgsAbstractGeometry.boundary
> > )
> >
> > Nyall
>
> Thanks Nyall,
def toLines(geom):
return QgsGeometry(geom.get().boundary())
(Using
https://qgis.org/pyqgis/master/core/QgsAbstractGeometry.html#qgis.core.QgsAbstractGeometry.boundary
)
Nyall
Thanks Nyall, that works!
I will try tomorrow.
One last question, it seems to me like the old
On Thu, 21 Mar 2019 at 12:17, Raymond Nijssen wrote:
>
> Hi Nyall, thanks for your answer.
>
> Somewhere in the middle of a calculation process (not an algorithm) I'd
> like to add a polygon feature to a line layer. I'm using the function to
> turn the polygon into a line geometry.
>
>
>
> I'm
Hi Nyall, thanks for your answer.
Somewhere in the middle of a calculation process (not an algorithm) I'd
like to add a polygon feature to a line layer. I'm using the function to
turn the polygon into a line geometry.
I'm using it like this and don't know I figured this out or decided on
On Thu, 21 Mar 2019 at 02:40, Raymond Nijssen wrote:
>
> The folowing line works for me in 3.4.3 and 3.7 (built today) but not in
> 3.6.0
>
> from processing.algs.qgis import PolygonsToLines
It was ported from Python -> c++, so is no longer importable like
this. What's your use case for
The folowing line works for me in 3.4.3 and 3.7 (built today) but not in
3.6.0
from processing.algs.qgis import PolygonsToLines
Could anyone test in the python console and confirm?
Thanks!
Raymond
--
Terglobo
Fahrenheitstraat 1
5223 BJ 's-Hertogenbosch
The Netherlands
+31 (0) 6 25 31 49 83