Skip to content

oopsliu/Line2Bezier

Repository files navigation

中文说明

Generate Flow-line (Bezier curve) Tool

1 Tool Description

Curved lines are often required to visualize flow directions, such as the movement of population and traffics. This tool is used to convert straight lines into curved arcs to get a better visualization effects during mapping such scenarios.

2 Function

Convert straight lines (only has start and end vertex) into second order Bezier curves.

3 Setting

Input straight line feature class, i.e. C:\line.shp

Output Bezier feature class, i.e. C:\Flowline.gdb\line2bezier

4 Example

Parameters:

Before:

After:

Download

https://github.com/oopsliu/Line2Bezier/blob/master/line2bezier.py

About

Straight line to Bezier curve

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages