code: def test_geo_interface_feature_collection():
      geom = {
          "type": "FeatureCollection",
          "features": [
              {
                  "geometry": {
                      "coordinates": [
                          [
                              [6.90, 53.48],
                              [5.98, 51.85],
                              [6.07, 53.51],
                              [6.90, 53.48],
                          ]
                      ],
                      "type": "Polygon",
                  },
                  "id": 27,
                  "properties": {"type": "foo", "id": 1, "geometry": 1},
                  "type": "Feature",
              },
              {
                  "geometry": {
                      "coordinates": [
                          [
                              [8.90, 53.48],
                              [7.98, 51.85],
                              [8.07, 53.51],
                              [8.90, 53.48],
                          ]
                      ],
                      "type": "Polygon",
                  },
                  "id": 28,
                  "properties": {"type": "foo", "id": 2, "geometry": 1},
                  "type": "Feature",
              },
          ],
      }
      feat = geom_obj(geom)
  
      with alt.data_transformers.enable(consolidate_datasets=False):
          spec = alt.Chart(feat).mark_geoshape().to_dict()
      assert spec["data"]["values"][0]["id"] == 1
      assert spec["data"]["values"][1]["id"] == 2
      assert "coordinates" in spec["data"]["values"][0]["geometry"]
      assert "coordinates" in spec["data"]["values"][1]["geometry"]
      assert spec["data"]["values"][0]["type"] == "Feature"
      assert spec["data"]["values"][1]["type"] == "Feature"
  
file_path: altair/tests/vegalite/v5/test_geo_interface.py
imports: import pytest
  import altair.vegalite.v5
label_desc: Use image node_id 8 for calling a global function with example usage: test_geo_interface_feature_collection() without return types