Geo.ArcGIS 2.2.0-alpha.1

This is a prerelease version of Geo.ArcGIS.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Geo.ArcGIS --version 2.2.0-alpha.1                
NuGet\Install-Package Geo.ArcGIS -Version 2.2.0-alpha.1                
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.2.0-alpha.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Geo.ArcGIS --version 2.2.0-alpha.1                
#r "nuget: Geo.ArcGIS, 2.2.0-alpha.1"                
#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.2.0-alpha.1&prerelease

// Install Geo.ArcGIS as a Cake Tool
#tool nuget:?package=Geo.ArcGIS&version=2.2.0-alpha.1&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.Extensions.DependencyInjection;
.
.
.
public void ConfigureServices(IServiceCollection services)
{
    .
    .
    .
    var builder = services.AddArcGISGeocoding();
    builder.AddClientCredentials(your_arcgis_client_id_here, your_arcgis_client_secret_here);
    builder.HttpClientBuilder.ConfigureHttpClient(configure_client);
    .
    .
    .
}

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 AddArcGISGeocoding, 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 48 10/16/2024
2.2.0-alpha.6 46 8/2/2024
2.2.0-alpha.1 127 7/17/2024
2.1.2 84 10/16/2024
2.1.1 118 8/2/2024
2.1.0 135 5/20/2024
2.1.0-alpha.4 62 5/20/2024
2.1.0-alpha.2 60 5/20/2024
2.1.0-alpha.1 48 5/14/2024
2.0.0 152 1/29/2024
2.0.0-alpha.8 55 1/28/2024
2.0.0-alpha.7 59 1/28/2024
2.0.0-alpha.6 70 1/22/2024
2.0.0-alpha.3 63 1/21/2024
2.0.0-alpha.2 75 1/14/2024
1.6.0 173 12/30/2023
1.6.0-alpha.11 80 9/19/2023
1.6.0-alpha.7 93 9/2/2023
1.5.2 156 9/19/2023
1.5.1 148 9/2/2023
1.5.0 181 6/4/2023
1.5.0-alpha.4 72 5/27/2023
1.5.0-alpha.3 91 4/13/2023
1.5.0-alpha.2 87 4/12/2023
1.5.0-alpha.1 81 4/11/2023
1.4.0 206 4/8/2023
1.4.0-alpha.3 91 4/7/2023
1.4.0-alpha.2 84 4/7/2023
1.4.0-alpha.1 93 4/6/2023
1.3.0 163 4/4/2023
1.3.0-alpha.12 92 4/3/2023
1.3.0-alpha.11 89 4/3/2023
1.3.0-alpha.10 98 4/2/2023
1.3.0-alpha.9 94 4/2/2023
1.3.0-alpha.6 108 1/15/2023
1.3.0-alpha.5 117 8/20/2022
1.2.1 182 4/2/2023
1.2.0 1,130 8/20/2022
1.2.0-alpha.4 105 8/19/2022
1.2.0-alpha.3 121 8/14/2022
1.2.0-alpha.2 108 7/22/2022
1.1.1 604 7/22/2022
1.1.0 637 6/4/2022
1.1.0-alpha.5 124 5/29/2022
1.1.0-alpha.4 118 5/29/2022
1.1.0-alpha.3 114 5/28/2022
1.1.0-alpha.2 124 5/24/2022
1.0.0 698 1/10/2021