Skip to main content
Solved

testing to determine if the coordinate system is present and valid.

  • October 6, 2020
  • 1 reply
  • 196 views

gisbradokla
Enthusiast
Forum|alt.badge.img+16

I have a workbench that is chocked full of transformers trying to fix, set, extract, validate and write the coordinate system. I can see the CS in the feature details and have a tester to get from an attribute that has just been updated with the CS. however trying to route any features to a sampler and then an xlsx list always ends up empty. however when i get the output and go to look at the cs output in the _coordsys there are features that are empty or contain spaces. even on a support call with safe they could not see any problem with the method i am using to get this. yet still the data is empty.

reading from dwg files and using the realdwg reader. I have the custom Fix_Coord_System transformer built by Safe.coordsysfix

I then proceed to set the coordinate system, extract it back out to an attribute, and test that attribute (BTW I have also tried to test the system @coordsys value to no avail) .SetGameMatchtestcoordsyssince i am just testing an attribute i am trying to test for at least 1 erroneous value "FME" and "NULL" values, with all unfiltered values going to Has CS port. this produces no results when the workbench is run but as stated i can go to the output and sort on the CS attribute i have created and there are features with no CS.

Best answer by virtualcitymatt

You should also test for Empty Sting and Attribute is Missing. I don't think the coordsys extracted will be 'null' if a feature if missing the coordsys.

Also keep in mind that sometimes FME will use an XY-(some measurement unit)

View original
Did this help you find an answer to your question?

1 reply

virtualcitymatt
Celebrity
Forum|alt.badge.img+34
  • Celebrity
  • Best Answer
  • October 7, 2020

You should also test for Empty Sting and Attribute is Missing. I don't think the coordsys extracted will be 'null' if a feature if missing the coordsys.

Also keep in mind that sometimes FME will use an XY-(some measurement unit)


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