1

Topic: Usage of coordinates x y in ST

Hello!
Prompt please how to use projection coordinates x and y, in st methods geometry?

declare @X decimal (10,2) = 6948427.22
declare @Y decimal (10,2) = 12651789.78
select geography:: STGeomFromText (' POINT (' + cast (@X as nvarchar (20)) + ' ' + cast (@Y as nvarchar (28)) + ') ', 0)

I so understand STGeomFromText is used only for a longitude and latitude. And I need to use coordinates of projections. It is possible in geometry?

2

Re: Usage of coordinates x y in ST

I found the answer: geometry:: STGeomFromText