You can use the Reshape operation to modify the geometry column and then export the resulting scratch layer.
the_geom=the_geom
FIPS_CNTRY=FIPS_CNTRY
GMI_CNTRY=GMI_CNTRY
ISO_2DIGIT=ISO_2DIGIT
ISO_3DIGIT=ISO_3DIGIT
CNTRY_NAME=CNTRY_NAME
LONG_NAME=LONG_NAME
SOVEREIGN=SOVEREIGN
POP_CNTRY=POP_CNTRY
CURR_TYPE=CURR_TYPE
CURR_CODE=CURR_CODE
LANDLOCKED=LANDLOCKED
SQKM=SQKM
SQMI=SQMI
COLOR_MAP=COLOR_MAP
# Example of simplifying counteries.shp for use as a points
the_geom=centroid(the_geom)
CNTRY_NAME=CNTRY_NAME
LONG_NAME=LONG_NAME
You can define additional columns using any CQL expression, please be advised that the shapefile format can only support one geometry column.
the_geom=the_geom
CITY_NAME=CITY_NAME
GMI_ADMIN=GMI_ADMIN
ADMIN_NAME=ADMIN_NAME
FIPS_CNTRY=FIPS_CNTRY
CNTRY_NAME=CNTRY_NAME
STATUS=STATUS
POP_RANK=POP_RANK
POP_CLASS=POP_CLASS
PORT_ID=PORT_ID
# Example of buffering cities.shp for use as a polygons
the_geom=buffer(the_geom,0.01)
CITY_NAME=CITY_NAME
CNTRY_NAME=CNTRY_NAME
POP_CLASS=POP_CLASS
PORT_ID=PORT_ID
You can define additional columns using any CQL expression, please be advised that the shapefile format can only support one geometry column.