Skip to main content
Question

how to calculate lat long of this lines vertex points in FME with help of any transformer or any other useful method for any projection of the shapfile.

  • November 29, 2021
  • 5 replies
  • 53 views

actualabhijeet
Contributor
Forum|alt.badge.img+1

How to calculate lat long of this lines corner vertex points in FME with help of any transformer or any other useful method with any projection of the shapfile.

Anybody can help in getting this Lat long or XY co-ordinated for this four corner positions of any randomn area with any projection.

Just need to extract XY Co-ordinates. how can we generate or extract it.

 

Please find below snapshot for reference to understand it better.Q1

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+50

If you want the corner points and you know for sure it's going to be a properly oriented rectangle every time you can use the BoundsExtractor to extract the min/max X and Y coordinates to attributes.

Otherwise, check out the GeometryExtractor, which can take a feature's geometry and store it in an attribute in a number of different formats, some of them (GML, GeoJSON and WKT) are plaintext so could be processed to look exactly the way you like.


actualabhijeet
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • November 29, 2021
redgeographics wrote:

If you want the corner points and you know for sure it's going to be a properly oriented rectangle every time you can use the BoundsExtractor to extract the min/max X and Y coordinates to attributes.

Otherwise, check out the GeometryExtractor, which can take a feature's geometry and store it in an attribute in a number of different formats, some of them (GML, GeoJSON and WKT) are plaintext so could be processed to look exactly the way you like.

Tried this above approach but solution not helpful..... still thanks


redgeographics
Celebrity
Forum|alt.badge.img+50
actualabhijeet wrote:

Tried this above approach but solution not helpful..... still thanks

What exactly are you missing?

 


actualabhijeet
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • November 30, 2021
actualabhijeet wrote:

Tried this above approach but solution not helpful..... still thanks

Can you help me with the step by step in FME to aquire lat long for this Line features vertexs location. geometry is fixed in rectangular shape.


danminneyatsaf
Safer
Forum|alt.badge.img+12
actualabhijeet wrote:

Tried this above approach but solution not helpful..... still thanks

Hi @actualabhijeet​, as @Hans van der Maarel​ mentioned above, using a BoundsExtractor should be adequate for this situation if you are just looking at rectangular geometry. I've attached a sample workspace to help you on your way.


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