1. 主页
  2. 文档
  3. GeoPandas 0.12.2中文文档
  4. API reference
  5. Input/output

Input/output

GIS vector files

read_file(filename[, bbox, mask, rows, engine])Returns a GeoDataFrame from a file or URL.
GeoDataFrame.to_file(filename[, driver, …])Write the GeoDataFrame to a file.

PostGIS

read_postgis(sql, con[, geom_col, crs, …])Returns a GeoDataFrame corresponding to the result of the query string, which must contain a geometry column in WKB representation.
GeoDataFrame.to_postgis(name, con[, schema, …])Upload GeoDataFrame into PostGIS database.

Feather

read_feather(path[, columns])Load a Feather object from the file path, returning a GeoDataFrame.
GeoDataFrame.to_feather(path[, index, …])Write a GeoDataFrame to the Feather format.

Parquet

read_parquet(path[, columns, storage_options])Load a Parquet object from the file path, returning a GeoDataFrame.
GeoDataFrame.to_parquet(path[, index, …])Write a GeoDataFrame to the Parquet format.
标签 , ,
这篇文章对您有用吗?

我们要如何帮助您?

欢迎留下您的宝贵建议

Please enter your comment!
Please enter your name here