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

Add sites/within/count that returns the number of sites within a given bbox #22

Open
mraross opened this issue Dec 18, 2017 · 1 comment

Comments

@mraross
Copy link

mraross commented Dec 18, 2017

This resource allows an application to know if a request for all sites within a given bbox will exceed the maximum results allowed.

parms include excludeUnits which excludes subsites and onlyCivic which includes only civic addresses

needed by GeoBC to inform their GIS analysts when there are more results they can't see.

@mraross mraross changed the title Add sites/within/count which returns the number of sites within a given bbox Add sites/within/count that returns the number of sites within a given bbox Jan 31, 2018
@cmhodgson
Copy link
Collaborator

We have no shortcut to the child-count in our current index system, so requesting large bboxes can potentially be slow. We can reliably return whether the count is over the size of the maxResults in the same time as it would take to gather the maxResults, this is a minimal option to save time.

@mraross mraross transferred this issue from bcgov/api-specs Aug 31, 2019
@mraross mraross added this to the Geocoder 4.1 milestone Aug 31, 2019
@mraross mraross modified the milestones: Geocoder 4.1, Geocoder 4.0 Sep 21, 2019
@mraross mraross modified the milestones: Geocoder 4.0, Geocoder 4.1 Feb 19, 2020
@mraross mraross removed this from the Geocoder 4.1 milestone Feb 19, 2020
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

2 participants