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.
  • Layout presets — study_area() builds the whole multi-panel figure in one call (single, two, cascade, series, grid) with uniform or custom panel sizes, customizable connectors and region highlighting.
  • 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.
  • Sea / ocean — sea=True (or agis.add_sea) draws a clean ocean around coastal countries (source="ne10m" for crisp coasts); sliver-free, landlocked is a no-op.
  • 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")

agis.study_area("Bangladesh",                                  # whole layout, one call
    steps=[("division", "Dhaka"), ("district", "Madaripur")],
    template="cascade", terrain=True)

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.3.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.3-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acadgis-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ddccac461d1540325d66b13f18b0e8a74869f09f6836a3af9a6d10e6c1be9b98
MD5 d18a6961db3b5632f017fe3300d7fc9b
BLAKE2b-256 ec94f1d2a19fc39e3bc380b08a755d9987d9001e4eaa2fae12ebf36fcd500627

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acadgis-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6b4886a61225e2315cfa73c729e0ecece05414a3e32118ffd1c97fb1b1abf886
MD5 30b8eb866a87c07e4f95d8dc11118ad5
BLAKE2b-256 618db4227e03c72142d83e795e242acb2faabf4103d4ec3c4a77877d2cc4230d

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