[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]
map::geocode::nominatim(n) 0.1 tcllib "Mapping utilities"
Name
map::geocode::nominatim - Resolving geographical names with a Nominatim service
Synopsis
- package require Tcl 8.5
- package require http
- package require json
- package require uri
- package require snit
- package require map::geocode::nominatim ?0.1?
Description
This package provides a class for accessing geocoding services which implement the Nominatim interface (see References)
API
- ::map::geocode::nominatim requestor ?-baseurl url? ?-callback callback? ?-error error callback?
Creates a geocoding request object requestor, which will send its requests to the Nominatim server.
The result of the command is name.
Methods
- requestor search query
This method returns a list of dictionaries, one item per hit for the specified query.