How to use the arcgis.Arcgis function in arcgis

To help you get started, we’ve selected a few arcgis examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DenisCarriere / geocoder / geocoder / utils.py View on Github external
def get_provider(location, provider, short_name):
    provider = provider.lower()

    if provider == 'google':
        return Google(location)
    elif provider == 'bing':
        return Bing(location, key=bing_key)
    elif provider == 'osm':
        return Osm(location)
    elif provider == 'nokia':
        return Nokia(location, app_id=app_id, app_code=app_code)
    elif provider == 'mapquest':
        return Mapquest(location)
    elif provider == 'arcgis':
        return Arcgis(location)
    elif provider == 'ip':
        return Ip(location)
    elif provider == 'reverse':
        return Reverse(location)
    elif provider == 'tomtom':
        return Tomtom(location, key=tomtom_key)
    elif provider == 'geonames':
        return Geonames(location, username=username)
    elif provider == 'geolytica':
        return Geolytica(location)
    elif provider == 'elevation':
        return Elevation(location)
    elif provider == 'timezone':
        return Timezone(location)