Skip to main content

Publication-ready academic GIS study-area maps in a few lines of Python.

Project description

AcadGIS

AcadGIS

Publication-ready study area maps for research — in a few lines of Python.

Version Python License Docs

Website  ·  Documentation  ·  Source


AcadGIS is a Python package (and a no-code web app) for making publication-ready study area maps, choropleth maps, locator insets, terrain relief and river maps — for research papers, theses and reports. Name a place, add your data, and export a journal-ready figure in three lines: no QGIS, ArcGIS or shapefiles required.

import acadgis as agis

sa = agis.StudyArea("Iraq").zoom_into("Babil")
sa.figure(suptitle="Study Area: Babil Governorate, Iraq")
sa.save("study_area.png", dpi=300)

locator figure

Install

pip install acadgis                 # core (offline demo data + plotting)
pip install "acadgis[full]"         # + live download, fuzzy matching, terrain, drainage

Optional extras: acadgis[download] (any-country boundaries via pygadm), acadgis[match] (fuzzy names), acadgis[terrain] (DEM relief), acadgis[drainage] (streams from a DEM). Bangladesh, Iraq, India and the USA ship bundled — everything works offline.

What it does

  • Boundaries on demand — country, state, district and sub-district, by name, from GADM.
  • One-line styled maps — 12 palettes, 6 themes, north arrows, scale bars, checker borders, graticules and legends.
  • Choropleths and graduated symbols with automatic name matching (Chittagong matches Chattogram, dropped admin-suffixes, diacritics) and mapclassify schemes.
  • Locator insets — the country to region to detail figure with connecting arrows.
  • Terrain — shaded relief and hypsometric tint from Copernicus GLO-30 (no API key), with realistic land-to-ocean colouring.
  • Hydrology — Natural Earth or dense OpenStreetMap river networks and water bodies.
  • Drainage — stream networks extracted from a DEM.
  • Export — PNG, PDF or SVG at any DPI.

Quick start

import acadgis as agis

gdf = agis.load_boundaries("Bangladesh", level="district")     # auto-download + cache
agis.plot(gdf, palette="spectral", title="Bangladesh — Districts")

agis.choropleth(gdf, df, value="incidence", palette="magma")   # messy names welcome

ax = agis.plot(gdf, highlight="Comilla")
agis.points(ax, survey_df, value="value", size_by="value", cmap="magma", legend=True)

dem = agis.load_dem("Bagrote Valley")
agis.relief(dem, hillshade=True, ocean_color="#cce5f0")

Links and attribution

License

Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acadgis-0.1.0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acadgis-0.1.0-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file acadgis-0.1.0.tar.gz.

File metadata

  • Download URL: acadgis-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for acadgis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 62263886d8830ab5010a6e6b585e57199ffee2b02d5fc597cbf9acb1d112c92c
MD5 7307bf03783d45772e17a2436f89e2af
BLAKE2b-256 5c3e7661785d2900553bc0c1912297233df31e91cd9ed20a11948dd819bcf28a

See more details on using hashes here.

File details

Details for the file acadgis-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: acadgis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for acadgis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58fe9f796adbc7a466bd8cce67a805ea2ef876bb42877a5cfce96a9fff7897c9
MD5 d5ca363d55603fc67fb4027813aa8b18
BLAKE2b-256 805389b85ff8ba0ee1646db5237b40c07e56154798cd86dbe6d4089c5d55ade8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page