Belgian46 wrote:
At school ( more than 30 years ago), during the German lessons, we never had some text about mathematical elements. I had to use Google translate to understand something about your explanation. I will have to wait until I have the possibility to do a tutorial about this feature. However, I can understand some parts of it. For information, I was good in some elements of mathematics, but I also had some elements which were never understood
Well, one mathematical principle is the Triangular Irregular Network (TIN). It has been implemented in TransDEM from the very beginning as it is the base math tool for most DEM editing.
The other principle is that of an affine transformation. As long as you use online geo data sources you may not be confronted with the transformation, but as soon as you start using the 3 (+1) georeferencing method, you will implicitly use it. Each reference point has two coordinate pairs, one is the pixel coordinates, the position within the image, the other is the geo coordinates of that same point. To determine the parameters of an affine transformation, you need three reference points, each with the two coordinates pairs. This gives you six equations with as many variables to find. These are: Translation: Shift of origin between pixel and geo coords (2 vars), rotation (1 var), scaling for x and y axis (2 vars) and shear (trapezoidal factor) for one axis (1 var).
Now, combine triangular network and affine transformation and you can allow many more than 3 georeferencing points, yielding an individual transformation for each triangle. The triangles are formed on the fly, simply taking the nearest reference points.
Where can you use it? The easier variant is to compensate slight distortions which happen when scanning a paper map. The other application field is the heavy stuff: distorted track plans, where scale is different along the track and perpendicular to the track. The new georeferencing will offer help here, but it remains a tough task which still requires accuracy, diligence and patience.
Belgian46 wrote:
Hmm, a new layer system and it's on your list. Is this a tough element to incorporate?
Problem is, there is a layer system already in place, but it's hidden under the surface and only one layer (and its sub-layers) is actually in use by TransDEM, but due to the current form of embedding this structure, other layers cannot be made use of. That needs some serious reworking and therefore gets postponed.