Skip to main content
Question

How do I replicate the 'not obj' function from MapInfo in FME 2018


Forum|alt.badge.img

Hi, I have a MapInfo tab file which contains around 390,000 features some of the features are not displayed in the Map window. After some investigation it appears that tab file contains some features that are ‘not objects’. I’ll call this ‘spurious data’. My current process to remove the spurious data is to use SQL Select and apply the condition 'not obj' (see screen shot below). This identifies around 14,000 features which can then be removed.

I naively thought, as the spurious data apparently has ‘no object’ and cannot be displayed in MapInfo , FME would automatically identify these features in a similar way and somehow inform me, at which point I'd use the relevant transformer to remove them. Unfortunately in this case FME reads all the data as valid data and when I attach an inspector it displays all the features !?!

Could someone please advise me on what transformer and / or parameter I need to use to stop features which are not objects to be removed?

Screen shot below shows how simple MapInfo performs the task:

2 replies

ebygomm
Influencer
Forum|alt.badge.img+38
  • Influencer
  • April 25, 2019

It's been a few years since I used Mapinfo but if not obj is the same as null geometry you can use a geometryfilter to remove the null rows


Forum|alt.badge.img
  • Author
  • April 25, 2019
ebygomm wrote:

It's been a few years since I used Mapinfo but if not obj is the same as null geometry you can use a geometryfilter to remove the null rows

Thank you very much for your quick and successful reply. This works perfectly!


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