Fiware Orion:Geoqueries 不适用于 geojson 多边形,只有点似乎有效

Fiware Orion: Geoqueries do not work for geojson polygons, only points seem to work

我的地理查询有问题,它似乎只在存储的实体位置 geojson 类型是“点”类型时有效,但不适用于多边形。

我是 运行 Orion 2.5.2 docker

我都在附近测试过

https://{{orion}}/v2/entities/?type=Building&georel=near;maxDistance:2000&geometry=point&coords=51.706774495,8.776277548

还有intersects/coveredBy:

https://{{orion}}/v2/entities/?type=Building&georel=intersects&coords=51.70683451303916,8.77602696418762;51.706462195326104,8.776386380195618;51.70663838176868,8.776847720146177;51.706965820787424,8.776482939720154;51.70683451303916,8.77602696418762&geometry=polygon

但 orion 总是 returns 示例条目的空结果: 我在规范和 orion 手册中都找不到任何提示这只适用于点。对我来说似乎是个错误

{
  "id": "urn:ngsi-ld:Building:1",
  "type": "Building",
  "location": {
    "type": "geojson",
    "value": {
      "type": "Polygon",
      "coordinates": [
        [
          [8.776530571, 51.706858417],
          [8.776277548, 51.706774495],
          [8.776343457, 51.706697699],
          [8.77633707, 51.706695601],
          [8.776363068, 51.706665196],
          [8.776369454, 51.706667303],
          [8.776457838, 51.706563935],
          [8.776710906, 51.706647506],
          [8.776620847, 51.706753038],
          [8.776627233, 51.706755145],
          [8.776605064, 51.706781115],
          [8.776598678, 51.706779008],
          [8.776530571, 51.706858417]
        ]
      ]
    }
  }
}

我可以解决。结果我输入的是“geojson”而不是“geo:json”。更改为后者现在有效。