Hi All - I am attempting to take a geo polygon and shrink, rotate, and offset the polygon to the correct location. For this I was attempting to use Affine Warper. The polygon I'm trying to change is the "Observer" and I have a geojson polyline with 2 points as the "Control" that I want to shrink the polygon down inside. No output is given in the Affine Warper.
Affine Warper transformation gives no output
Best answer by virtualcitymatt
If you check you should have a warning in your logfile:
"AffineWarper (WarpFactory): Must have at least 4 control points to perform an AFFINE transformation."
Try creating another vector to help FME generate the transformation it needs to apply.
Here is a quote from the documentation:
"Each Control feature represents a control vector (a 2-point line feature) whose start point is at some location in the original Observed data space, and whose end point is at the corresponding location in the desired output data space. Each control vector represents the correction required to go from the observed vertex to the desired vertex, in terms of direction and distance. Control vectors with only one point are interpreted as a requirement that this location not change from the observed dataset to the reference dataset. This is often referred to as a tie point."
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.


