Currently only geos::Geometry<'_> impl all funcs in GeozeroGeometry, other types like Ewkb will use the default impl in trait definition.
The default impls are as follows so we cannot get dims and srid for types like Ewkb:
fn dims(&self) -> CoordDimensions {
CoordDimensions::xy()
}
/// SRID of geometry
fn srid(&self) -> Option<i32> {
None
}
Currently only
geos::Geometry<'_>impl all funcs inGeozeroGeometry, other types likeEwkbwill use the default impl in trait definition.The default impls are as follows so we cannot get
dimsandsridfor types likeEwkb: