Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Geometry assistance required

$
0
0
Hi,I'm a bit of a newbie to GIS and I need to identify, geometrically, which of my company's customers are located within a particular area. In this case it is those who are within the M25 - the major motorway which encircles London, UK.I have co-ordinates for the route of the M25 as a set of LINESTRING segments and can combine them into a single MULTILINESTRING using geometry::UnionAggregate. But what I need to do is convert this into a POLYGON so I can use (eg) STIntersects to identify which customers are "inside" and which are "outside" this polygon. I'm sure there must be an easy way to convert a MULTILINESTRING into a POLYGON but I can't seem to find it!Many thanks.

Viewing all articles
Browse latest Browse all 3145

Trending Articles