whosonfirst / go-whosonfirst-spatial

Go package defining interfaces for Who's On First specific spatial operations.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Update filter.Filter to have IsAlt method #19

Closed straup closed 3 years ago

straup commented 3 years ago

Something like:

IsAlt(flags.ExistentialFlag) bool

But that begs the question of how you filter on a specific alternate geometry or geometries. If we did something like we did for placetypes:

HasPlacetypes(flags.PlacetypeFlag) bool
HasAlternates(flags.AlternateFlag) bool

We will need to change the go-whosonfirst-spr interface.

thisisaaronland commented 3 years ago

This is done as of v0.0.15