Skip to main content
Solved

SHP to TAB: MapINFO version chosen was 300 but created with version 800


juanmahere
Supporter
Forum|alt.badge.img+11

Hi all,

 

Not sure if someone could help me with this doubt.

I'm trying to convert from SHP to MAPINFO a polygonal layer. I fill the Advance property from the Writer to be used the File Version = '300'. Once finished the conversion I see the file has taken '800'. Other layers maintain '300'.

Not sure why some layers stick to the fixed '300' value that I give and others no.

I'm using 2022.1 FME Desktop version.

 

Thanks,

J.

Best answer by egge

Hi Juanma,

Yes, this behavior can be explained. If we have a look at the MapInfo TAB (MITAB) Writer Parameters, under File Version, we will see that this parameter only "Provides a hint of the target version of the output file."

"Note that this option does not affect the overall version number written to the file. That is determined by the specific attribute types, geometry types, or coordinate systems. For example, if the coordinate system is “Krovak S-JTSK”, then the version is promoted to at least 900."

This means that if you set File Version = '300', the system will try to create a MapInfo 3 compatible file, but if this is impossible (for the reasons mentioned above) FME will automatically switch to a higher version.

It looks like the geometry from your shapefile is not compatible with MapInfo 3, so the system generates a TAB file compatible with MapInfo 8. (It might be the geometry, but it could also be one or more of the attributes and/or the projection used...)

 

HTH,

 

Egge-Jan

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

2 replies

egge
Contributor
Forum|alt.badge.img+14
  • Contributor
  • Best Answer
  • January 30, 2023

Hi Juanma,

Yes, this behavior can be explained. If we have a look at the MapInfo TAB (MITAB) Writer Parameters, under File Version, we will see that this parameter only "Provides a hint of the target version of the output file."

"Note that this option does not affect the overall version number written to the file. That is determined by the specific attribute types, geometry types, or coordinate systems. For example, if the coordinate system is “Krovak S-JTSK”, then the version is promoted to at least 900."

This means that if you set File Version = '300', the system will try to create a MapInfo 3 compatible file, but if this is impossible (for the reasons mentioned above) FME will automatically switch to a higher version.

It looks like the geometry from your shapefile is not compatible with MapInfo 3, so the system generates a TAB file compatible with MapInfo 8. (It might be the geometry, but it could also be one or more of the attributes and/or the projection used...)

 

HTH,

 

Egge-Jan


juanmahere
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • January 31, 2023

That's totally comprehensive. More clear now, many thanks for the help @egge​ ! ;)


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