我在PostGis数据库中存储和空间索引的空间分布的实体集合E.
每个实体都有许多索引的非空间属性,例如TYPE,VALUE等。
对于以下类型的查询,是否存在计算效率高的查询模板:
"find the centroid of the circular region with radius X which includes the most E such that (some condition based on attribue values)"
例如
"find the centroid of the circular region with radius 1Km which contains the most E with TYPE == 'PIZZA-RESTAURANT'"
谢谢!