public class ST_MultiPoint
extends ST_Geometry
Creates a multipoint geometry in GeoJSON format, and returns a GeoJSON string representation of the geometry.
Format:
ST_MultiPoint(geometry STRING, srid INT) - constructor to create a MultiPoint geometry with GeoJSON or WKT strings
ST_MultiPoint(geometry BINARY, srid INT) - constructor to create a MultiPoint geometry with WKB
ST_MultiPoint(geometry Object, hiveRecordInfoProvider STRING) - constructor to create a MultiPoint geometry using a HiveRecordInfoProvider
Example:
select ST_MultiPoint ('{ "type": "MultiPoint","coordinates": [ [100.0, 0.0], [101.0, 1.0] ] }', 8307) from hivetable LIMIT 1; -- creates a MultiPoint using GeoJSON
select ST_MultiPoint ('multipoint ((10 40), (40 30), (20 20), (30 10))', 8307) from hivetable LIMIT 1; -- creates a MultiPoint using WKT
select ST_MultiPoint (geoColumn, 'hive.samples.SampleHiveRecordInfoProviderImpl') from hivetable; -- creates the geometries using a HiveRecordInfoProvider