how to convert geometry with float x and y sql server to postgress sql
declare @x float = 1067527872, @y float = -234636443, @p1 geometry set @p1 = geometry::STGeomFromText('POINT(' + STR(@x,12,7) + ' ' + STR(@y,12,7) + ')',4326) select @p1 as geom
Hi ruben00000,
Refer below link.
https://stackoverflow.com/questions/57286653/convert-geometry-from-t-sql-to-postgres
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.