Documentazione Grules, versione 2.1


shp

Strumento per alcuni semplici operazioni su files .shp/.dbf

Usage: ./shp <command> [-xypes] [arguments...]

command                     [mv, cp, ls, join, split nudge]
-x <val> --x=<val>          x adjustment
-y <val> --y=<val>          y adjustment
-p <val> --properties=<val> [split only] shapefile depending on these values
-e <val> --expression=<val> [mv, cp, join, split] process record only when
                            expression is true, use fields in the dbf as
                            variables
-s <val> --script=<val>     same as -e but loading from a file

ls

Stampa informazioni sul file shp/dbf quali: numero e tipo di oggetti, rettangolo d'iscrizioni, campi del dbf.

join

Unisce 2 o più shp in un unico shp

split

Separa un shp in piuù shp usando come criterio il parametro properties, e filtrando i risultati attraverso il parametro expression (che è una funzione javascript)