📜  将geopands写入postgres python代码示例

📅  最后修改于: 2022-03-11 14:45:37.552000             🧑  作者: Mango

代码示例1
from sqlalchemy import create_engine
db_connection_url = "postgres://myusername:mypassword@myhost:5432/mydatabase";
engine = create_engine(db_connection_url)
countries_gdf.to_postgis(name="countries_table", con=engine)