Currently viewing the category:
"scala"
Here is a chunk of Scala code for getting lat/lon coordinates of geographical locations (cities or villages) using the wonderful geonames.org webservice which allows to search for geo entities by name. The getCoords() method returns a triple of (resolved entity name, lat, lon). The countryCode parameter is optional and will limit the search [...]

