我正在查看3.4 RC,以输出完整的GeoJSON文件。以餐馆和邻里为例,即https://www.arangodb.com/arangodb-training-center/geojson-tutorial/,如果我将其过滤到单个邻里,则可以追加邻域,但是如果删除名称过滤器,则会得到“多边形中的无效循环”。
FOR n IN neighborhoods
FILTER n.name == "Chinatown"
FOR restaurant IN restaurants
FILTER GEO_CONTAINS(n.geometry, restaurant.location)
return
{type:"Feature","geometry":restaurant.location,
"properties":{"neighbourhood":n.name,"name":restaurant.name}}
这是我对ArangoDB的经验不足还是3.4中的问题?