def METHOD_NAME(app, db, minimal_record, parent):
    pytest.importorskip("shapely")
    dumper = SearchDumper(extensions=[LocationsDumper()])
    # This also tests shapes with elevations
    minimal_record["locations"] = {
        "features": [
            {
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [100.0, 0.0, 10],
                            [101.0, 0.0, 10],
                            [101.0, 1.0, 30],
                            [100.0, 1.0, 30],
                            [100.0, 0.0, 10],
                        ]
                    ],
                }
            }
        ],
    }
    record = RDMRecord.create(minimal_record, parent=parent)
    dump = record.dumps(dumper=dumper)
    # 3D geometries still lead to 2D centroids
    assert dump["locations"]["features"][0]["centroid"] == [100.5, 0.5]