geospatial-analytics-ai999x — offline, verified geospatial analytics solver with step-by-step answers
Install · Capability guide · Evaluation · AI999X on Hugging Face · Website · Support: Buy Me a Coffee
License: Apache-2.0 · Author: Ibnul Jaif Farabi (creator and engineer) · Organization: AI999X · Version 1.0.0
Field: Geospatial · Tasks: Question Answering, Token Classification, Text Classification, Sentence Similarity, Feature Extraction
geospatial-analytics-ai999x is an offline, deterministic Python solver that answers geospatial analytics questions with verified results from 99 certified capabilities, gives 615 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.
geospatial-analytics-ai999x is a compact, deterministic geospatial analytics engine for Python. It reads a question in plain English (or a typed call), picks a certified geospatial analytics capability, computes the answer exactly, checks it, and returns the result with its steps, units, LaTeX and assumptions — or an honest refusal that says what is missing. It runs fully offline on any CPU, needs no GPU, no API key and no internet, and is built to give zero wrong answers: when it is not sure, it refuses instead of guessing.
Highlights
- Verified, not generated. Every answer is computed by a certified geospatial analytics capability and checked (substituted back, dimension-checked or compared with an independent computation) before it is returned.
- Zero wrong answers by design. Seven explicit outcomes — SOLVED, NEEDS_INPUT, AMBIGUOUS, INVALID_INPUT, OUT_OF_SCOPE, UNRECOGNIZED_FORMAT, INTERNAL_ERROR — never a silent guess. Every one of its 615 documented answers is reproduced exactly on every tested platform.
- Plain-English questions and a guaranteed typed interface.
ask()reads documented question forms;solve(capability_id, **inputs)always solves a supported task with valid inputs. - Explains itself. Steps, formulas in LaTeX, units, assumptions and the model used, ready for notebooks, tutoring apps and homework checkers.
- Small and portable. Pure Python (sympy, mpmath); identical answers on Windows and Linux (Python 3.10, 3.11, 3.12, 3.13, 3.14).
- Coverage: ellipsoidal geodesy, coordinates and map projections, spatial statistics and geostatistics, remote sensing, terrain analysis, and urban and network analysis.
Model overview
| Property | Value |
|---|---|
| Package | geospatial-analytics-ai999x 1.0.0 (import geospatial_analytics_ai999x) |
| Type | Deterministic neuro-symbolic geospatial analytics engine (rule-based reading + certified symbolic capabilities) |
| Capabilities | 99 certified procedures |
| Knowledge pack | version 1.0.0 |
| Golden answers | 615 documented answers, identical on every tested platform |
| Platforms tested | Windows (Python 3.13), Linux x86-64 (Python 3.10, 3.11, 3.12, 3.13, 3.14) |
| Runtime | CPU only, offline; no GPU, no network, no API key |
| License | Apache-2.0 |
| Creator / engineer | Ibnul Jaif Farabi |
| Organization | AI999X |
Quickstart
pip install geospatial-analytics-ai999x
# or straight from this repository:
pip install https://huggingface.co/AI999X/geospatial-analytics-ai999x/resolve/main/dist/geospatial_analytics_ai999x-1.0.0-py3-none-any.whl
import geospatial_analytics_ai999x as geospatial_analytics
geospatial_analytics.ask("Geodesic destination: lat1 = 52.2, lon1 = 0.12, azimuth = 45, distance = 100 km, ellipsoid = WGS84").show()
# -> SOLVED — lat2 = 52.8308, lon2 = 1.16915, azimuth2 = 45.8325 (geo_geodesic_destination)
geospatial_analytics.ask("UTM forward: lat = 51.5, lon = -0.13, ellipsoid = WGS84").show()
# -> SOLVED — easting = 699196, northing = 5.70934e+06, k = 1.00009, gamma = 2.24682 (geo_utm_forward)
geospatial_analytics.ask("Geodesic polygon area: lats = [48.0, 49.5, 47.2], lons = [2.0, 4.5, 6.1], ellipsoid = GRS80").show()
# -> SOLVED — area = 3.36697e+10, perimeter = 850958 (geo_geodesic_polygon_area)
geospatial_analytics.ask("Vegetation indices: red = 0.08, nir = 0.45, blue = 0.04, L = 0.5").show()
# -> SOLVED — NDVI = 0.698113, EVI = 0.567485, SAVI = 0.538835, OSAVI = 0.536232 (geo_vegetation_indices)
geospatial_analytics.solve("geo_morans_i", y=[8, 6, 6, 3, 2, 1], W=[[0, 1, 0, 0, 0, 0], [1, 0, 1, 0, 0, 0], [0, 1, 0, 1, 0, 0], [0, 0, 1, 0, 1, 0], [0, 0, 0, 1, 0, 1], [0, 0, 0, 0, 1, 0]], transform="row").show()
# -> SOLVED — I = 0.65625, EI = -0.2, VI_norm = 0.140952, z_norm = 2.28068 (geo_morans_i)
geospatial_analytics.ask("Who created you?").message
# -> geospatial-analytics-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.
Command line: geospatial-analytics-ai999x "<question>", geospatial-analytics-ai999x --capabilities. The outputs above were produced by running this exact code on geospatial-analytics-ai999x 1.0.0.
How every answer is verified
- Reading — the question is turned into typed quantities (value, unit, kind, role) and one asked quantity; every stated number must be used or the question is refused.
- Planning — only certified capabilities may answer; a capability applies only under the conditions the wording states (for example a pendulum, a liquid at rest, boiling).
- Computing — exact symbolic or high-precision numeric evaluation.
- Checking — dimensions, substitution back into the defining equation, and agreement between independent readings; any disagreement becomes a refusal, never a number.
Capabilities are certified before they ship: each must reproduce hand-worked reference cases, reject a deliberately wrong variant (a control), and leave every benchmark answer unchanged.
Capabilities
99 certified procedures. A few of them:
- Procedures: Albers equal-area conic projection: coordinates and scale factors; Arc length along a parallel of latitude; Area and perimeter of a geodesic polygon on the ellipsoid; Area of a latitude-longitude cell on the ellipsoid; At-sensor brightness temperature from thermal radiance; Auxiliary latitudes: geocentric, reduced, conformal, authalic and rectifying; Azimuthal equidistant projection (ellipsoidal, geodesic); Bivariate Moran's I (spatial cross-correlation); Closest facility for every node of a network; D8 flow accumulation of a small DEM; D8 flow direction of every cell of a small DEM; Decimal degrees to degrees, minutes and seconds; Decode a geohash: cell centre and size; Degrees, minutes and seconds to decimal degrees; Destination along a rhumb line (loxodrome) on the ellipsoid; Discrete Frechet distance between two polylines; Distance-band spatial weights; Douglas-Peucker line simplification; Empirical (Matheron) semivariogram in distance bins; Equirectangular (equidistant cylindrical / plate carree) projection; Fit an exponential or Gaussian variogram model (nugget, partial sill, range); Geary's C spatial autocorrelation with normal and randomization inference; Geocentric (ECEF) to geodetic coordinates; Geodesic destination point on the ellipsoid (direct problem) …
geospatial_analytics_ai999x.templates() lists every question form ask() reads; the capability guide (PDF, every example executed) is included in this repository.
All 99 formulas
Show every formula, by topic
Cartography
Ground distance from a map distance and a representative fraction
Map scale (representative fraction) from a map and a ground distance
Coordinate notation
Decimal degrees to degrees, minutes and seconds
Decode a geohash: cell centre and size
Degrees, minutes and seconds to decimal degrees
Geohash of a point and its cell
MGRS grid reference of a point (1 m)
Coordinate systems and conversions
Auxiliary latitudes: geocentric, reduced, conformal, authalic and rectifying
Geocentric (ECEF) to geodetic coordinates
Geodetic to geocentric (ECEF) coordinates
Geodetic to local east-north-up (ENU) coordinates
Local east-north-up (ENU) to geodetic coordinates
Look angles: azimuth, elevation and range from an observer to a target
UTM zone, latitude band and central meridian
Ellipsoidal geodesy
Arc length along a parallel of latitude
Area and perimeter of a geodesic polygon on the ellipsoid
Area of a latitude-longitude cell on the ellipsoid
Destination along a rhumb line (loxodrome) on the ellipsoid
Geodesic destination point on the ellipsoid (direct problem)
Meridian arc length between two latitudes
Midpoint of a geodesic on the ellipsoid
Radii of curvature of the ellipsoid at a latitude
Rhumb-line (loxodrome) distance and bearing on the ellipsoid
Facility location
Closest facility for every node of a network
Maximal covering location problem (MCLP) on a network
p-median facility location on a network
Geostatistics
Empirical (Matheron) semivariogram in distance bins
Fit an exponential or Gaussian variogram model (nugget, partial sill, range)
Inverse distance weighted (IDW) interpolation at a point
Ordinary kriging estimate and kriging variance at a point
Polynomial trend surface (first or second order) by least squares
Map projections
Albers equal-area conic projection: coordinates and scale factors
Azimuthal equidistant projection (ellipsoidal, geodesic)
Equirectangular (equidistant cylindrical / plate carree) projection
Gnomonic projection (sphere)
Inverse Albers equal-area conic projection
Inverse Lambert conformal conic projection (two standard parallels)
Inverse Mercator projection (ellipsoidal)
Lambert azimuthal equal-area projection (ellipsoidal)
Lambert conformal conic projection (two standard parallels): coordinates, scale factor and convergence
Lambert cylindrical equal-area projection (sphere)
Latitude and longitude to UTM coordinates (with scale factor and convergence)
Latitude and longitude to Web Mercator (EPSG:3857)
Mercator projection (ellipsoidal): coordinates and scale factor
Mollweide equal-area projection (sphere)
Orthographic projection (sphere)
Polar stereographic projection (standard parallel): coordinates and scale factor
Sinusoidal equal-area projection (ellipsoidal)
Tissot's indicatrix: scale factors and distortion of a projection at a point
Transverse Mercator projection: coordinates, scale factor and grid convergence
UTM coordinates to latitude and longitude
Web Mercator (EPSG:3857) to latitude and longitude
Web-map tile (slippy map / XYZ) and quadkey containing a point
Network accessibility
Gravity-based (Hansen) accessibility on a road network
Network connectivity indices: cyclomatic number, alpha, beta and gamma
Network detour index (circuity) between two nodes
Network service area (isochrone) of a facility
Shimbel accessibility index of every node
Two-step floating catchment area (2SFCA) accessibility
Planar vector analysis
Discrete Frechet distance between two polylines
Douglas-Peucker line simplification
Shape compactness indices of a polygon (Polsby-Popper, Schwartzberg, convex hull, Reock)
Point pattern analysis
Kernel density estimate of a point pattern at a location
Mean centre and standard distance of a point pattern
Nearest-neighbour index (Clark-Evans ratio) of a point pattern
Quadrat analysis: chi-square test of complete spatial randomness
Ripley's K and L functions of a point pattern
Standard deviational ellipse of a point pattern
Weighted mean centre and weighted standard distance
Remote sensing
At-sensor brightness temperature from thermal radiance
Ground sample distance and swath of a nadir-looking camera
Thematic map accuracy: overall accuracy, kappa, producer's and user's accuracy
Top-of-atmosphere reflectance from at-sensor radiance
Vegetation indices: NDVI, EVI, SAVI, OSAVI, MSAVI and EVI2 from band reflectances
Water, moisture, burn and built-up indices: NDWI, MNDWI, NDMI, NBR and NDBI
Spatial statistics
Bivariate Moran's I (spatial cross-correlation)
Distance-band spatial weights
Geary's C spatial autocorrelation with normal and randomization inference
Getis-Ord general G (global high/low clustering)
Global Moran's I spatial autocorrelation with normal and randomization inference
Join count statistics of a binary map (BB, BW, WW)
Local Getis-Ord Gi and Gi hot-spot statistics*
Local Moran's I (LISA) and Moran scatterplot quadrants
Spatial lag of a variable
k-nearest-neighbour spatial weights
Terrain analysis
D8 flow accumulation of a small DEM
D8 flow direction of every cell of a small DEM
Hillshade (analytical relief shading) of a 3x3 elevation window
Line-of-sight visibility along a terrain profile (with Earth curvature and refraction)
Slope and aspect of a 3x3 elevation window (Horn's method)
Terrain curvature: total, profile and plan curvature (Zevenbergen-Thorne)
Terrain ruggedness index (Riley), topographic position index and local relief
Watershed (catchment) of an outlet cell on a small DEM
Urban geography
Huff model: probabilities of shopping at each store from an origin (network distances)
Rank-size rule (Zipf) fit of a settlement system
Residential segregation (evenness): dissimilarity, Gini and Theil entropy indices
Residential segregation (exposure): isolation, interaction and correlation ratio
Spatial interaction (gravity) model fitted by Poisson regression
Urban population density gradient (Clark's negative exponential model)
Out of scope
- Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
- Questions outside its certified geospatial analytics capabilities, and any question whose stated numbers it cannot all use — it refuses with the reason instead.
- High-stakes engineering, medical or legal decisions without independent review.
Limitations
- It answers what its certified capabilities cover (ellipsoidal geodesy, coordinates and map projections, spatial statistics and geostatistics, remote sensing, terrain analysis, and urban and network analysis); anything else is refused with a reason.
ask()reads documented question forms and common phrasings; unusual wording may be refused — usesolve()for guaranteed results.- Results are as correct as the certified relations and their stated conditions; a certified relation is a checked model, not a claim about every physical situation.
Citation
@software{geospatial_analytics_ai999x_1_0_0,
title = {geospatial-analytics-ai999x: an offline, verified geospatial analytics solver},
author = {Farabi, Ibnul Jaif}, organization = {AI999X},
year = {2026}, version = {1.0.0},
url = {https://huggingface.co/AI999X/geospatial-analytics-ai999x}
}
Contact
Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/geospatial-analytics-ai999x/discussions or visit https://ai999x.com.
Support the project
geospatial-analytics-ai999x is free and open source. If it helps you, you can support further development on Buy Me a Coffee.
Created and engineered by Ibnul Jaif Farabi · AI999X · ai999x.com
- Downloads last month
- 20
Collections including AI999X/geospatial-analytics-ai999x
Evaluation results
- identical on every platform on Golden answers (615 documented questions, Windows + Linux Python 3.10-3.14)self-reported1.000