pub struct Stub {
pub name: &'static str,
pub hint: &'static str,
}
pub const STUBS: &[Stub] = &[
Stub {
name: "ST_Collect",
hint: "kenro never produces GeometryCollection values; for areal dissolve use \
the ST_Union aggregate, otherwise collect rows on the application side.",
},
];
pub const TRANSFORM_OFF: &[Stub] = &[Stub {
name: "ST_Transform",
hint: "kenro was built without the `transform` cargo feature.",
}];
pub const H3_OFF: &[Stub] = &[
Stub {
name: "h3_latlng_to_cell",
hint: "kenro was built without the `h3` cargo feature.",
},
Stub {
name: "h3_cell_to_parent",
hint: "kenro was built without the `h3` cargo feature.",
},
Stub {
name: "h3_cell_to_string",
hint: "kenro was built without the `h3` cargo feature.",
},
Stub {
name: "h3_string_to_cell",
hint: "kenro was built without the `h3` cargo feature.",
},
];
pub const OVERLAY_OFF: &[Stub] = &[
Stub {
name: "ST_MakeValid",
hint: "kenro was built without the `overlay` cargo feature.",
},
Stub {
name: "ST_Intersection",
hint: "kenro was built without the `overlay` cargo feature.",
},
Stub {
name: "ST_Difference",
hint: "kenro was built without the `overlay` cargo feature.",
},
Stub {
name: "ST_SymDifference",
hint: "kenro was built without the `overlay` cargo feature.",
},
Stub {
name: "ST_Union",
hint: "kenro was built without the `overlay` cargo feature.",
},
Stub {
name: "ST_Buffer",
hint: "kenro was built without the `overlay` cargo feature.",
},
];
pub const MVT_OFF: &[Stub] = &[
Stub {
name: "ST_AsMVTGeom",
hint: "kenro was built without the `mvt` cargo feature.",
},
Stub {
name: "ST_AsMVT",
hint: "kenro was built without the `mvt` cargo feature.",
},
];
pub const GEOJSON_OFF: &[Stub] = &[
Stub {
name: "ST_AsGeoJSON",
hint: "kenro was built without the `geojson` cargo feature.",
},
Stub {
name: "ST_GeomFromGeoJSON",
hint: "kenro was built without the `geojson` cargo feature.",
},
];