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

Wrong results count when zooming on whole world #538

Open
fbunoz opened this issue Nov 28, 2016 · 4 comments
Open

Wrong results count when zooming on whole world #538

fbunoz opened this issue Nov 28, 2016 · 4 comments

Comments

@fbunoz
Copy link
Contributor

fbunoz commented Nov 28, 2016

When we zoom out to show the whole world, and when we use the map extend to filter, the result count should be the same or a bit less than not using the map extend filter.
But it is not : the count is few hundred only.

Ex : all WP on the world : http://www.demov6.camptocamp.org/waypoints#bbox=-22837631%252C-44634816%252C29447742%252C31601641
527 results (on my screen) instead of more than 30000.

@fbunoz
Copy link
Contributor Author

fbunoz commented Nov 28, 2016

Sorry, I created the issue on API, but it maybe more relevent for UI, but maybe not :-) I let you decide.

@asaunier
Copy link
Member

Interesting :P

Perhaps it's related to the fact your map extent is too big an covers several times the world => incorrect map extent?

If you zoom a bit and only have the world once, it seems OK:
http://www.demov6.camptocamp.org/waypoints#bbox=-18337019%252C-27219404%252C16572078%252C29527446

@tsauerwein
Copy link
Member

It's likely a reprojection issue between 3857 <-> 4326.

@fbunoz
Copy link
Contributor Author

fbunoz commented Nov 28, 2016

Perhaps it's related to the fact your map extent is too big an covers several times the world => incorrect map extent?

Yes, but on a 1920px screen, I couldn't have the whole world without the bug.
The bug disappear only when the extend is 90-95% of the world, then the results are not all the georeferenced doc in the DB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants