Greenstand / Greenstand/treetracker-query-api

The nearest api is wrong on zoom level 15

Open
#327 2 comments 0 reactions 0 assignees View on GitHub
postgis
Dominant language
TypeScript
Stars
18
Forks
65
PR merge metrics
No merged PRs in 30d

Description

For this request: https://prod-k8s.treetracker.org/query/gis/location/nearest?zoom_level=15&lat=-15.753204919146587&lng=46.369900703430176&planter_id=7703 the return is a location of tree, this is wrong, because on the web map, the zoom level is for `cluster` than `tree`, so we need to return the nearest `cluster`.

---

Some hints:

- Please read our readme for more information/guide/tutorial.
- Here is [an engineering book](https://greenstand.gitbook.io/engineering/) in Greenstand.
- To know more about our organization, visit our [website](https://greenstand.org).
- If you want to join the slack community (some resources need the community member's permission), please leave your email address.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.