Control String
Previous Top Next

{control characters}

Usage        : Optional
Valid chars:  p   
Default       : blank

Left bracket must be first character in the label or it will treated as normal text.
{p}         = export object as point
blank        = convert Mapinfo object to equivalent KML object
 
Usage:

To export all objects in a layer as point with object name contained in a table column create a custom expression such as:
 
"{p}"+NameColumn
 
To export only some objects as points create a table column (eg TAG) containing the control string create a custom expression such as:
 
TAG+NameColumn  where TAG = {p} or blank
 
To export objects such as polygons and label them in Google,  use Mapinfo Add Layer tool to added a duplicate layer of same table to the mapper and use in the label of one layer:
 
"{p}"+text_column
       
This will export two layers, one with the polygons and the second with a Placemark for each object.

Note: This feature will be expanded in future to control interpretation of the label for example to change delimiter character and refer to external text/html files to overcome the label length limitation.

See also:
Advanced Techniques