Skip to main content
Solved

How to adjust vector data?

  • March 28, 2016
  • 2 replies
  • 44 views

Forum|alt.badge.img

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.

Best answer by takashi

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.

This post is closed to further activity.
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.

2 replies

takashi
Celebrity
  • Best Answer
  • March 28, 2016

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.


Forum|alt.badge.img
  • Author
  • March 29, 2016

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!