Skip to main content

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

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 @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?


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.


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.


 

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