Skip to content

Allow filtering by polygon #680

Description

@urs-beeli

Problem Statement

In GSAK I very often use a polygon to filter for caches in a certain region/area I plan to go caching.

I typically draw the polygon in HTML file created by the "Leaflet Maps" macro, which has a very simple polygon drawing tool. As far as I know, that macro uses the same javascript code as the GSAK "Polygon/Line Drawing Tool" available at https://gsak.net/leaflet/polygoneditor.php

Its result is a CSV type of polygons where each line consists of two comma separated values "lat, lon" and each pair is separated by a line feed. The first and last line contain the same point to close the polygon (in the case of a line, this is not required).

openSAK does not currently offer this filtering possibility.

Proposed Solution

In a first step I would like to see the possibility to filter for caches inside such a polygon (the points to be provided by the user) or alternatively, caches within a distance of "x units" from a provided line.

An optional second step could be a tool to also create such lines/polygons, but until that becomes possible, the GSAK tools could easily be used once the first step has been implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions