oshdb icon indicating copy to clipboard operation
oshdb copied to clipboard

[oshdb-filter] add additional geometry based filters

Open tyrasd opened this issue 2 years ago • 1 comments

Description

Adds the following new filters:

  • perimeter – select polygons based on the length of their boundary
  • geometry.vertices – selects geometries by their number of points (note: the end point of polygon rings count twice)
  • geometry.inners/geometry.outers – selects (multi)polygons by their number of parts (outer or inner rings)
  • geometry.roundness – selects polygons by their compactness value (using the Polsby-Popper test score)
  • geometry.squareness – selects geometries by their squareness value (see paper for the definition)

Corresponding issue

See #311

todo

  • [x] add to documentation
  • [x] add to changelog

Checklist

tyrasd avatar Nov 25 '21 10:11 tyrasd

this is now ready to be reviewed :blush:

tyrasd avatar Oct 20 '22 17:10 tyrasd