Skip to content

PostGIS: Create entities from contained geometries

Plugin ID: eca_geofield_postgis_create_entities_from_contained

Available since: 1.0.0

Queries entities inside a polygon and creates new entities for each match.

Fields

Source polygon — config key: source_polygon

The bounding polygon geometry (EWKB hex). Supports ECA token replacement.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Target entity type — config key: target_entity_type

Machine name of the entity type to query (e.g. node).
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Target bundle — config key: target_bundle

Machine name of the bundle to query.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Target Geofield machine name — config key: target_field

Machine name of the Geofield field on the target entity type (e.g. field_location).
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Target geometry type — config key: target_geom_type

PostGIS geometry type filter, e.g. ST_Point or ST_Polygon.
This field supports tokens.

Type: textfield · Required: yes · Default: ST_Point

New entity type — config key: new_entity_type

Machine name of the entity type to create (e.g. node).
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

New bundle — config key: new_bundle

Machine name of the bundle for the new entities.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

New entity Geofield machine name — config key: new_field

Machine name of the Geofield field on the new entity type where the matched geometry will be stored.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string