# Complaint location data

JANNEEV matches a device position or a confirmed pin against these files in the browser. The application fetches only the static files for the lookup. It sends no coordinates to a reverse-geocoding service.

- **State and union territory outlines:** [geoBoundaries India ADM1, release 9469f09](https://www.geoboundaries.org/api/current/gbOpen/IND/ADM1/). DataMeet India community and the Election Commission of India, via geoBoundaries. Licensed under [CC BY 2.5 India](https://creativecommons.org/licenses/by/2.5/in/). The bundled outlines are simplified for approximate lookup.
- **Cities, towns and localities:** [GeoNames country data for India](https://download.geonames.org/export/dump/IN.zip) and its [administrative codes](https://download.geonames.org/export/dump/admin1CodesASCII.txt), licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). The files contain a selection of populated places, with approximate areas around town centres. They do not define municipal or ward boundaries.
- **Ward boundaries:** [Delhi, Pune and Mumbai ward snapshots](../complaint-wards/README.md). These provide ward names in the covered areas. Elsewhere, the form may find a nearby locality or village, depending on data coverage and location accuracy.

To rebuild, put the published simplified GeoJSON, the GeoNames country archive and the administrative codes in one directory under the filenames `geoboundaries-IND-ADM1.geojson`, `geonames-IN.zip` and `geonames-admin1.txt`. Run `python scripts/build-india-location-data.py <directory>` from the repository root.
