Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Limit results by radius around lat/lon #77

@RamRaider

Description

@RamRaider

It appears that ALL results are returned from queries such as

//data.gov.uk/data/api/service/health/hospitals/nearest?lat=52.64105830207872&lon=1.032092571258545

which seems pointless as the returned data is much larger than it needs to be. Is there or can there be a distance limiting parameter - ie

//data.gov.uk/data/api/service/health/hospitals/nearest?lat=52.64105830207872&lon=1.032092571258545&radius=20

etc??

In the API documentation it states there is the ability to query the database directly by crafting the sql and appending to the endpoint url - but it is unclear how one would use this approach to achieve the desired distance limit mentioned.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions