Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.ms-sqlserver > #733
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Erland Sommarskog <esquel@sommarskog.se> |
| Newsgroups | comp.databases.ms-sqlserver |
| Subject | Re: Nearest distance from points to line segmenst |
| Date | Tue, 04 Oct 2011 23:06:33 +0200 |
| Organization | Erland Sommarskog |
| Lines | 24 |
| Message-ID | <Xns9F74EB1482AAYazorman@127.0.0.1> (permalink) |
| References | <165d17b5-8db3-4564-9553-049a021d05b3@dm9g2000vbb.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | mx04.eternal-september.org; posting-host="nBFDv6s1VJQDuF1w6hpX2A"; logging-data="4862"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/prspDzpT4zAm5RdRF+Lwt" |
| User-Agent | Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) |
| Cancel-Lock | sha1:sVFyO2hSy6s3YG61YMUc3dFgMxw= |
| Xref | x330-a1.tempe.blueboxinc.net comp.databases.ms-sqlserver:733 |
Show key headers only | View raw
Harry B. (bongoplayer@gmail.com) writes: > I'm new to the spatial functionality of MS SQL Server 2008. > > I have a table tblPoints with about 3000 point coorodinates and > another table tblLines with about 100000 polygon coordinates. Each > polygons is made of various numbers of line segments. > > How looks the sql statement to get the nearest polygon or line segment > to each point? I recommend that you post your question to http://social.msdn.microsoft.com/Forums/en-US/sqlspatial/threads No matter how much like newsgroups over forum, the spatial stuff goes completely over my head, so I can't help. -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
Back to comp.databases.ms-sqlserver | Previous | Next — Previous in thread | Find similar
Nearest distance from points to line segmenst "Harry B." <bongoplayer@gmail.com> - 2011-10-04 11:41 -0700 Re: Nearest distance from points to line segmenst Erland Sommarskog <esquel@sommarskog.se> - 2011-10-04 23:06 +0200
csiph-web