vkurchatkin / which-country

Get ISO 3166-1 alpha-3 country code for geographic coordinates
56 stars 28 forks source link

generate data.geo.json ? #3

Open davidbarre opened 7 years ago

davidbarre commented 7 years ago

Hi,

Thanks for this great lib.

I would like to use 10m precision file but I only find this command to generate the geojson file ogr2ogr -f GeoJSON -t_srs crs:84 countries.geojson ne_50m_admin_0_countries.shp

The output file size is ~4MB, your file seems more compact ~1MB It is possible to share some advice on this conversion ?

vkurchatkin commented 7 years ago

Sorry, but I don't really remember at this point.