Discussion:
POLYGON OUT INT
(too old to reply)
adolfo troncoso
2015-05-04 21:29:28 UTC
Permalink
DECLARE @g geography;
DECLARE @h geography;
SET @g = geography::STGeomFromText('POLYGON((-33.361732014106685 -70.6365966796875, -33.43167049412313 -70.5377197265625,-33.52330772520044 -70.6201171875,-33.49926233504099 -70.7354736328125, -33.361732014106685 -70.6365966796875))', 4326);
SET @h = geography::Point(-33.44358884229916,-70.67367553710937, 4326)

SELECT @g.STIntersects(@h)



--- IN SET @h = geography::Point(-34.59342378923565, -71.3836669921875, 4326)
--- OUT SET @h = geography::Point(-33.44358884229916,-70.67367553710937, 4326)
Erland Sommarskog
2015-05-05 21:11:04 UTC
Permalink
Not that I understand Spatial, but what is the question?
--
Erland Sommarskog, Stockholm, ***@sommarskog.se
Continue reading on narkive:
Loading...