pub struct GeoWriter { /* private fields */ }
Expand description
Generator for geo-types geometry type.
Implementations
Trait Implementations
sourceimpl FeatureProcessor for GeoWriter
impl FeatureProcessor for GeoWriter
sourcefn dataset_end(&mut self) -> Result<()>
fn dataset_end(&mut self) -> Result<()>
End of dataset processing
sourcefn feature_begin(&mut self, idx: u64) -> Result<()>
fn feature_begin(&mut self, idx: u64) -> Result<()>
Begin of feature processing
sourcefn feature_end(&mut self, idx: u64) -> Result<()>
fn feature_end(&mut self, idx: u64) -> Result<()>
End of feature processing
sourcefn properties_begin(&mut self) -> Result<()>
fn properties_begin(&mut self) -> Result<()>
Begin of feature property processing
sourcefn properties_end(&mut self) -> Result<()>
fn properties_end(&mut self) -> Result<()>
End of feature property processing
sourcefn geometry_begin(&mut self) -> Result<()>
fn geometry_begin(&mut self) -> Result<()>
Begin of feature geometry processing
sourcefn geometry_end(&mut self) -> Result<()>
fn geometry_end(&mut self) -> Result<()>
End of feature geometry processing
sourceimpl GeomProcessor for GeoWriter
impl GeomProcessor for GeoWriter
sourcefn xy(&mut self, x: f64, y: f64, _idx: usize) -> Result<()>
fn xy(&mut self, x: f64, y: f64, _idx: usize) -> Result<()>
Process coordinate with x,y dimensions
sourcefn 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
sourcefn multipoint_end(&mut self, _idx: usize) -> Result<()>
fn multipoint_end(&mut self, _idx: usize) -> Result<()>
End of MultiPoint processing
sourcefn 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 more
sourcefn linestring_end(&mut self, tagged: bool, _idx: usize) -> Result<()>
fn linestring_end(&mut self, tagged: bool, _idx: usize) -> Result<()>
End of LineString processing
sourcefn multilinestring_begin(&mut self, size: usize, _idx: usize) -> Result<()>
fn multilinestring_begin(&mut self, size: usize, _idx: usize) -> Result<()>
Begin of MultiLineString processing Read more
sourcefn multilinestring_end(&mut self, _idx: usize) -> Result<()>
fn multilinestring_end(&mut self, _idx: usize) -> Result<()>
End of MultiLineString processing
sourcefn 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 more
sourcefn multipolygon_begin(&mut self, size: usize, _idx: usize) -> Result<()>
fn multipolygon_begin(&mut self, size: usize, _idx: usize) -> Result<()>
Begin of MultiPolygon processing Read more
sourcefn multipolygon_end(&mut self, _idx: usize) -> Result<()>
fn multipolygon_end(&mut self, _idx: usize) -> Result<()>
End of MultiPolygon processing
sourcefn geometrycollection_begin(&mut self, size: usize, _idx: usize) -> Result<()>
fn geometrycollection_begin(&mut self, size: usize, _idx: usize) -> Result<()>
Begin of GeometryCollection processing
sourcefn geometrycollection_end(&mut self, _idx: usize) -> Result<()>
fn geometrycollection_end(&mut self, _idx: usize) -> Result<()>
End of GeometryCollection processing
sourcefn dimensions(&self) -> CoordDimensions
fn dimensions(&self) -> CoordDimensions
Additional dimensions requested when processing coordinates
sourcefn 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
sourcefn empty_point(&mut self, idx: usize) -> Result<()>
fn empty_point(&mut self, idx: usize) -> Result<()>
Process empty coordinates, like WKT’s POINT EMPTY
sourcefn circularstring_begin(&mut self, size: usize, idx: usize) -> Result<()>
fn circularstring_begin(&mut self, size: usize, idx: usize) -> Result<()>
Begin of CircularString processing Read more
sourcefn circularstring_end(&mut self, idx: usize) -> Result<()>
fn circularstring_end(&mut self, idx: usize) -> Result<()>
End of CircularString processing
sourcefn 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
sourcefn compoundcurve_end(&mut self, idx: usize) -> Result<()>
fn compoundcurve_end(&mut self, idx: usize) -> Result<()>
End of CompoundCurve processing
sourcefn 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
sourcefn curvepolygon_end(&mut self, idx: usize) -> Result<()>
fn curvepolygon_end(&mut self, idx: usize) -> Result<()>
End of CurvePolygon processing
sourcefn 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
sourcefn multicurve_end(&mut self, idx: usize) -> Result<()>
fn multicurve_end(&mut self, idx: usize) -> Result<()>
End of MultiCurve processing
sourcefn 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
sourcefn multisurface_end(&mut self, idx: usize) -> Result<()>
fn multisurface_end(&mut self, idx: usize) -> Result<()>
End of MultiSurface processing
sourcefn 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
sourcefn 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
sourcefn polyhedralsurface_end(&mut self, idx: usize) -> Result<()>
fn polyhedralsurface_end(&mut self, idx: usize) -> Result<()>
End of PolyhedralSurface processing
sourceimpl PropertyProcessor for GeoWriter
impl PropertyProcessor for GeoWriter
Auto Trait Implementations
impl RefUnwindSafe for GeoWriter
impl Send for GeoWriter
impl Sync for GeoWriter
impl Unpin for GeoWriter
impl UnwindSafe for GeoWriter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more