2017-06-21 76 views
0

我知道Azure搜索支持WKT格式的简单多边形。它是否也支持MULTI POLYGON?如果没有,我们什么时候可以期待这个功能可用。Azure搜索Multipolygon

此外,多边形可以拥有多少个顶点?

非常感谢

回答

0

Azure的搜索不支持multipolygons。为了表示一个,你需要建立一个过滤器查询构建使用多边形组合的多面,例如,代表的环:

filter=geo.intersects(location, geography'POLYGON((<coordinates of the external ring>))') and not geo.intersects(location, geography'POLYGON((<coordinates of the internal ring>))') 

目前,我们不强制限制到顶点的数量多边形可以有,但这可能会在未来的API版本中发生变化。