Skip to content

geokrety/country-reverse-geocoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

country-reverse-geocoder

Reverse country names from lat/lon. Project was initiated first for the geokrety.org project.

Requirements

  • A database (mariadb in our case) with GIS support.
  • A working php service
  • A webserver

Install

  • Copy geocoder.php somewhere accessible by php.
  • Copy geocoder.inc.ex.php as geocoder.inc.php next to geocoder.php
  • Edit geocoder.inc.php and fill your database configuration
  • Create a database, and import countries.sql.

Data source

All country polygons were extracted from Open Street Map.

License

Code is released under MIT license.

OSM data apply to © OpenStreetMap contributors

About

Reverse country names from lat/lon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages