pub struct MvtWriter { /* private fields */ }
Expand description
Generator for MVT geometry type.
Implementations§
Trait Implementations§
source§impl GeomProcessor for MvtWriter
impl GeomProcessor for MvtWriter
source§fn xy(&mut self, x_coord: f64, y_coord: f64, idx: usize) -> Result<()>
fn xy(&mut self, x_coord: f64, y_coord: f64, idx: usize) -> Result<()>
Process coordinate with x,y dimensions
source§fn multipoint_begin(&mut self, size: usize, _idx: usize) -> Result<()>
fn multipoint_begin(&mut self, size: usize, _idx: usize) -> Result<()>
Begin of MultiPoint processing Read more
source§fn linestring_begin(
&mut self,
tagged: bool,
size: usize,
_idx: usize
) -> Result<()>
fn linestring_begin( &mut self, tagged: bool, size: usize, _idx: usize ) -> Result<()>
Begin of
LineString
processing Read moresource§fn linestring_end(&mut self, _tagged: bool, _idx: usize) -> Result<()>
fn linestring_end(&mut self, _tagged: bool, _idx: usize) -> Result<()>
End of
LineString
processingsource§fn multilinestring_begin(&mut self, _size: usize, _idx: usize) -> Result<()>
fn multilinestring_begin(&mut self, _size: usize, _idx: usize) -> Result<()>
Begin of
MultiLineString
processing Read moresource§fn multilinestring_end(&mut self, _size: usize) -> Result<()>
fn multilinestring_end(&mut self, _size: usize) -> Result<()>
End of
MultiLineString
processingsource§fn polygon_begin(
&mut self,
tagged: bool,
_size: usize,
_idx: usize
) -> Result<()>
fn polygon_begin( &mut self, tagged: bool, _size: usize, _idx: usize ) -> Result<()>
Begin of
Polygon
processing Read moresource§fn multipolygon_begin(&mut self, _size: usize, _idx: usize) -> Result<()>
fn multipolygon_begin(&mut self, _size: usize, _idx: usize) -> Result<()>
Begin of
MultiPolygon
processing Read moresource§fn dimensions(&self) -> CoordDimensions
fn dimensions(&self) -> CoordDimensions
Additional dimensions requested when processing coordinates
source§fn coordinate(
&mut self,
x: f64,
y: f64,
z: Option<f64>,
m: Option<f64>,
t: Option<f64>,
tm: Option<u64>,
idx: usize
) -> Result<()>
fn coordinate( &mut self, x: f64, y: f64, z: Option<f64>, m: Option<f64>, t: Option<f64>, tm: Option<u64>, idx: usize ) -> Result<()>
Process coordinate with all requested dimensions
source§fn empty_point(&mut self, idx: usize) -> Result<()>
fn empty_point(&mut self, idx: usize) -> Result<()>
Process empty coordinates, like WKT’s
POINT EMPTY
Read moresource§fn geometrycollection_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn geometrycollection_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of
GeometryCollection
processing Read moresource§fn geometrycollection_end(&mut self, idx: usize) -> Result<()>
fn geometrycollection_end(&mut self, idx: usize) -> Result<()>
End of
GeometryCollection
processingsource§fn circularstring_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn circularstring_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of
CircularString
processing Read moresource§fn compoundcurve_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn compoundcurve_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of CompoundCurve processing Read more
source§fn curvepolygon_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn curvepolygon_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of CurvePolygon processing Read more
source§fn multicurve_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn multicurve_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of MultiCurve processing Read more
source§fn multisurface_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn multisurface_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of MultiSurface processing Read more
source§fn triangle_begin(
&mut self,
tagged: bool,
size: usize,
idx: usize
) -> Result<()>
fn triangle_begin( &mut self, tagged: bool, size: usize, idx: usize ) -> Result<()>
Begin of Triangle processing Read more
source§fn polyhedralsurface_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn polyhedralsurface_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of PolyhedralSurface processing Read more
source§fn polyhedralsurface_end(&mut self, idx: usize) -> Result<()>
fn polyhedralsurface_end(&mut self, idx: usize) -> Result<()>
End of PolyhedralSurface processing
Auto Trait Implementations§
impl Freeze for MvtWriter
impl RefUnwindSafe for MvtWriter
impl Send for MvtWriter
impl Sync for MvtWriter
impl Unpin for MvtWriter
impl UnwindSafe for MvtWriter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more