Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Declare @Lat1 real = -37.786570
- Declare @Lng1 real = 145.178179
- Declare @Meters float = -1000
- Select Lat1 = @Lat1
- ,Lng1 = @Lng1
- ,Lat2 = @Lat1
- ,Lng2 = @Lng1 + (@Meters / 6371008.7714) * (180 / pi()) / cos(@Lat1 * pi()/180)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement