{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/5295","repository_url":"https://api.github.com/repos/openlayers/ol3","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/5295/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/5295/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/5295/events","html_url":"https://github.com/openlayers/ol3/issues/5295","id":151831895,"number":5295,"title":"getFeaturesAtCoordinate returns false for ol.geom.Point because constainsXY is falsy","user":{"login":"giohappy","id":571129,"avatar_url":"https://avatars.githubusercontent.com/u/571129?v=3","gravatar_id":"","url":"https://api.github.com/users/giohappy","html_url":"https://github.com/giohappy","followers_url":"https://api.github.com/users/giohappy/followers","following_url":"https://api.github.com/users/giohappy/following{/other_user}","gists_url":"https://api.github.com/users/giohappy/gists{/gist_id}","starred_url":"https://api.github.com/users/giohappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giohappy/subscriptions","organizations_url":"https://api.github.com/users/giohappy/orgs","repos_url":"https://api.github.com/users/giohappy/repos","events_url":"https://api.github.com/users/giohappy/events{/privacy}","received_events_url":"https://api.github.com/users/giohappy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openlayers/ol3/labels/pull%20request%20accepted","name":"pull request accepted","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-29T09:58:18Z","updated_at":"2016-05-01T20:52:12Z","closed_at":"2016-04-29T13:23:00Z","body":"I wonder why containsXY is not implemented for ol.geom.Point. From a logical point of view I would expect ol.source.Vector.getFeaturesAtCoordinate to return the matching features. They're found indeed by the internal featuresTree but then they aren't returned [here](https://github.com/openlayers/ol3/blob/master/src/ol/source/vectorsource.js#L465) because ol.geom.Point.containsXY is falsy (it's the base ol.geom.Geometry.containsXY function)."},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/216071966","html_url":"https://github.com/openlayers/ol3/issues/5295#issuecomment-216071966","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/5295","id":216071966,"user":{"login":"giohappy","id":571129,"avatar_url":"https://avatars.githubusercontent.com/u/571129?v=3","gravatar_id":"","url":"https://api.github.com/users/giohappy","html_url":"https://github.com/giohappy","followers_url":"https://api.github.com/users/giohappy/followers","following_url":"https://api.github.com/users/giohappy/following{/other_user}","gists_url":"https://api.github.com/users/giohappy/gists{/gist_id}","starred_url":"https://api.github.com/users/giohappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giohappy/subscriptions","organizations_url":"https://api.github.com/users/giohappy/orgs","repos_url":"https://api.github.com/users/giohappy/repos","events_url":"https://api.github.com/users/giohappy/events{/privacy}","received_events_url":"https://api.github.com/users/giohappy/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T20:52:12Z","updated_at":"2016-05-01T20:52:12Z","body":"Yes, I'm altresì already using both. Probably OL shouldn't replicate spatial relations operators as defined by the spec. They're already covered, e.g., by JSTS.\r\nContainsXY can be considered as an \"intersects a given coordinate\" wherever it's located (boundary or interior).\r\n"}}