Purpose
Sets MapBasic's default area unit. You can issue this statement from the MapBasic window in MapInfo Pro.
Syntax
Set Area Units area_name
area_name is a string representing the name of an area unit (for example, "acre").
Description
The Set Area Units statement sets MapInfo Pro's default area unit of measure. This dictates the area unit used within MapInfo Pro's SQL Select dialog box. By default, MapBasic uses square miles as an area unit; this unit remains in effect unless a Set Area Units statement is issued. The area_name parameter must be one of the string values listed in the table below:
Unit Name | Unit Represented |
---|---|
"acre" | acres |
"hectare" | hectares |
"perch" | perches |
"rood" | roods |
"sq ch" | square chains |
"sq cm" | square centimeters |
"sq ft" | square feet |
"sq in" | square inches |
"sq km" | square kilometers |
"sq li" | square links |
"sq m" | square meters |
"sq mi" | square miles |
"sq mm" | square millimeters |
"sq rd" | square rods |
"sq survey ft" | square survey feet |
"sq yd" | square yards |