Hello guys,
I´m new to FME and would need some help with the following problem:
I want to create a gdb out of a dwg file. For this dwg a local coordinate system was used, but it is not set. Unfortunately, the only thing I´ve got is a sligthly complicated formula for a (similarity) tranformation to the underlying MGI (EPSG: 31256) including these paramaters: Offset dxdm], Offset dydm], Center of rotation x0xm], Center of rotation y0ym], Rotation angle erad]. Because Millimeters and the rotation center were used the formula for the new x´ and y´ looks like this:
x´= x0 + (x/1000-x0) * cos(-rad) - (y/1000-y0) * sin(-rad) + dx
y´= y0 + (x/1000-x0) * sin(-rad) - (y/1000-y0) * cos(-rad) + dy
First, I tried a combination of CoordinateExtractor, Offsetter and Rotator, what didn´t bring a perfect result regarding the coordinates. Besides I had to aggregate all the features to one because otherwise the Offsetter changed the pattern of the lines.
Then I tried the Affiner, but (thanks to my math skills) I couldn´t get the correct Parameters (A-F) out of the formula.
I also tried to create and set a new local coordinate system, but again I couldn´t find the rigth configuration. There is no option for a local projection and I´m not sure the parameters I´ve got are enough for creating a new coordinate system.
Is there maybe another possiblity or does some of you know what I should use for the Affiner or the LocalCoordinateSystemSetter? I appreciate any help.