フィーチャーを反復処理します

メモ

API のエンドポイントは https://xyz.api.here.com/hubです。

フィーチャーの反復処理は、次の 2 つの方法で検索とは異なります。

  1. 結果は順序付けられ、 2 回返される機能はありません。
  2. 複数のリクエストを検索し続けることができます。

検索結果として多くの機能が使用されることがあります。 ただし、明示的に設定した制限またはデフォルトの制限によっては、一部の制限のみが返されます。 この場合 、ルート属性ハンドルが応答で設定されます。 次に、ハンドル 応答属性の値を ハンドル クエリ パラメーターとしてリクエストに追加することで、次の機能を使用して検索を続行できます。

リクエスト

Swagger で試してください

GET /spaces/{spaceId}/iterate?tags=&limit=2&handle=2

応答

{
  "handle": "4",
  "type": "FeatureCollection",
  "features": [
    {
      "id": "{featureId}",
      "bbox": [
        -123.291,
        50.1203,
        -123.291,
        50.1203
      ],
      "type": "Feature",
      "properties": {
        "name": "Mount Cayley",
        "@ns:com:here:xyz": {
          "tags": [
            "canada",
            "mountain"
          ],
          "space": "{spaceId}",
          "createdAt": 1529855978027,
          "updatedAt": 1529855978027
        }
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          -123.291,
          50.1203
        ]
      }
    },
    {
      "id": "{featureId}",
      "bbox": [
        -124.162,
        48.9511,
        -124.162,
        48.9511
      ],
      "type": "Feature",
      "properties": {
        "name": "Mount Whymper",
        "@ns:com:here:xyz": {
          "tags": [
            "canada",
            "mountain"
          ],
          "space": "{spaceId}",
          "createdAt": 1529855978028,
          "updatedAt": 1529855978028
        }
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          -124.162,
          48.9511
        ]
      }
    }
  ]
}

」に一致する結果は 件です

    」に一致する結果はありません