[Qgis-user] QGIS temporary layer to postgis table database
Xristos Xristoou
saxri89 at gmail.com
Sat Mar 23 02:31:12 PDT 2019
I have an empty polygon table in postgress/PostGIS database with fields (id,
field_1).
after some processing in QGIS using pyqgis and processing toolbar I create
some temporary layer like this case :
outputs_GDALOGRPOLYGONIZE_1=processing.runalg('gdalogr:polygonize',
raster,'DN',None)
outputs_GDALOGRCLIPVECTORSBYPOLYGON_1=processing.runalg('gdalogr:clipvectorsbypolygon',
outputs_GDALOGRPOLYGONIZE_1['OUTPUT'],cut,None,clip)
how to add the temporary layer outputs_GDALOGRPOLYGONIZE_1['OUTPUT'] into
the empty polygon table from PostGIS table using pyqgis?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190323/ac2c11c0/attachment.html>
More information about the Qgis-user
mailing list