Postgres 9.5 providing ST_ClusterWithin for Cluster the spatial data in DB level.

Is there any available solution for data clustering in MS SQL (NOT SERVER CLUSTER)


Is there Any Function ( like ST_ClusterWithin ) in MS SQL Server

------------NO POSTGRES/ POSTGIS SOLUTION -------------

------------NO OL3 SOLUTION -------------


Having looked a the description of ST_ClusterWithin, I believe the geography::Point and STDistance methods are what you're looking for. (See Serge's answer to https://stackoverflow.com/questions/42004474/merge-stored-procedure-and-ctefunction-together-to-get-results-from-reference for an example.)

|improve this answer|||||
  • Spatial Cluster gives a less amount of data and their count instead of million of data. It will combine nearby data together, It is very helpfull for showing huge data. – JOEL Feb 6 '17 at 10:57
  • You might have better luck posting at gis.stackexchange.com – T.H. Feb 6 '17 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.