Geopandas User Guide

Source: Internet
Author: User
Tags postgis

Translated from Geopandas 0.1.0 documentation

Geopandas is an open source project that is designed to make geospatial data easier to work with under Python. Geopandas extends the data type of pandas, allowing it to be spatially manipulated on the geometry type. The geometry operation is performed by the shapely. Geopandas further relies on Fiona for file access and Descartes, matplotlib for plotting.

Description

The purpose of Geopandas is to make it easier to work with geographic data under Python. It combines the functions of the pandas and Shaply, providing an interface for handling multi-geometries under the pandas of space operations and Shapel. Geopandas allows you to work with Python very easily, otherwise you will have to use a spatial database, such as PostGIS.

installation

The author's current discovery version is 0.1, which can be installed using PIP or Easy_install:

Pip Install Geopandas

You can also install the latest development version by cloning a repository on GitHub, with the following command script:

git clone https://github.com/geopandas/geopandas.gitcd geopandaspython setup.py Install

You can also install the latest available development version on PyPI, use Pip, add--pre to install version 1.4 or higher, or install directly from the GitHub repository using PIP:

Pip Install Git+git://github.com/geopandas/geopandas.git
Depend on

Support for Python version 2.6,2.7, and 3.2+

Dependent Packages:

    • NumPy
    • Pandas (version 0.13 or later)
    • Shapely
    • Fiona
    • Six
    • Geopy 0.99 (optional; for geocoding)
    • PSYCOPG2 (optional; for PostGIS connection)

Some other packages are used to draw the words:

    • Matplotlib
    • Descartes
    • Pysal
Test

Run the current test set from the source directory and run at the command line:

Nosetests-v

The test automatically runs on all commit transactions in the GitHub library, including push requests in Travis CI.

Geopandas User Manual

Subsequent updates ...

Geopandas User Guide

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.