I am interested in processing GeoPackage files in CLI (probably in linux). I know for example I can use ogr2ogr with the -spat option to crop OSM *.pbf file and convert it to SpatiLite DB.
But is it possible to directly work with the resulting database (best would be GeoPackage, but could also be SpatiaLite and finally converted to GPG)?
I mean tasks like renaming "attribute table" fields, filtering data, renaming items or merging / deleting fields and possibly also applying some predefined style.
I am asking because I would like to process OSM data (similarly to my blog post here) with some preconfigured script in CLI to perform all tasks automatically.
is it possible?