[GIS] Export MapInfo map to Google Earth (.kml file)

google earthkmlmapbasicmapinfo

I have a map in MapInfo.

I can convert it to Google Earth file (.kml) manually but I would like to do it automatically by commands in a function.

Can anyone help me?

Best Answer

There is a 'Samples' folder which comes with your MapBasic installation. Within that, under .NET, there is GoogleConnect. This contains the source code for the GELink utility which I assume is what you would use to export the data manually. This would be a good place to start. As for the symbology, Google and MapInfo have different symbol sets, but I think they are both customisable so you could probably get these to match up with a bit of work.