I’ve put together some json data that includes information on both a point geo position as well as polygon for a city; as an example
"f5bdcbc74f41eec55554dfe1575de5e7": {
"city": "Skykomish",
"state": "Washington",
"state_2": "WA",
"county": "King",
"postal_codes": [98288],
"location": {
"point": {
"long": -121.369352,
"lat": 47.722245
},
"polygon": [
[
[-121.34732325093523, 47.71169679480062],
[-121.3471560205903, 47.71175889036292],
To be able to make use of dgraphs geo functions near, within, contains, etc , is it possible to have a location with two types (polygon and point) or I have to only choose one?