Sintaxe
M
Geography.ToWellKnownText(input as nullable record, optional omitSRID as nullable logical) as nullable textParâmetros
- inputnullable recordObrigatório
Registro estruturado do ponto geográfico.
M[Kind = "POINT", Longitude = -122.127222, Latitude = 47.641944]- omitSRIDnullable logicalOpcional
Indica se o identificador de referência espacial (SRID) é omitido do texto gerado.
Retorna
nullable textExemplo
M
Geography.ToWellKnownText([Kind = "POINT", Longitude = -122.127222, Latitude = 47.641944])Resultado
M
"POINT(-122.127222 47.641944)"Mais informações
- Subgrupo
- Geography