Class: TagInfoAPI

TagInfoAPI

Create osmTafInforAPI service instance. http://taginfo.openstreetmap.org/taginfo/apidoc

new TagInfoAPI($http, $q)

Parameters:
Name Type Description
$http Object angular $http service
$q Object angular $q service
Source:

Methods


get(method, config)

internal get request to the remote API
Parameters:
Name Type Description
method string
config Object $http config object
Source:
Returns:
Type
Promise

getKeyCombinations(params)

Parameters:
Name Type Description
params any key — Tag key (required). query — Only show results where the other_key matches this query (substring match, optional).
Source:

getKeyDistributionNodes(params)

Parameters:
Name Type Description
params any key — Tag key (required).
Source:

getKeyDistributionWays(params)

Parameters:
Name Type Description
params any key — Tag key (required).
Source:

getKeysAll(params)

Parameters:
Name Type Description
params any query — Only show keys matching this query (substring match, optional).
Source:

getKeyStats(params)

Parameters:
Name Type Description
params any key — Tag key (required).
Source:

getKeysWikiPages(params)

Parameters:
Name Type Description
params any query — Only show keys matching this query (substring match, optional).
Source:

getKeysWithoutWikiPage(params)

Parameters:
Name Type Description
params any english — Check for key wiki pages in any language (0, default) or in the English language (1). min_count — How many tags with this key must there be at least to show up here? (default 10000). query — Only show results where the key matches this query (substring match, optional).
Source:

getKeyValues(params)

Parameters:
Name Type Description
params any key — Tag key (required). lang — Language for description (optional, default: 'en'). query — Only show results where the value matches this query (substring match, optional).
Source:

getKeyWikiPages(params)

Parameters:
Name Type Description
params any key — Tag key (required).
Source:

getRelationRoles(params)

Parameters:
Name Type Description
params any query — Only show results where the role matches this query (substring match, optional). rtype — Relation type (required).
Source:

getRelationsAll(params)

Parameters:
Name Type Description
params any query — Only show results where the relation type matches this query (substring match, optional).
Source:

getRelationStats(params)

Parameters:
Name Type Description
params any rtype — Relation type (required).
Source:

getRelationWikiPages(params)

Parameters:
Name Type Description
params any rtype — Relation type (required).
Source:

getSearchByKeyAndValue(params)

Parameters:
Name Type Description
params any query — Value to search for (substring search, required).
Source:

getSearchByKeyword(params)

Parameters:
Name Type Description
params any query — Value to search for (substring search, required).
Source:

getSearchByRole(params)

Parameters:
Name Type Description
params any query — Role to search for (substring search, required).
Source:

getSearchByValue(params)

Parameters:
Name Type Description
params any query — Value to search for (substring search, required).
Source:

getSiteInfo(params)

Parameters:
Name Type Description
params any param: No params
Source:

getSiteSources(params)

Parameters:
Name Type Description
params any param: No params
Source:

getTagCombinations(params)

Parameters:
Name Type Description
params any key — Tag key (required). query — Only show results where the other_key or other_value matches this query (substring match, optional). value — Tag value (required).
Source:

getTagDistributionNodes(params)

Parameters:
Name Type Description
params any key — Tag key (required). value — Tag value (required).
Source:

getTagDistributionWays(params)

Parameters:
Name Type Description
params any key — Tag key (required). value — Tag value (required).
Source:

getTagsPopular(params)

Parameters:
Name Type Description
params any query — Only show tags matching this query (substring match in key and value, optional).
Source:

getTagStats(params)

Parameters:
Name Type Description
params any key — Tag key (required). value — Tag value (required).
Source:

getTagWikiPages(params)

Parameters:
Name Type Description
params any key — Tag key (required). value — Tag value (required).
Source:

getWikiLanguages(params)

Parameters:
Name Type Description
params any param: No params
Source: