Using lookup: placekey, retrieve the shape of a specific POI using polygon fields in the Geometry data set.
query {
lookup(placekey: "222-222@8dj-gr4-tvz") {
placekey
safegraph_geometry {
location_name
polygon_wkt
polygon_class
enclosed
}
}
}
{
"data": {
"lookup": {
"placekey": "222-222@8dj-gr4-tvz",
"safegraph_geometry": {
"location_name": "Starbucks",
"polygon_wkt": "POLYGON ((-81.97314747229308 28.095766670700137, -81.97290741458625 28.095764304558138, -81.97290473237723 28.0956956864176, -81.9729717876026 28.095698052561104, -81.97297446981162 28.09568148955543, -81.97305359497756 28.09567912341157, -81.97305225387305 28.095701601776266, -81.97314479008406 28.095694503345808, -81.97314747229308 28.095766670700137))",
"polygon_class": "OWNED_POLYGON",
"enclosed": false
}
}
},
"extensions": {
"row_count": 1,
"version_date": "1635494405__2021_10"
}
}