Skip to content

Rust - Multi threaded read only access to FgbReader and iterate over features #102

@apps4uco

Description

@apps4uco

My use case is to open one FgbReader and have multiple queries with the same FlatGeoBuffer ideally from multiple threads

Again this could just be a documentation issue, looking at the api it did not appear to be possible. If it is possible could it be mentioned in the documentation.

If not maybe the api could be restructured
trait FgbReader
struct HttpFgbReader
struct ReadFgbReader

both create an immutable struct FlatGeoBuffer
FlatGeoBuffer::iter() that can be called multiple times and each time returns a read only iterator that can be sent to a different thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions