Changes between Version 5 and Version 6 of LayerAlgebra


Ignore:
Timestamp:
Aug 10, 2012, 12:31:36 AM (12 years ago)
Author:
Ari Jolma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LayerAlgebra

    v5 v6  
    77The GDAL layer algebra is implemented as methods in the OGRLayer class. The C API is similar to the methods except that the object itself is the first argument and that the layer pointers are validated. In the Swig bindings these are again methods in Layer class.
    88
    9 Each method works on the object itself (the "input" layer) and a second operand (the "method" layer) and produces a result layer. The result layer needs to exist when calling any of these methods (this may not be the case in bindings languages).
     9Each method works on the object itself (the "input" layer) and a second operand (the "method" layer) and produces a result layer. The result layer needs to exist when calling any of these methods (this may not be the case in bindings languages necessarily).
    1010
    1111The schema of the result layer can be user-defined (the layer definition of the result layer has one or more fields) or it can be created by the method. If created, it will be either the schema of the input layer or the combined schema of input and method layers, depending on the method.
     
    3535== !SymDifference ==
    3636
     37A symmetric difference is a set of features, which represent areas that are in either of the operand layers.
     38
     39[[Image(SymDifference.jpg)]]
     40
     41'''Figure''' An example of the symmetric difference (c) of two layers (a and b). The feature 4 of the result layer is selected.
     42
    3743== Identity ==
    3844