geoarrow/geoarrow-rs

JS: How to handle geometry overloading

Opened this issue · 0 comments

E.g. for contains, I want to support contains between each geometry type to each other geometry type. In Rust, I can do that via traits, and so contains() will work on each combination of types automatically. But in JS it doesn't have overloading, so I need to do something like adding a GeometryArray class that can be any geometry type?