In computer graphics, a polyline is a continuous line that is composed of one or more connected straight line segments, which, together, make up a shape. You can create a polyline by specifying the endpoints of each segment. In draw programs, you can treat a polyline as a single object or divide it into its component segments.

Polylines are used in geographic information systems (GIS) and computer-aided design (CAD) software to represent boundaries, roads, rivers, and other lines on maps. In general, they are used to represent an object in two-dimensional or three-dimensional space, and they can be open, closed, or a combination of both.

What Is a Polyline?

Polylines, also sometimes known as multi-lines or contour lines, are lines that have been drawn in the shape of a polygon. Polylines are frequently used for display purposes in AutoCAD. But you cannot easily draw an actual polyline (which is defined by a series of connected line segments) in AutoCAD, as it only allows you to make arcs and circles that would not form a continuous line or curve. Within AutoCAD, polylines can be created by using the POLYLINE command in the command line.

Polyline Use Case: Digitized Maps

Polylines can be used to graphically represent an area, such as a river or road. They are often used to digitize vector data from scanned maps into GIS software programs like ArcGIS, which is made by Esri.

The process of converting these scanned maps into digital format involves tracing over the original map with the onscreen mouse cursor until all features have been traced onto the computer program’s interface. This allows users to create their own datasets using any kind of geographic information systems software they choose. With this method, users also do not have to purchase expensive proprietary mapping products from companies like Esri or Intergraph Corporation.

Read next: The Best CAD/CAM Software

Webopedia Staff
Webopedia Staff
Since 1995, more than 100 tech experts and researchers have kept Webopedia’s definitions, articles, and study guides up to date. For more information on current editorial staff, please visit our About page.

Related Articles

@ Sign

Pronounced at sign or simply as at, this symbol is used in e-mail addressing to separate the user' name from the user's domain name,...


(MUHN-jing) Munging (address munging), is the act of altering an email address posted on a Web page to make it unreadable to bots and...

How to Create an RSS Feed

In the second installment of RSS how-to, we look at some of the nonrequired (optional) channel and item tags, discuss RSS specifications in-depth and...

Dictionary Attack

(n.) (1) A method used to break security systems, specifically password-based security systems, in which the attacker systematically tests all possible passwords beginning with...


ScalaHosting is a leading managed hosting provider that offers secure, scalable, and affordable...


Human resources information system (HRIS) solutions help businesses manage multiple facets of their...

Best Managed Service Providers...

In today's business world, managed services are more critical than ever. They can...