[GIS] Label inside top left corner of polygons using MapInfo Professional

arcgis-desktoplabelingmapinfopolygon

Does anyone know of a tool or procedure to automatically place a label in the corner of a polygon, rather than at the centroid?

I am using Mapinfo and know that I can manually place the label there, but I have a lot of polygons and would prefer to do it automatically, especially as the polygons change every so often.

Even better would be a way to do this in ArcGIS Desktop.

Best Answer

You can label in a position.

Go into layer control (right click) and then select the layer you want, then the label button. IN there, is all the positioning you need.

In MapBasic, you can do the following in the MapBasic window (very easy) or you can script it:

  • Loop through your objects in the layer you want to label
  • get the objects x,y you want (using ObjectInfo if I remember correctly)
  • then adjust the label based on that.

Code to adjust is:

Set Map Layer 1 Label Object 1 
    Visibility On 
    Anchor (0, 85) ’anchor the label at this (x,y)

MapBasic User/Reference Guide

You could also look at this; trial version is free, in case it works for you: evermap.com/evername.asp