{"categories":[{"label":"Information Analysis","url":"https://skillfed.io/packages/category/scientific-engineering-information-analysis/2"}],"enrichment":{"capability":"Reverse Geocode converts latitude/longitude coordinates to the nearest known country, state, and city using a k-d tree lookup against geonames data, without requiring a web API.","skillfed_tags":["geolocation","offline-lookup","spatial-indexing"],"use_cases":["Batch reverse geocoding thousands of GPS coordinates from a dataset without hitting rate limits or API costs","Finding the nearest city to a set of sensor readings or IoT device locations in an offline or air-gapped environment","Filtering location results by population threshold to prioritize major cities over small towns in proximity searches","Building location-aware analytics on historical coordinate data where real-time API access is not available"],"what_it_does":"Reverse Geocode is a Python library that maps latitude/longitude coordinates to their nearest known geographic location (country, state, city) using offline lookup rather than a web API. It structures geonames data into a k-d tree for efficient nearest-neighbor searches, making it practical for bulk geocoding tasks where calling an external service would be impractical or undesirable.\n\nThe package depends on numpy and scipy for its spatial indexing and numerical operations. Results are returned as dictionaries containing country code, country name, state, city, population, and exact coordinates of the matched location. You can filter results by minimum population to prefer larger cities over nearby smaller ones, though the package notes that point-based lookup gives only a rough approximation compared to polygon-based geographic systems.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a specific problem (offline bulk reverse geocoding) that web APIs handle poorly. The LGPL license is permissive for non-modifying use. Install it if you need to map coordinates to cities at scale without external dependencies."},"id":"reverse-geocode","links":{"html":"https://skillfed.io/packages/reverse-geocode","md":"https://skillfed.io/packages/reverse-geocode.md","pypi":"https://pypi.org/project/reverse-geocode/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-05-15","license_spdx":null,"license_treatment":"copyleft","name":"reverse-geocode","python_support":"unspecified","summary":"Reverse geocode the given latitude / longitude"},"popularity":{"monthly_downloads":366666,"position":7203,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.6.6"}
