This is a followup question to Writeogr to PostgreSQL/PostGIS database with R
How can I choose the schema where to put the SPDF (or any other spatial object)?
postgis_insert(con, df=catchments, tbl="land_use", geom_name="st_astext")
I can't just type
schema1.land_use in the
tbl argument and there is no further argument to assign the schema. It seems that I can only put it into the public schema of the DB (which is kind of the default schema in PostgreSQL)