Skip to main content

Data Types

GOAT supports various data types to handle different kinds of information in your datasets. Understanding these data types helps you work more effectively with your data and ensures optimal performance.

Spatial Data Storage

GOAT uses a powerful combination of PostgreSQ database with the PostGIS extension to handle spatial data. Here's how it works:

  • Geometry Storage: All spatial features (points, lines, polygons) are stored using the PostGIS geometry type in the EPSG:4326 coordinate reference system
  • Accurate Calculations: For precise distance and area measurements, GOAT uses the PostGIS geography type, which provides meter-based calculations with higher accuracy

Supported Data Types

GOAT organizes data into specific types to optimize database performance and ensure scalability. Each data type has a maximum number of columns to maintain efficient processing:

Data TypeDescriptionExamplesMax Columns
integerWhole numbers without decimal points1, 100, -515
bigintVery large whole numbersPopulation counts, large IDs5
floatNumbers with decimal points3.14, -0.001, 45.6710
textText and character dataStreet names, categories, descriptions20
timestampDate and time information2024-01-15 14:30:003
arrfloatArray of decimal numbers[1.5, 2.7, 3.9]3
arrintArray of whole numbers[1, 5, 10, 15]3
arrtextArray of text values["red", "green", "blue"]3
jsonbStructured data in JSON format{"name": "value", "count": 42}3
booleanTrue/false valuestrue, false3
Why These Limits?

The column limits ensure optimal database performance and prevent system overload. If you need more columns of a specific type, consider splitting your data across multiple datasets or using array types for related values.

How to view Data Types

You can easily check the data types of your layer attributes:

1
Click on Options More Options button on your layer
2
Select View Data from the menu
3
In the data table, you'll see the data type displayed above each column header
More Options

Accessing the View Data option

Data table showing attribute types

Data table displaying attribute types above each column