OGC Standard Geometry
MULTIPOINT
WKT MULTIPOINT: Multi-point Cluster Syntax
Direct Definition:A WKT MULTIPOINT represents a collection of individual points treated as a single feature (e.g. sensor clusters, address nodes, or scatter points).
Valid Syntax & Example
MULTIPOINT ((-77.04 -12.04), (-77.03 -12.03), (-77.02 -12.02))
Syntax: MULTIPOINT ((x1 y1), (x2 y2), (x3 y3)) or MULTIPOINT (x1 y1, x2 y2)
Common Mistakes to Avoid
⚠️ Gotcha:
Mixing parenthesized and unparenthesized point syntax. The standard OGC format wraps each coordinate pair in parentheses: MULTIPOINT ((x1 y1), (x2 y2)).
PostGIS SQL Query Recipes
Creating and querying MULTIPOINT geometries in PostgreSQL:
1. Construct MULTIPOINT from WKT
SELECT ST_GeomFromText('MULTIPOINT ((0 0), (1 1), (2 2))', 4326);2. Export MULTIPOINT to WKT text
SELECT ST_AsText(ST_Collect(geom)) FROM sensor_points;
Python & Shapely Parsing
from shapely import wkt
multi_pt = wkt.loads("MULTIPOINT ((0 0), (1 1), (2 2))")
print("Number of points:", len(multi_pt.geoms))Frequently Asked Questions
How do I generate a MULTIPOINT from many rows in PostGIS?+
Use ST_Collect(geom) or ST_Union(geom) combined with GROUP BY in PostgreSQL.
Convert MULTIPOINT to Another Format
Every converter below accepts MULTIPOINT and runs entirely in your browser.
All GIS format converters →