Skip to main content
Hi,

 

  I have a polygon geometry. i need to shift it to a specific point x,y.  Offsetter shifts geometry with relative values.

CenterPointReplacer replaces geometry with a point at centre. But i need to shift this center to a new location.

 

 

Any suggestion will be helpful.

 

 

Thanks,

 

Subrat
Hi,

 

 

Bassically the offsetter is what you need to use after calculating the shift (x,y) for each point.

 

Calculting the shift can be done in the expression evaluator.

 

Another way to do it would need a common id for the center of geometry point and destination point. You can then join the points (feature merger or point connector), claculate the line lenght and use the distance in the affiner

 

 

Itay

Reply