Skip to content

Country Codes and other Miscellaneous Geo-Spatial Reference Data

License

Notifications You must be signed in to change notification settings

FirstDraftGIS/georefdata

Repository files navigation

georefdata

Country Codes and other Miscellaneous Geo-Spatial Reference Data

install

pip install georefdata

usage

import georefdata

georefdata.get_country_codes()
# ['AF', 'AL', 'DZ', 'AS', 'AD', ... 'ZW']

georefdata.get_geonames_feature_classes()
# ['A', 'H', 'L', 'P', 'R', 'S', 'T', 'U', 'V', 'n']

georefdata.get_geonames_feature_codes()
# ['ADM1', 'ADM1H', 'ADM2', ... 'ZNF', 'ZOO', 'null]

georefdata.get_timezones()
#['Africa/Abidjan', 'Africa/Accra', ... 'Pacific/Wake', 'Pacific/Wallis']


attribution

GeoNames uses Attribution 4.0 International (CC BY 4.0), which requires attribution. GeoNames Feature Classes, GeoNames Feature Codes, and Time Zones come from GeoNames.

links

http://download.geonames.org/export/dump/featureCodes_en.txt http://download.geonames.org/export/dump/timeZones.txt

About

Country Codes and other Miscellaneous Geo-Spatial Reference Data

Resources

License

Stars

Watchers

Forks

Packages

No packages published