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

Uploaded Python 3

File details

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

File metadata

  • Download URL: acadgis-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5e01945ecd922b635a551735cf9932313941c1c48944c4ae080a10846493a901
MD5 aafb4c1228ea57dd78fa5f600fbdc7ad
BLAKE2b-256 fdf9e8a7b87334e88e6e206126121d356ef1c20f60e67c7b87e6532fd9d08516

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acadgis-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 212ba42321e9b6033cdae67da25424bc752353461a0b46dcbbc97706bd4ed1b7
MD5 74de5123f326f47faa913d055761ddad
BLAKE2b-256 a07c46325fe3d4ba8cc722eaead169952863fd89af7aaf72fdd0a48776ef09f9

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