Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test command #409

Merged
merged 6 commits into from
Feb 12, 2019
Merged

Test command #409

merged 6 commits into from
Feb 12, 2019

Conversation

rshura
Copy link
Contributor

@rshura rshura commented Feb 8, 2019

with a and b each being one of

(POINT lat lon)|(GET key id)|(BOUNDS minlat minlon maxlat maxlon)|(OBJECT geojson)|(CIRCLE lat lon meters)|(TILE x y z)|(QUADKEY quadkey)|(HASH geohash)
TEST a WITHIN b

returns 1 if a is within b, and 0 otherwise.

TEST a INTERSECTS b

returns 1 if a intersects b, and 0 otherwise.

TEST a INTERSECTS CLIP b

similar to above.
If the result is 1, then also return a clipped by b. This only works with b being BOUNDS, TILE, QUADKEY, HASH.

@s32x
Copy link
Contributor

s32x commented Feb 10, 2019

Looks good to me!

@tidwall tidwall merged commit 6fffa75 into tidwall:master Feb 12, 2019
@rshura rshura deleted the test_cmd branch April 24, 2019 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants