I have a DWG file with unknown CS but I know the CS it just needs to be assigned to the DWG. When I set the CS when I read the DWG then it appears in the correct location on the Earth but once I try to write it, it doesnt write the CS info and it appears again in the false location on Earth! I also tried “CoordinateSystemSetter” but with no success. On FME it appears good while transforming but not in the resulting DWG. Any Idea?
How did you check if it worked? In AutoCad? When using the CoordinateSystemSetter, the actual coordinates do not change.
I inspected it directly in FME in the resulting dwg which still has missing CS and it appears middle in the ocean. With the CoordinateSystemSetter I am trying only to set the missing CS and at this point data looks good only when writing it doesnt keep this attribute of the CS.
Hello
Have you tried using one of the reprojector transformers (eg. CSMapReprojector) instead of a CoordinateSystemSetter, and have FME Form try and guess the source coordinate system?
Alternatively, what if we try removing the source coordinate system with a CoordinateSystemRemover, before setting it?
Please let me know if any of these suggestions work for you, or if we still are unable to write data to a coordinate system. Happy to help, Kailin.
Hello
The cache of the CoordinateSystemSetter looks good and in the correct location.
I tried CSMapReprojector and “EsriReprojector” but without success.
I didnt try “CoordinateSystemRemover” because there is no CS at all! When I insert my data it comes automatically “unknown” for the CS.
Hello
So, to summarize, set the CoordinateSystemSetter and the CSMapReprojector to your target coordinate system, and then write out the data. Please feel free to reach out again if this does not resolve the issue! Kailin.
Hi
By default, this parameter is unchecked so you’ll want to go into the Advanced settings and pick a storage method for ‘Coordinate System Storage’:
There are a few more details in our DWG Writer documentation here on what these options do.
Hello
Learned something new today thanks!
Hello
So, to summarize, set the CoordinateSystemSetter and the CSMapReprojector to your target coordinate system, and then write out the data. Please feel free to reach out again if this does not resolve the issue! Kailin.
Hello
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.