diagonalworks / diagonal-b6

b6: Diagonal's geospatial analysis engine.
Apache License 2.0
24 stars 3 forks source link

Allow the centroid to be specified via a simple point #326

Closed silky closed 1 month ago

silky commented 1 month ago

This allows you to specify a point as your centroid, instead of requiring a point feature.

I.e. you can now do:

add_root = b6.add_collection(root, {}, b6.collection(
    b6.pair("centroid", b6.ll(55.9480999, -3.2000552)),
))

...

to define the centroid of the root world that is being added.