JuliaEarth / GeoStats.jl

An extensible framework for geospatial data science and geostatistical modeling fully written in Julia
https://juliaearth.github.io/GeoStatsDocs/stable/
MIT License
523 stars 63 forks source link

Add option in `geojoin` to also match by additional columns #376

Closed juliohm closed 10 months ago

juliohm commented 10 months ago

Currently the geojoin only considers the geometric predicate function to perform a match. Sometimes it is useful to match both in terms of geometric predicates and other variables in the geotables. We could consider an extra keyword option:

geojoin(gt1, gt2, pred=pred, match=cols)
juliohm commented 10 months ago

Fixed on master.