Regarding the Meshes.jl code, avoid using geo_table.geometry
because that access is not type stable. If you care about performance you can use:
geotable = GeoTables.load("foo.shp")
# convert Tuple to Meshes.Point
ps = Point.(points)
# get geometries from table using a type stable method
gs = domain(geotable)
# incidence matrix
[p ∈ g for p in ps, g in gs]