[−][src]Struct flatgeobuf::HttpFgbReader
FlatGeobuf dataset HTTP reader
Implementations
impl HttpFgbReader
[src]
pub async fn open<'_>(url: &'_ str) -> Result<HttpFgbReader>
[src]
pub fn header(&self) -> Header
[src]
pub async fn select_all<'_>(&'_ mut self) -> Result<usize>
[src]
Select all features. Returns feature count.
pub async fn select_bbox<'_>(
&'_ mut self,
min_x: f64,
min_y: f64,
max_x: f64,
max_y: f64
) -> Result<usize>
[src]
&'_ mut self,
min_x: f64,
min_y: f64,
max_x: f64,
max_y: f64
) -> Result<usize>
Select features within a bounding box. Returns count of selected features.
pub fn features_count(&self) -> usize
[src]
Number of selected features
pub async fn next<'_, '_>(&'_ mut self) -> Result<Option<&'_ FgbFeature>>
[src]
Read next feature
pub fn cur_feature(&self) -> &FgbFeature
[src]
Return current feature
pub async fn process_features<'_, '_, W: FeatureProcessor>(
&'_ mut self,
out: &'_ mut W
) -> Result<()>
[src]
&'_ mut self,
out: &'_ mut W
) -> Result<()>
Read and process all selected features
Auto Trait Implementations
impl !RefUnwindSafe for HttpFgbReader
impl Send for HttpFgbReader
impl Sync for HttpFgbReader
impl Unpin for HttpFgbReader
impl !UnwindSafe for HttpFgbReader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,