Greenstand / treetracker-query-api

To fetch Greenstand map data for client's like web map, wallet app, and so on.
GNU General Public License v3.0
14 stars 59 forks source link

API to fetch tree list with a polygon coordinates #283

Open dadiorchen opened 1 year ago

dadiorchen commented 1 year ago

Extend the /trees api with a filter: polygon=xxx so we can get the trees in any area

Do we need to support multiple polygons?

image

Some hints:

sebastiangaertner commented 1 year ago

Multiple polygons do make sense since planting areas are often scattered. Would this overcomplicate the backend or is it a realistic feature?

dadiorchen commented 1 year ago

I think it is possible