Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.


Function: to_multipoint
  convert a point into a multipoint

  parse a WKT (text) representation of a multipoint into a multipoint value


  to_multipoint(to_point('POINT (1 2)'))
  -- Result: {"type":"MultiPoint","coordinates":[[1,2]]}

  to_multipoint('MULTIPOINT ((10 40), (40 30), (20 20), (30 10))')
  -- Result: {"type":"MultiPoint","coordinates":[[10,40],[40,30],[20,20],[30,10]]}

  -- Result: {"type":"MultiPoint","coordinates":[[10,40],[40,30],[20,20],[30,10]]}

point -> multipoint
text -> multipoint
multipoint -> multipoint