SQLite Forum

Country-coding from Lat/Long, using GeoPoly and/or R-Tree
Login
We publish a huge amount of openly-licensed and free-of-charge geographic data here <https://geocode.earth/data/whosonfirst>

Select the country you're after or 'XY' for things above the country-level such as Timezones, Oceans, Continents etc.

If you click the 'name_compressed' link under 'SQLite Databases' you'll get a compressed SQLite database, in here you'll find an 'spr' table with a summary of the place and a 'geojson' table containing the geometries and metadata.

The source of the data is the https://whosonfirst.org project which is managed by the same person as the Natural Earth project you linked.