Geo.ArcGIS 2.0.0-alpha.6

This is a prerelease version of Geo.ArcGIS.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Geo.ArcGIS --version 2.0.0-alpha.6                
NuGet\Install-Package Geo.ArcGIS -Version 2.0.0-alpha.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Geo.ArcGIS" Version="2.0.0-alpha.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Geo.ArcGIS --version 2.0.0-alpha.6                
#r "nuget: Geo.ArcGIS, 2.0.0-alpha.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Geo.ArcGIS as a Cake Addin
#addin nuget:?package=Geo.ArcGIS&version=2.0.0-alpha.6&prerelease

// Install Geo.ArcGIS as a Cake Tool
#tool nuget:?package=Geo.ArcGIS&version=2.0.0-alpha.6&prerelease                

ArcGIS Geocoding

This allows the simple calling of ArcGIS geocoding APIs. The supported ArcGIS geocoding endpoints are:

Configuration

In the startup ConfigureServices method, add the configuration for the ArcGIS service:

using Geo.ArcGIS.DependencyInjection;
.
.
.
public void ConfigureServices(IServiceCollection services)
{
    .
    .
    .
    services.AddArcGISServices(options => options.UseClientCredentials(your_arcgis_client_id_here, your_arcgis_client_secret_here));
    .
    .
    .
}

Client Id and Secret

Not all ArcGIS geocoding endpoints require a client id and secret. The endpoints that require the id and secret are:

  • Geocoding
  • Reverse Geocoding

The endpoints where it is optional based on the request type:

  • Address Candidate
  • Place Candidate

The endpoints where it is not required at all:

  • Suggest

Sample Usage

By calling AddArcGISServices, the IArcGISGeocoding interface has been added to the IOC container. Just request it as a DI item:

public MyService(IArcGISGeocoding arcgisGeocoding)
{
    ...
}

Now simply call the geocoding methods in the interface.

Storing results

For some ArcGIS endpoints, it is required to specify whether or not the information is being stored. The parameters have a property called ForStorage. If the result of the request to ArcGIS is being stored, this MUST be set to true. As per the ArcGIS documentation:

Specifies whether the results of the operation will be persisted. The default value is false, which indicates the results of the operation can't be stored, but they can be temporarily displayed on a map for instance. If you store the results, in a database, for example, you need to set this parameter to true.

Applications are contractually prohibited from storing the results of geocoding transactions unless they make the request by passing the forStorage parameter with a value of true and the token parameter with a valid ArcGIS Online token. Instructions for composing a request with a valid token are provided in the authentication topic.

This library/product does not take any responsibility for misusing the ForStorage flag.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.0-alpha.12 51 10/16/2024
2.2.0-alpha.6 49 8/2/2024
2.2.0-alpha.1 130 7/17/2024
2.1.2 91 10/16/2024
2.1.1 121 8/2/2024
2.1.0 138 5/20/2024
2.1.0-alpha.4 65 5/20/2024
2.1.0-alpha.2 63 5/20/2024
2.1.0-alpha.1 51 5/14/2024
2.0.0 155 1/29/2024
2.0.0-alpha.8 58 1/28/2024
2.0.0-alpha.7 62 1/28/2024
2.0.0-alpha.6 75 1/22/2024
2.0.0-alpha.3 66 1/21/2024
2.0.0-alpha.2 78 1/14/2024
1.6.0 176 12/30/2023
1.6.0-alpha.11 83 9/19/2023
1.6.0-alpha.7 96 9/2/2023
1.5.2 159 9/19/2023
1.5.1 151 9/2/2023
1.5.0 184 6/4/2023
1.5.0-alpha.4 75 5/27/2023
1.5.0-alpha.3 94 4/13/2023
1.5.0-alpha.2 90 4/12/2023
1.5.0-alpha.1 84 4/11/2023
1.4.0 209 4/8/2023
1.4.0-alpha.3 94 4/7/2023
1.4.0-alpha.2 87 4/7/2023
1.4.0-alpha.1 96 4/6/2023
1.3.0 168 4/4/2023
1.3.0-alpha.12 95 4/3/2023
1.3.0-alpha.11 92 4/3/2023
1.3.0-alpha.10 101 4/2/2023
1.3.0-alpha.9 97 4/2/2023
1.3.0-alpha.6 111 1/15/2023
1.3.0-alpha.5 120 8/20/2022
1.2.1 185 4/2/2023
1.2.0 1,133 8/20/2022
1.2.0-alpha.4 108 8/19/2022
1.2.0-alpha.3 124 8/14/2022
1.2.0-alpha.2 111 7/22/2022
1.1.1 609 7/22/2022
1.1.0 640 6/4/2022
1.1.0-alpha.5 127 5/29/2022
1.1.0-alpha.4 121 5/29/2022
1.1.0-alpha.3 117 5/28/2022
1.1.0-alpha.2 127 5/24/2022
1.0.0 701 1/10/2021