mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-03 00:14:12 -05:00 
			
		
		
		
	Developed for Faunalia (http://www.faunalia.it) with funding from Regione Toscana - Sistema Informativo per la Gestione del Territorio e dell' Ambiente [RT-SIGTA]". For the project: "Sviluppo di prodotti software GIS open-source basati sui prodotti QuantumGIS e Postgis (CIG 037728516E) git-svn-id: http://svn.osgeo.org/qgis/trunk@13710 c8812cc2-4d05-0410-92ff-de0c093fc19c
		
			
				
	
	
		
			25 lines
		
	
	
		
			726 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			726 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
 | 
						|
/** \ingroup analysis
 | 
						|
 * The QGis class provides vector geometry analysis functions
 | 
						|
 */
 | 
						|
 | 
						|
class QgsOverlayAnalyzer
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
#include <qgsoverlayanalyzer.h>
 | 
						|
%End
 | 
						|
 | 
						|
  public:
 | 
						|
 | 
						|
    /**Perform an intersection on two input vector layers and write output to a new shape file
 | 
						|
    */
 | 
						|
    bool intersection( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
 | 
						|
                       const QString& shapefileName, bool onlySelectedFeatures = false,
 | 
						|
                       QProgressDialog* p = 0 );
 | 
						|
 | 
						|
  private:
 | 
						|
    void combineFieldLists( QgsFieldMap fieldListA, QgsFieldMap fieldListB );
 | 
						|
    void intersectFeature( QgsFeature& f, QgsVectorFileWriter* vfw, QgsVectorLayer* dp,
 | 
						|
                           QgsSpatialIndex* index );
 | 
						|
};
 |