[Qgis-user] How to generate intersect areas properly in QGIS with use of Grass v.overlap?

2018-01-26 Thread David Shi
Give two vectorised area data sets,  How to generate intersect areas properly in QGIS with use of Grass v.overlap? Regards, David___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Problems with Intersection by using Grass's v.overlay

2018-01-25 Thread David Shi
I encountered following problems with Intersection by using Grass's v.overlay. I used 2 vector area maps to create a new map through intersection (or option used). The number of new polygonal areas of the output each time is different.    Inconsistent output. I kept encountering Error 6:  Failed

Re: [Qgis-user] Why does this message keeps occuring in QGIS? GEOS geoprocessing error: One or more input features have invalid geometry.

2018-01-16 Thread David Shi
On 1/16/2018 12:48 PM, David Shi wrote: Hi, Kirk, To make it simple, how to convert all polygons into simple polygons? Regards, David On Tuesday, 16 January 2018, 14:09, Kirk Schmidt <k...@nortekresources.com> wrote: This usually occurs when you try

Re: [Qgis-user] Why does this message keeps occuring in QGIS? GEOS geoprocessing error: One or more input features have invalid geometry.

2018-01-16 Thread David Shi
lygons. Simply use vector geometry tools to convert from one type to another.  On 1/16/2018 7:53 AM, David Shi wrote: How to resolving this issue? Regards, David ___ Qgis-user mailing list Qgis-user@lists.osg

[Qgis-user] Why does this message keeps occuring in QGIS? GEOS geoprocessing error: One or more input features have invalid geometry.

2018-01-16 Thread David Shi
How to resolving this issue? Regards, David ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Areal Interpolation in QGIS

2018-01-16 Thread David Shi
Is there any Areal Interpolation code in QGIS? Regards, David ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Code for Intersection

2016-05-06 Thread David Shi
In QGIS's geoalgorithms, there is an Intersection in Vector overlay tools. Can anyone tell me where to find the original code? Regards. David___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] writing out a vector shape file - no error and no file

2016-05-05 Thread David Shi
QgsVectorFileWriter.writeAsVectorFormat(outlayer, "my_shapes.shp", "system", \QgsCoordinateReferenceSystem(4326), "ESRI Shapefile") I used above command, after capturing a layer as outlayer as the result of processing. However, there is no file, and no error message. Can anyone help? Regards.

Re: [Qgis-user] How to set python search path for standalone script?

2016-05-04 Thread David Shi
Hello, Jurgen, It only worked once.  Then, it can not find other modules. How to set a top level path, so that Python will look for modules in any sub-directories. Regards. David On Wednesday, 4 May 2016, 13:45, David Shi <davidg...@yahoo.co.uk> wrote: Do you mean run python-qg

Re: [Qgis-user] How to set python search path for standalone script?

2016-05-04 Thread David Shi
Do you mean run python-qgis.bat in command window?Then, run my script?Regards.David On Wednesday, 4 May 2016, 13:14, Jürgen E. Fischer <j...@norbit.de> wrote: Hi David, On Wed, 04. May 2016 at 12:07:51 +, David Shi wrote: > Thank you. > I am using QGIS in Windows.  Do I

Re: [Qgis-user] How to set python search path for standalone script?

2016-05-04 Thread David Shi
On Wednesday, 4 May 2016, 12:50, Jürgen E. Fischer <j...@norbit.de> wrote: Hi David, On Wed, 04. May 2016 at 11:43:24 +, David Shi wrote: > How to set python search path for standalone script? > > I am writing a standalone script, but it can not import qgis.core an

Re: [Qgis-user] How to set python search path for standalone script?

2016-05-04 Thread David Shi
Hello, Jürgen Thank you. I am using QGIS in Windows.  Do I need to set paths? Regards. David On Wednesday, 4 May 2016, 12:49, Jürgen E. Fischer <j...@norbit.de> wrote: Hi David, On Wed, 04. May 2016 at 11:43:24 +, David Shi wrote: > How to set python search path for s

[Qgis-user] How to set python search path for standalone script?

2016-05-04 Thread David Shi
How to set python search path for standalone script? I am writing a standalone script, but it can not import qgis.core and other processing.   modules. Can any one advise me? Regards. David___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

[Qgis-user] References to writing of standalone QGIS script

2016-05-03 Thread David Shi
Hello, Can anyone provide references for writing standalone QGIS script? There are a lot of confusing posts on the Internet, regarding that Python cannot find qgis.core and etc. Thank you in advance. Regards. David___ Qgis-user mailing list