worace / geoq

Geospatial Utility Belt
MIT License
71 stars 8 forks source link

Support remaining geometry types in filter command #12

Closed worace closed 6 years ago

worace commented 6 years ago

Currently I've added:

The geo_types::Geometry enum contains this full set:

To make this complete, I would need to implement the intersection check in geoq::intersection for the remaining types.

It's also possible that some of these might not be necessary due to the types of inputs geoq allows. Currently we take:

However it may end up being simpler to just implement the cross-product for all of the variants and then not have to worry about any gaps.

worace commented 6 years ago

Added in https://github.com/worace/geoq/commit/f63ee9924aa2b317757a4e9eef02e51c03678135

Could still use some tests but hopefully the compiler is good enough for now