Skip to main content
Question

MapInfo to Geodatabase but geometry unknown

  • August 13, 2018
  • 4 replies
  • 44 views

deanhowell
Influencer
Forum|alt.badge.img+24

I have a large number (> 1000) of mapinfo files that I need to convert into an esri geodatabase but i do not know the geometry of each mapinfo tab or have the time to find out each.

Is there a way to automatically convert to the correct geometry type when selecting folders of data?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

ngoorman
Contributor
Forum|alt.badge.img+3
  • Contributor
  • August 13, 2018

Your best bet would probably be to create a workbench that can handle all geometry types. What I generally do for CAD drawings with unknown content is to send all features to a GeometryFilter and from there send each geometry type (point, like, area) to its own writer feature type. That way you can be sure that all features end up in the database.

You can set these writer feature types so that each tab file will create its own set of feature classes by using the fme_basename attribute as part of the feature class name. For example, if your mapinfo files are called Tabfile1 through 9, you can create a set of feature classes called Tabfile1_point, Tabfile1_line, Tabfile1_polygon, Tabfile2_point, Tabfile2_line etc.


david_r
Celebrity
  • August 13, 2018

Another option is to use the dynamic schema capabilities in FME, they are perfect for this type of scenario.

More info, tutorials here: https://knowledge.safe.com/articles/1050/dynamic-workflow-tutorial-introduction.html


deanhowell
Influencer
Forum|alt.badge.img+24
  • Author
  • Influencer
  • August 13, 2018

Another option is to use the dynamic schema capabilities in FME, they are perfect for this type of scenario.

More info, tutorials here: https://knowledge.safe.com/articles/1050/dynamic-workflow-tutorial-introduction.html

Thanks David, I think this is exactly what I need to do and initial tests look very positive, although just failing to write correctly at this time.

deanhowell
Influencer
Forum|alt.badge.img+24
  • Author
  • Influencer
  • August 13, 2018

Your best bet would probably be to create a workbench that can handle all geometry types. What I generally do for CAD drawings with unknown content is to send all features to a GeometryFilter and from there send each geometry type (point, like, area) to its own writer feature type. That way you can be sure that all features end up in the database.

You can set these writer feature types so that each tab file will create its own set of feature classes by using the fme_basename attribute as part of the feature class name. For example, if your mapinfo files are called Tabfile1 through 9, you can create a set of feature classes called Tabfile1_point, Tabfile1_line, Tabfile1_polygon, Tabfile2_point, Tabfile2_line etc.

Thanks also for your comment. It is great to see different options and will definately give this a try as well.