Skip to main content
Ctrl+K
GeoPandas 0.14.3+0.g5558c35.dirty documentation - Home
  • Home
  • About
  • Getting started
  • Documentation
  • Community
  • GitHub
  • Twitter
  • Home
  • About
  • Getting started
  • Documentation
  • Community
  • GitHub
  • Twitter

Section Navigation

Documentation

  • User guide
    • Data structures
    • Reading and writing files
    • Indexing and selecting data
    • Making maps and plots
    • Interactive mapping
    • Projections
    • Geometric manipulations
    • Set operations with overlay
    • Aggregation with dissolve
    • Merging data
    • Geocoding
    • Sampling points
  • Advanced guide
    • Missing and empty geometries
    • Re-projecting using GDAL with Rasterio and Fiona
    • Migration from PyGEOS geometry backend to Shapely 2.0
  • API reference
    • GeoSeries
      • geopandas.GeoSeries
      • geopandas.GeoSeries.area
      • geopandas.GeoSeries.boundary
      • geopandas.GeoSeries.bounds
      • geopandas.GeoSeries.total_bounds
      • geopandas.GeoSeries.length
      • geopandas.GeoSeries.geom_type
      • geopandas.GeoSeries.offset_curve
      • geopandas.GeoSeries.distance
      • geopandas.GeoSeries.hausdorff_distance
      • geopandas.GeoSeries.frechet_distance
      • geopandas.GeoSeries.representative_point
      • geopandas.GeoSeries.exterior
      • geopandas.GeoSeries.interiors
      • geopandas.GeoSeries.minimum_bounding_radius
      • geopandas.GeoSeries.x
      • geopandas.GeoSeries.y
      • geopandas.GeoSeries.z
      • geopandas.GeoSeries.get_coordinates
      • geopandas.GeoSeries.is_empty
      • geopandas.GeoSeries.is_ring
      • geopandas.GeoSeries.is_simple
      • geopandas.GeoSeries.is_valid
      • geopandas.GeoSeries.has_z
      • geopandas.GeoSeries.contains
      • geopandas.GeoSeries.crosses
      • geopandas.GeoSeries.disjoint
      • geopandas.GeoSeries.geom_equals
      • geopandas.GeoSeries.geom_almost_equals
      • geopandas.GeoSeries.geom_equals_exact
      • geopandas.GeoSeries.intersects
      • geopandas.GeoSeries.overlaps
      • geopandas.GeoSeries.touches
      • geopandas.GeoSeries.within
      • geopandas.GeoSeries.covers
      • geopandas.GeoSeries.covered_by
      • geopandas.GeoSeries.clip_by_rect
      • geopandas.GeoSeries.difference
      • geopandas.GeoSeries.intersection
      • geopandas.GeoSeries.symmetric_difference
      • geopandas.GeoSeries.union
      • geopandas.GeoSeries.buffer
      • geopandas.GeoSeries.boundary
      • geopandas.GeoSeries.centroid
      • geopandas.GeoSeries.concave_hull
      • geopandas.GeoSeries.convex_hull
      • geopandas.GeoSeries.delaunay_triangles
      • geopandas.GeoSeries.envelope
      • geopandas.GeoSeries.extract_unique_points
      • geopandas.GeoSeries.make_valid
      • geopandas.GeoSeries.minimum_bounding_circle
      • geopandas.GeoSeries.minimum_rotated_rectangle
      • geopandas.GeoSeries.normalize
      • geopandas.GeoSeries.remove_repeated_points
      • geopandas.GeoSeries.reverse
      • geopandas.GeoSeries.sample_points
      • geopandas.GeoSeries.segmentize
      • geopandas.GeoSeries.shortest_line
      • geopandas.GeoSeries.simplify
      • geopandas.GeoSeries.affine_transform
      • geopandas.GeoSeries.rotate
      • geopandas.GeoSeries.scale
      • geopandas.GeoSeries.skew
      • geopandas.GeoSeries.translate
      • geopandas.GeoSeries.unary_union
      • geopandas.GeoSeries.explode
      • geopandas.GeoSeries.from_file
      • geopandas.GeoSeries.from_wkb
      • geopandas.GeoSeries.from_wkt
      • geopandas.GeoSeries.from_xy
      • geopandas.GeoSeries.to_file
      • geopandas.GeoSeries.to_json
      • geopandas.GeoSeries.to_wkb
      • geopandas.GeoSeries.to_wkt
      • geopandas.GeoSeries.crs
      • geopandas.GeoSeries.set_crs
      • geopandas.GeoSeries.to_crs
      • geopandas.GeoSeries.estimate_utm_crs
      • geopandas.GeoSeries.fillna
      • geopandas.GeoSeries.isna
      • geopandas.GeoSeries.notna
      • geopandas.GeoSeries.clip
      • geopandas.GeoSeries.plot
      • geopandas.GeoSeries.explore
      • geopandas.GeoSeries.sindex
      • geopandas.GeoSeries.has_sindex
      • geopandas.GeoSeries.cx
      • geopandas.GeoSeries.__geo_interface__
    • GeoDataFrame
      • geopandas.GeoDataFrame
      • geopandas.GeoDataFrame.from_file
      • geopandas.GeoDataFrame.from_features
      • geopandas.GeoDataFrame.from_postgis
      • geopandas.GeoDataFrame.to_file
      • geopandas.GeoDataFrame.to_json
      • geopandas.GeoDataFrame.to_parquet
      • geopandas.GeoDataFrame.to_feather
      • geopandas.GeoDataFrame.to_postgis
      • geopandas.GeoDataFrame.to_wkb
      • geopandas.GeoDataFrame.to_wkt
      • geopandas.GeoDataFrame.crs
      • geopandas.GeoDataFrame.set_crs
      • geopandas.GeoDataFrame.to_crs
      • geopandas.GeoDataFrame.estimate_utm_crs
      • geopandas.GeoDataFrame.rename_geometry
      • geopandas.GeoDataFrame.set_geometry
      • geopandas.GeoDataFrame.dissolve
      • geopandas.GeoDataFrame.explode
      • geopandas.GeoDataFrame.sjoin
      • geopandas.GeoDataFrame.sjoin_nearest
      • geopandas.GeoDataFrame.clip
      • geopandas.GeoDataFrame.overlay
      • geopandas.GeoDataFrame.explore
      • geopandas.GeoDataFrame.plot
      • geopandas.GeoDataFrame.sindex
      • geopandas.GeoDataFrame.has_sindex
      • geopandas.GeoDataFrame.cx
      • geopandas.GeoDataFrame.__geo_interface__
      • geopandas.GeoDataFrame.iterfeatures
    • Input/output
      • geopandas.read_file
      • geopandas.GeoDataFrame.to_file
      • geopandas.read_postgis
      • geopandas.GeoDataFrame.to_postgis
      • geopandas.read_feather
      • geopandas.GeoDataFrame.to_feather
      • geopandas.read_parquet
      • geopandas.GeoDataFrame.to_parquet
    • Tools
      • geopandas.sjoin
      • geopandas.sjoin_nearest
      • geopandas.overlay
      • geopandas.clip
      • geopandas.tools.geocode
      • geopandas.tools.reverse_geocode
      • geopandas.tools.collect
      • geopandas.points_from_xy
      • geopandas.datasets.available
      • geopandas.datasets.get_path
    • Spatial index
      • geopandas.GeoSeries.sindex
      • geopandas.sindex.SpatialIndex.intersection
      • geopandas.sindex.SpatialIndex.is_empty
      • geopandas.sindex.SpatialIndex.nearest
      • geopandas.sindex.SpatialIndex.query
      • geopandas.sindex.SpatialIndex.size
      • geopandas.sindex.SpatialIndex.valid_query_predicates
    • Testing
      • geopandas.testing.assert_geoseries_equal
      • geopandas.testing.assert_geodataframe_equal
  • Changelog
  • Documentation
  • User guide

