georest.esri

ArcGIS / Esri REST service clients - stdlib only, no third-party deps.

Modules

services

Generic Image/Map/Feature Service queries: tile URL templates, GeoJSON feature fetching, and Image Service raster operations (exportImage, computeStatisticsHistograms, identifyPixelValue, getSamples, queryBoundary, getSupportedOperations).

edw

USFS Enterprise Data Warehouse client: catalog search, layer-role tagging, FGDC/ISO metadata parsing, feature and analytic queries.

portal

ArcGIS Portal search (IIPP, AGOL, USGS, NOAA, USFS, NASA, or any Enterprise portal) and service metadata.

auth

Sign in as a user (OAuth 2.0 + PKCE, or a token handed in from the arcgis API). Calls without token= then use the session on the hosts it covers.

_http

Internal shared urllib GET/POST/JSON helpers. Not part of the public API.

Copyright 2026 Ryan Rock and Ian Housman Portions ported from geeViz (esriLib.py, edwLib.py).

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Modules

auth

Sign in to ArcGIS Online or ArcGIS Enterprise (Portal) as a user.

cli

Command-line entry points shipped with georest.esri.

edw

USFS Enterprise Data Warehouse (EDW) REST API client.

portal

ArcGIS / Esri Portal search and service metadata client.

services

ArcGIS / Esri service query helpers: tile URL construction for Image/Map Services, and GeoJSON feature fetching for Feature Services.