Skip to main content
Solved

How to adjust vector data?


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.

View original
Did this help you find an answer to your question?

2 replies

takashi
Influencer
  • 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
takashi wrote:

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings