-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Currently when filtering on spatial fields, the only options available are for checking the distance between the field point and some other point or exact point matches. It would be nice if we could check if the field point is within a defined bounding box, or at least be able to use numerical filters against the coordinate components directly to simulate the same effect.
For example:
type Location @node {
coordinates: Point!
}
Could be filtered like so:
location(where: {
coordinates: {
withinBB: {
lowerLeft: { latitude: 10, longitude: 10 }
upperRight: { latitude: 20, longitude: 20 }
}
}
}) {
coordinates { latitude longitude }
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers