Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Add stats output to input shapefile #4

@andreas-h

Description

@andreas-h

When computing statistics, it would be great if optionally, the results would be written directly to the input shapefile instead of creating an extra csv file. Something like

starspan  --vector input.shp --raster ~/data/popdens_sedac.tif --stats avg:"mean" std:"std" --out-type add_to_vector

which would calculate average and std, and add the results to the input.shp file in columns mean and std.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions