Skip to main content

Good day!

I've a task with spatial adjustment of vector data (like in ArcGIS).

My spatial grid presented in unknown coordinate system. But it looks like World Mercator.

I know where nodes from this grid should be placed (see table)

I found that shift parameters which i calculated don't compare, because grid coordinates along north directions has scale factor. It would be good if somebody will help me to understand how i can transform this grid to Mercator.

Hi @sega, I think the affine warping operation would be a solution.

If the features (1, 2, and 3) have point geometries on the scaled grid and also the attribute values (MERX, MERY) indicate the coordinates of each point in the destination coordinate system, you can use the VertexCreator (Mode: Add Point) to create line segments that represent moving direction and amount from the current location to the destination for each point.

Then, you can perform affine warping operation on the vector features with the AffineWarper transformer, using the line segments as the "Control" features. See also the help on the AffineWarper to learn more.


Hi @sega, I think the affine warping operation would be a solution.

If the features (1, 2, and 3) have point geometries on the scaled grid and also the attribute values (MERX, MERY) indicate the coordinates of each point in the destination coordinate system, you can use the VertexCreator (Mode: Add Point) to create line segments that represent moving direction and amount from the current location to the destination for each point.

Then, you can perform affine warping operation on the vector features with the AffineWarper transformer, using the line segments as the "Control" features. See also the help on the AffineWarper to learn more.

Hello @takashi! Thank you so much! It works!


Reply