to_cartesianpoint.asciidoc 625 B

12345678910111213141516171819
  1. [discrete]
  2. [[esql-to_cartesianpoint]]
  3. === `TO_CARTESIANPOINT`
  4. Converts an input value to a `point` value.
  5. The input can be a single- or multi-valued field or an expression.
  6. The input type must be a string or a cartesian `point`.
  7. A string will only be successfully converted if it respects the
  8. https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry[WKT Point] format:
  9. [source.merge.styled,esql]
  10. ----
  11. include::{esql-specs}/spatial.csv-spec[tag=to_cartesianpoint-str]
  12. ----
  13. [%header.monospaced.styled,format=dsv,separator=|]
  14. |===
  15. include::{esql-specs}/spatial.csv-spec[tag=to_cartesianpoint-str-result]
  16. |===