Find the nearest points along the linestring in specified distance limit and order

后端 未结 2 391
自闭症患者
自闭症患者 2020-12-31 14:06

I have such problem and I would be nice If somebody can help me. I have points table with GIST index. Those points don\'t change in time.

I would like to fetch point

2条回答
  •  感情败类
    2020-12-31 15:05

    It sounds like you could benefit from the KNN-GIST feature from last summer's PostgreSQL 9.1 release and supported by PostGIS version 2.0.

    http://blog.opengeo.org/2011/09/28/indexed-nearest-neighbour-search-in-postgis/

提交回复
热议问题