Skip to content

properties_out option #271

@perrygeo

Description

@perrygeo

The current approach provides two outputs

geojson_out=False (default) gives you all requests stats as a list of dicts. None of the original properties or geometry is retained; you have to rely on the order to match them with the original vector features.

geojson_out=True gives you the data back as geojson, complete with the original geometry, original properties, and stats added as new properties.

Some use cases (outputting to a csv for example) require only the properties not the geometry itself. I propose a new properties_out flag that would yield a list of dicts containing the original properties plus stats only, no geom.

Why? The geometry can be costly to copy and store. If you just need the properties, this could be a useful optimization.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions