Skip to main content
Question

2DEllipseReplacer not working as expected while trying to create Elliptical Uncertainity Area


I am trying to use the 2DEllipseReplacer, with the same minor and major axis properties but different rotation angles(30 vs 60). The output received doesn't look right. Please see attachments for more details on parameters being used and result received. Thanks in advance for inputs and suggestions to fix this issue

5 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • April 5, 2019

Hi @sagarp The difference that you see is likely because lat and long aren't fixed units. If you display the output of the 2DEllipseReplacer in the Data Inspector without background maps then the ellipses should have the same shape.


  • Author
  • April 5, 2019
fmelizard wrote:

Hi @sagarp The difference that you see is likely because lat and long aren't fixed units. If you display the output of the 2DEllipseReplacer in the Data Inspector without background maps then the ellipses should have the same shape.

Hi @danatsafe

Thank you for your prompt response. It is as you have mentioned, the shapes are same in the data inspector. But I need to generate a KML output of the shape for display purposes. Is there any way I can get proper shapes, which can be viewed in KML?


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • April 5, 2019
sagarp wrote:

Hi @danatsafe

Thank you for your prompt response. It is as you have mentioned, the shapes are same in the data inspector. But I need to generate a KML output of the shape for display purposes. Is there any way I can get proper shapes, which can be viewed in KML?

@sagarp Use a CommonLocalReprojector before the writer.


  • Author
  • April 8, 2019
fmelizard wrote:

Hi @sagarp The difference that you see is likely because lat and long aren't fixed units. If you display the output of the 2DEllipseReplacer in the Data Inspector without background maps then the ellipses should have the same shape.

@danatsafe I tried with the CommonLocalReprojector in various configurations but still the result is the same. Let me expand on my problem a bit more.

I have an xml input file containing the type of geometry (Circle, Arc or Ellipse) to generate and the X-Y coordinates for the point. I generate the Point after converting the X-Y to proper Decimal Degree format. After that i need to generate an Ellipse area around the point at specified angles and axis lengths. The output should be a kml file.

I have two more outputs using the CommonLocalReprojector. The axis values are same, the angle for one is 90 and the other is 0 degrees. How can i perfomr the task and get the proper geometry. I have tried using the 2DEllipseReplacer as well, both return the same results.

I am fairly new to FME and this is my first project, if there is any other method for performing the task i would be happy to know. Thank you.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 9, 2019

 

2DElipsereplacer seems to work fine if I vary angles and keep the axis, I tried it (again).

 

Except when using the CLR, then all angles are gone as in @sagarp last image.

 

 


Reply


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