Spatial Constructors

Components that given the specifications in the input generate new sets of spatial data; those being points, line, polygons and even tilesets.

BBOX from Values

Description

This component creates a new table containing a 'geom' column and a single row containing a geography that represents a bounding box as defined by the input min/max values.

Inputs

  • Minimum X [Number]

  • Minimum Y [Number]

  • Maximum X [Number]

  • Maximum Y [Number]

Outputs

  • Result table [Table]

BigQuery reference

Clip with Polygons

Description

This component creates a new table containing the geographies of the input table clipped to the combined boundary of the geographies in another table. Geographies in this second table must be of type polygon.

Inputs

  • Table to clip [Table]

  • Polygons table [Table]

  • Geo column in table to clip [Column]

  • Geo column in polygons table [Column]

Outputs

  • Result table [Table]

Create Grid

Description

This component creates a new table containing points distributed in a regular grid, according to a given interval. Point geographies are stored in a column named 'geo'. The extent to cover is defined by an ancillary table with geographies.

Inputs

  • Reference table (used for extent) [Table]

  • Geo column [Column]

  • Interval (degrees) [Number]

Outputs

  • Result table [Table]

Create Isolines

This component requires the CARTO Analytics Toolbox installed in the chosen connection to build the workflow.

Description

This component computes isolines.

Inputs

  • Source table [Table]

  • Geo column [Column]

  • Range value [Number]

  • Mode [Selection]

  • Type of range [Selection]

Outputs

  • Result table [Table]

External links

BigQuery reference

Create Routes

This component requires the CARTO Analytics Toolbox installed in the chosen connection to build the workflow.

Description

This component creates routes between origin and destination points stored in a table.

Inputs

  • Source table [Table]

  • Origin column [Column]

  • Destination column [Column]

  • Name for column with routes [String]

  • Mode [Selection]

Outputs

  • Result table [Table]

External links

BigQuery reference

Create Tileset

This component requires the CARTO Analytics Toolbox installed in the chosen connection to build the workflow.

Description

This component creates a tileset.

Inputs

  • Source table [Table]

  • Geo column [Column]

  • Tileset name [String]

  • Tileset description [String]

  • Minimum zoom [Number]

  • Maximum zoom [Number]

  • Minimum zoom column [Column]

  • Maximum zoom column [Column]

  • Maximum tile size (KB) [Number]

  • Tile feature order [String]

  • Drop duplicates [Boolean]

Outputs

External links

BigQuery reference

Point from Static LatLon

Description

This component creates a new table containing a single row with a single point geography. The point is stored in a column named 'geo'.

Inputs

  • Longitude [Number]

  • Latitude [Number]

Outputs

  • Result table [Table]

Remove Holes

Description

This component generates a new geo column with polygons without holes.

Inputs

  • Source polygons table [Table]

  • Geo column [Column]

Outputs

  • Result table [Table]

Spatial Process

Description

This component performs high-level spatial object editing from a simple, single component. You can combine multiple objects or cut the spatial objects of the input table.

With this component you can combine objects, cut 1st from 2nd, cut 2nd from 1st, create the intersection object or create the inverse intersection object. Define the action that you want to do using the “Action” field.

Inputs

  • source table [Table]

  • 1st Spatial Field [Column]

  • 2nd Spatial Field [Column]

  • Action [Selection]

Outputs

  • Result table [Table]

ST Boundary

Description

This component adds a new column with the boundary of the input geography.

Inputs

  • Source table [Table]

  • Geo column [Column]

Outputs

  • Result table [Table]:

External links

BigQuery reference

Redshift reference

ST Bounding Box

Description

This component creates a new column containing rectangles that represents the bounding box of each geometry.

Inputs

  • Source table [Table]

  • Geo column [Column]

Outputs

  • Result table [Table]

External links

BigQuery reference

Snowflake reference

Redshift reference

PostgreSQL reference

ST Extent

Description

This component creates a new table containing a 'geom' column and a single row containing a geography that represents the bounding box of the input table.

Inputs

  • Source table [Table]

  • Geo column [Column]

Outputs

  • Result table [Table]

External links

BigQuery reference

ST Generate Points

This component requires the CARTO Analytics Toolbox installed in the chosen connection to build the workflow.

Description

This component generates a table with a specified number of random points within a extent.

The extent is specified using a table with polygons.

Inputs

  • Source table [Table]

  • Geo column [Column]

  • Number of points [Number]

Outputs

  • Result table [Table]

External links

BigQuery reference

ST Geocode

This component requires the CARTO Analytics Toolbox installed in the chosen connection to build the workflow.

Description

This component geocodes an input table.

It generates a new table with an additional column named 'geo' containing the geocoded addresses.

Inputs

  • Source table [Table]

  • Column with addresses [Column]

  • Country [Selection]

Outputs

  • Table with geocoded rows [Table]

  • Table with rows that could not be geocoded [Table]

External links

BigQuery reference

ST Make Line

Description

This component creates a new table with an additional column with line geographies. Geographies are created based on another column containing arrays of points.

Inputs

  • Source table [Table]

  • Points column [Column]

Outputs

  • Result table [Table]

External links

BigQuery reference

PostgreSQL reference

ST Make Polygon

Description

This component creates a new table with an additional column with polygon geographies. Geographies are created based on another column containing polylines.

Inputs

  • Source table [Table]

  • Polylines column [Column]

Outputs

  • Result table [Table]

External links

BigQuery reference

Snowflake reference

Redshift reference

PostgreSQL reference

ST Polygonize

This component requires the CARTO Analytics Toolbox installed in the chosen connection to build the workflow.

Description

This component adds a new column with polygons, created from a column containing arrays of lines representing polygon edges.

Inputs

  • Source table [Table]

  • Geo column [Column]

Outputs

  • Result table [Table]

External links

BigQuery reference

Last updated