Backend Python Modules¶
OSM Login Python¶
A way to consistently implement OSM login (via underlying OAuth2) in our applications.
PG Nearest City¶
A very simple tool for reverse-geocoding points to the nearest city over 1000 population. Requires no network requests and runs entirely in an attached PostGIS instance.
GeoJSON AOI Parser¶
Consistent parsing of user GeoJSON upload, for processing by tools such as raw-data-api, FieldTM, Drone-TM, etc, using an underlying PostGIS database.
Raw Data API Py¶
A Python wrapper for HOT's raw-data-api. This allows for downloading of frequently updated OSM data very conveniently.
OSM Fieldwork¶
Various utility programs useful for field data collection using ODK Central. These modules are used extensively in Field for all the backend data processing.
FieldTM Splitter¶
A splitting algorithm using PostGIS to divide an idea into task areas, factoring in prominent map features (roads, rivers, etc).
The division is configurable via various parameters.
fAIr Utilities¶
Various machine learning utils used within the fAIr backend.