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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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