-
Notifications
You must be signed in to change notification settings - Fork 569
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
INTERSECTS – am I just doing something wrong or is there a bug? #70
Comments
Okay! That's good to know and we can rollback until a fix is in place. Will an AOF file created with 1.5.1 still work with 1.4.2 ? |
I added the [NX|XX] expiration keywords to the SET command. If you are not setting ttl expirations on keys then you should be ok. Otherwise I can whip up a 1.4.3 hotfix in the meantime. |
Great. We are fine for now, then (not using TTL flags). |
Thanks so much for alerting me to this bug. I just pushed a new release 1.5.2 that addresses the problem. Please let me know if you run into any further issues. |
Hi,
First: Tile38 is full of good! Meanwhile, we are investigating using it for spatial queries with the Who's On First project. We've been indexing data using this:
https://github.com/whosonfirst/go-whosonfirst-tile38/blob/master/index/index.go
And everything seems fine and good when doing NEARBY queries. When doing INTERSECTS queries though, things start to get weird. Specifically: Things that I would expect to return results because they intersect don't. For example:
I can replicate this for both records that are indexed as MultiPolygons (under v1.5.1) and as bounding boxes (under a past version that reports itself as 0.0.0). I double-checked that each geometry is in fact intersected by the BOUNDS query (see attached GeoJSON files and screenshots) so I am at a bit of a loss.
Am I missing something obvious or is there a bug in here somewhere? The weirdest part for me is that I could swear I had all of this working as expected under an older version of Tile38, about a month ago...
The pink box is the INTERSECTS query and the grey boxes are the things indexed in Tile38
tile38-intersects-bbox.geojson.txt
tile38-intersects-poly.geojson.txt
Related:
https://whosonfirst.mapzen.com/spelunker/id/85922583/
https://whosonfirst.mapzen.com/data/859/225/83/85922583.geojson
The text was updated successfully, but these errors were encountered: