How should I define Spatial field type?
This does not answer the question exactly but: it is possible to create the field simply by using proper schema BUT the issue is writing and reading data. It is possible with \Drupal::database()-&gt;query() but not with \Drupal::database()-&gt;select() or any other method since we have no control over value escaping so spatial functions are not interpreted.