to_cartesianpoint.asciidoc 713 B

1234567891011121314151617181920212223242526272829303132333435
  1. [discrete]
  2. [[esql-to_cartesianpoint]]
  3. === `TO_CARTESIANPOINT`
  4. *Syntax*
  5. [source,esql]
  6. ----
  7. TO_CARTESIANPOINT(v)
  8. ----
  9. *Parameters*
  10. `v`::
  11. Input value. The input can be a single- or multi-valued column or an expression.
  12. *Description*
  13. Converts an input value to a `point` value.
  14. A string will only be successfully converted if it respects the
  15. {wikipedia}/Well-known_text_representation_of_geometry[WKT Point] format.
  16. include::types/to_cartesianpoint.asciidoc[]
  17. *Example*
  18. [source.merge.styled,esql]
  19. ----
  20. include::{esql-specs}/spatial.csv-spec[tag=to_cartesianpoint-str]
  21. ----
  22. [%header.monospaced.styled,format=dsv,separator=|]
  23. |===
  24. include::{esql-specs}/spatial.csv-spec[tag=to_cartesianpoint-str-result]
  25. |===