mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			619 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			619 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "crosses",
 | 
						|
  "type": "function",
 | 
						|
  "description": "Tests whether a geometry crosses another. Returns true if the supplied geometries have some, but not all, interior points in common.",
 | 
						|
  "arguments": [ {"arg":"geometry a","description":"a geometry"},
 | 
						|
                 {"arg":"geometry b","description":"a geometry"}],
 | 
						|
  "examples": [  { "expression":"crosses( geom_from_wkt( 'LINESTRING(3 5, 4 4, 5 3)' ), geom_from_wkt( 'LINESTRING(3 3, 4 4, 5 5)' ) )", "returns":"true"},
 | 
						|
  { "expression":"crosses( geom_from_wkt( 'POINT(4 5)' ), geom_from_wkt( 'LINESTRING(3 3, 4 4, 5 5)' ) )", "returns":"false"}
 | 
						|
  ]
 | 
						|
}
 |