Set Resolution statement - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

Purpose

Sets the object-editing resolution setting; this controls the number of nodes assigned to an object when an object is converted to another object type. You can issue this statement from the MapBasic window in MapInfo Pro.

Syntax

Set Resolution node_limit

node_limit is a SmallInt value between 2 and 1,048,570 (inclusive); default is 100.

Description

By default, MapInfo Pro assigns 100 nodes per circle when converting a circle or arc into a region or polyline. Use the Set Resolution statement to alter the number of nodes per circle. By increasing the resolution setting, you can produce smoother result objects.

The Set Resolution statement affects subsequent operations performed by the user, such as the Convert to Regions and the Convert to Polylines commands. The resolution setting also affects some MapBasic statements and functions, such as the ConvertToRegion() function and the ConvertToPline() function. The resolution setting also affects operations where MapInfo Pro performs automatic conversion (for example, Split, Combine).

Buffering operations are not affected by the Set Resolution statement. The Create Object As Buffer statement and the Buffer() function both have resolution parameters which allow you to specify buffer resolution explicitly.

See Also:

ConvertToPline() function, ConvertToRegion() function