User guide#

The user guide covers different parts of basic usage of GeoPandas. Each page focuses on a single topic and outlines how it is implemented in GeoPandas, with reproducible examples.

If you don’t know anything about GeoPandas, start with the Introduction to GeoPandas.

Advanced topics can be found in the Advanced Guide and further specification in the API Reference.

  • Data structures
    • GeoSeries
    • GeoDataFrame
    • Display options
  • Reading and writing files
    • Reading spatial data
    • Writing spatial data
    • Spatial databases
    • Apache Parquet and Feather file formats
  • Indexing and selecting data
  • Making maps and plots
    • Choropleth maps
    • Maps with layers
    • Pandas plots
    • Other resources
  • Interactive mapping
  • Projections
    • Coordinate reference systems
    • What is the best format to store the CRS information?
    • Setting a projection
    • Re-projecting
    • Projection for multiple geometry columns
    • Upgrading to GeoPandas 0.7 with pyproj > 2.2 and PROJ > 6
  • Geometric manipulations
    • Constructive methods
    • Affine transformations
  • Set operations with overlay
    • The different overlay operations
    • Overlay groceries example
    • keep_geom_type keyword
    • More examples
  • Aggregation with dissolve
    • dissolve() Example
    • Dissolve arguments
  • Merging data
    • Appending
    • Attribute joins
    • Spatial joins
  • Geocoding
  • Sampling points
    • Import Packages
    • Sampling random points
    • Variable number of points
    • Sampling from more complicated point pattern processes

previous

Documentation

next

Data structures

Show Source

© Copyright 2013–2022, GeoPandas developers.

Created using Sphinx 7.2.6.

Built with the PyData Sphinx Theme 0.15.2.