I'm currently making a rest API that needs to take the cords to construct a bounding box for a query. It would be great if rust-postgis had types for Box2d and Box3d. This would allow me to do things like..
SELECT *
FROM table
WHERE $1 && table.geog;
SELECT *
FROM table
WHERE ST_Intersects($1, table.geog);
I'm currently making a rest API that needs to take the cords to construct a bounding box for a query. It would be great if rust-postgis had types for Box2d and Box3d. This would allow me to do things like..