{"id":16207192,"url":"https://github.com/maifeeulasad/geopandas2","last_synced_at":"2025-04-07T20:13:46.296Z","repository":{"id":103260554,"uuid":"381581507","full_name":"maifeeulasad/geopandas2","owner":"maifeeulasad","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-30T05:43:07.000Z","size":4027,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T21:37:55.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maifeeulasad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-30T05:05:50.000Z","updated_at":"2021-06-30T05:43:10.000Z","dependencies_parsed_at":"2023-03-07T17:15:22.327Z","dependency_job_id":null,"html_url":"https://github.com/maifeeulasad/geopandas2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maifeeulasad%2Fgeopandas2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maifeeulasad%2Fgeopandas2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maifeeulasad%2Fgeopandas2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maifeeulasad%2Fgeopandas2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maifeeulasad","download_url":"https://codeload.github.com/maifeeulasad/geopandas2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247721921,"owners_count":20985084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T10:11:21.553Z","updated_at":"2025-04-07T20:13:46.272Z","avatar_url":"https://github.com/maifeeulasad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"GeoPandas [![Actions Status](https://github.com/geopandas/geopandas/workflows/Tests/badge.svg)](https://github.com/geopandas/geopandas/actions?query=workflow%3ATests) [![Coverage Status](https://codecov.io/gh/geopandas/geopandas/branch/master/graph/badge.svg)](https://codecov.io/gh/geopandas/geopandas) [![Join the chat at https://gitter.im/geopandas/geopandas](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/geopandas/geopandas?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/geopandas/geopandas/master) [![DOI](https://zenodo.org/badge/11002815.svg)](https://zenodo.org/badge/latestdoi/11002815)\n=========\n\nPython tools for geographic data\n\nIntroduction\n------------\n\nGeoPandas is a project to add support for geographic data to\n[pandas](http://pandas.pydata.org) objects.  It currently implements\n`GeoSeries` and `GeoDataFrame` types which are subclasses of\n`pandas.Series` and `pandas.DataFrame` respectively.  GeoPandas\nobjects can act on [shapely](http://shapely.readthedocs.io/en/latest/)\ngeometry objects and perform geometric operations.\n\nGeoPandas geometry operations are cartesian.  The coordinate reference\nsystem (crs) can be stored as an attribute on an object, and is\nautomatically set when loading from a file.  Objects may be\ntransformed to new coordinate systems with the `to_crs()` method.\nThere is currently no enforcement of like coordinates for operations,\nbut that may change in the future.\n\nDocumentation is available at [geopandas.org](http://geopandas.org)\n(current release) and\n[Read the Docs](http://geopandas.readthedocs.io/en/latest/)\n(release and development versions).\n\nInstall\n--------\n\nSee the [installation docs](https://geopandas.readthedocs.io/en/latest/install.html)\nfor all details. GeoPandas depends on the following packages:\n\n- ``pandas``\n- ``shapely``\n- ``fiona``\n- ``pyproj``\n\nFurther, ``matplotlib`` is an optional dependency, required\nfor plotting, and [``rtree``](https://github.com/Toblerity/rtree) is an optional\ndependency, required for spatial joins. ``rtree`` requires the C library [``libspatialindex``](https://github.com/libspatialindex/libspatialindex).\n\nThose packages depend on several low-level libraries for geospatial analysis, which can be a challenge to install. Therefore, we recommend to install GeoPandas using the [conda package manager](https://conda.io/en/latest/). See the [installation docs](https://geopandas.readthedocs.io/en/latest/install.html) for more details.\n\n\nGet in touch\n------------\n\n- Ask usage questions (\"How do I?\") on [StackOverflow](https://stackoverflow.com/questions/tagged/geopandas) or [GIS StackExchange](https://gis.stackexchange.com/questions/tagged/geopandas).\n- Report bugs, suggest features or view the source code [on GitHub](https://github.com/geopandas/geopandas).\n- For a quick question about a bug report or feature request, or Pull Request, head over to the [gitter channel](https://gitter.im/geopandas/geopandas).\n- For less well defined questions or ideas, or to announce other projects of interest to GeoPandas users, ... use the [mailing list](https://groups.google.com/forum/#!forum/geopandas).\n\n\nExamples\n--------\n\n    \u003e\u003e\u003e import geopandas\n    \u003e\u003e\u003e from shapely.geometry import Polygon\n    \u003e\u003e\u003e p1 = Polygon([(0, 0), (1, 0), (1, 1)])\n    \u003e\u003e\u003e p2 = Polygon([(0, 0), (1, 0), (1, 1), (0, 1)])\n    \u003e\u003e\u003e p3 = Polygon([(2, 0), (3, 0), (3, 1), (2, 1)])\n    \u003e\u003e\u003e g = geopandas.GeoSeries([p1, p2, p3])\n    \u003e\u003e\u003e g\n    0         POLYGON ((0 0, 1 0, 1 1, 0 0))\n    1    POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))\n    2    POLYGON ((2 0, 3 0, 3 1, 2 1, 2 0))\n    dtype: geometry\n\n![Example 1](doc/source/gallery/test.png)\n\nSome geographic operations return normal pandas object.  The `area` property of a `GeoSeries` will return a `pandas.Series` containing the area of each item in the `GeoSeries`:\n\n    \u003e\u003e\u003e print(g.area)\n    0    0.5\n    1    1.0\n    2    1.0\n    dtype: float64\n\nOther operations return GeoPandas objects:\n\n    \u003e\u003e\u003e g.buffer(0.5)\n    0    POLYGON ((-0.3535533905932737 0.35355339059327...\n    1    POLYGON ((-0.5 0, -0.5 1, -0.4975923633360985 ...\n    2    POLYGON ((1.5 0, 1.5 1, 1.502407636663901 1.04...\n    dtype: geometry\n\n![Example 2](doc/source/gallery/test_buffer.png)\n\nGeoPandas objects also know how to plot themselves. GeoPandas uses\n[matplotlib](http://matplotlib.org) for plotting. To generate a plot of our\nGeoSeries, use:\n\n    \u003e\u003e\u003e g.plot()\n\nGeoPandas also implements alternate constructors that can read any data format recognized by [fiona](http://fiona.readthedocs.io/en/latest/). To read a zip file containing an ESRI shapefile with the [boroughs boundaries of New York City](https://data.cityofnewyork.us/City-Government/Borough-Boundaries/tqmj-j8zm) (GeoPandas includes this as an example dataset):\n\n    \u003e\u003e\u003e nybb_path = geopandas.datasets.get_path('nybb')\n    \u003e\u003e\u003e boros = geopandas.read_file(nybb_path)\n    \u003e\u003e\u003e boros.set_index('BoroCode', inplace=True)\n    \u003e\u003e\u003e boros.sort_index(inplace=True)\n    \u003e\u003e\u003e boros\n                   BoroName     Shape_Leng    Shape_Area  \\\n    BoroCode\n    1             Manhattan  359299.096471  6.364715e+08\n    2                 Bronx  464392.991824  1.186925e+09\n    3              Brooklyn  741080.523166  1.937479e+09\n    4                Queens  896344.047763  3.045213e+09\n    5         Staten Island  330470.010332  1.623820e+09\n\n                                                       geometry\n    BoroCode\n    1         MULTIPOLYGON (((981219.0557861328 188655.31579...\n    2         MULTIPOLYGON (((1012821.805786133 229228.26458...\n    3         MULTIPOLYGON (((1021176.479003906 151374.79699...\n    4         MULTIPOLYGON (((1029606.076599121 156073.81420...\n    5         MULTIPOLYGON (((970217.0223999023 145643.33221...\n\n![New York City boroughs](doc/source/gallery/nyc.png)\n\n    \u003e\u003e\u003e boros['geometry'].convex_hull\n    BoroCode\n    1    POLYGON ((977855.4451904297 188082.3223876953,...\n    2    POLYGON ((1017949.977600098 225426.8845825195,...\n    3    POLYGON ((988872.8212280273 146772.0317993164,...\n    4    POLYGON ((1000721.531799316 136681.776184082, ...\n    5    POLYGON ((915517.6877458114 120121.8812543372,...\n    dtype: geometry\n\n![Convex hulls of New York City boroughs](doc/source/gallery/nyc_hull.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaifeeulasad%2Fgeopandas2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaifeeulasad%2Fgeopandas2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaifeeulasad%2Fgeopandas2/lists"}