Switch to: V11V10V9V8V7V6V5

Data Editor - Geometry Editor

Valentina Studio has a set of specialized editors for geometry types available in PostgreSQL databases.

These editors work in a popup and modal mode, also values of these types can be edited as text in the inline editor right in the table grid.

Point

Points are the fundamental two-dimensional building block for geometric types. X and Y are the respective coordinates, specified as floating-point numbers.

Line

The Line editor allows you to specify line in two different forms:

  • Standard Form, where A, B and C are constants from the linear equation Ax + By + C = 0.
  • Two Points, where (X1,Y1) and (X2,Y2) are two different points on the line.

Line Segment

Line segments are represented by pairs of points that are the endpoints of the segment.

where (X1,Y1) and (X2,Y2) are the end points of the line segment.

Box

Boxes are represented by pairs of points that are opposite corners of the box.

where (X1,Y1) and (X2,Y2) are any two opposite corners of the box.

Circle

Circles are represented by a center point and radius.

where (X,Y) is the center point and Radius is the radius of the circle.

Path

Paths are represented by lists of connected points.

Each row contains point coordinates and two buttons:

  • + button – adds row before
  • - button – deletes current row

A row for a new point is added to the end of the list automatically after filling in the first coordinate.

Use the Closed checkbox to indicate whether the path is closed or not.

Paths can be open, where the first and last points in the list are considered not connected, or closed, where the first and last points are considered connected.

Polygon