Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

STDistance() for geometries does not account for any supplied SRID

$
0
0
Distance is returned in units of measure based on the input system. For all geometries this is a grid and does not take the spatial reference ID into account. Any stored values for Z are also ignored.Declare @geography geography = geography::STGeomFromText('Linestring(0 2, 1 1, 2 0)',4326);Declare @PointGeography geography= geography::STGeomFromText('Point(0.5 0.5)',4326);Declare @geometry geometry= geometry::STGeomFromText('Linestring(0 2, 1 1, 2 0)',4326);Declare @PointGeometry geometry=

Viewing all articles
Browse latest Browse all 12198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>