- ST_CreateLine(point1, point2, ...)
- ST_CreatePolygon(obj1, obj2, ...)
So ST_CreateLine(ST_CreatePoint(1,1), ST_CreatePoint(1,2), ST_CreatePoint(2,2), ST_CreatePoint(2,1)) gives us a spatial line:
and ST_CreatePolygon(ST_CreatePoint(1,1), ST_CreatePoint(1,2), ST_CreatePoint(2,2), ST_CreatePoint(2,1)) gives us a polygon:
Great for creating your own charts (e.g. Gannt or Polar) or other interesting uses of Alteryx's spatial functions.
No comments:
Post a Comment