Anywhere.ArcGIS 1.11.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anywhere.ArcGIS --version 1.11.1                
NuGet\Install-Package Anywhere.ArcGIS -Version 1.11.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="Anywhere.ArcGIS" Version="1.11.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Anywhere.ArcGIS --version 1.11.1                
#r "nuget: Anywhere.ArcGIS, 1.11.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 Anywhere.ArcGIS as a Cake Addin
#addin nuget:?package=Anywhere.ArcGIS&version=1.11.1

// Install Anywhere.ArcGIS as a Cake Tool
#tool nuget:?package=Anywhere.ArcGIS&version=1.11.1                

If you are calling a REST operation you will need to create a gateway to manage the request. There are a few different ones but the most basic is called PortalGateway and this can be used for connecting directly to services with ArcGIS Server.

Create an instance of that by specifying the root url of your server. The format of the root url is scheme://host:port/instance so a typical default ArcGIS Server for your local machine would be http://localhost:6080/arcgis, note that you do not need to include rest/services in either the root url or your relative urls as it gets added automatically. One thing to look out for is that the url is case sensitive so make sure you enter it correctly.

var gateway = new PortalGateway("https://sampleserver3.arcgisonline.com/ArcGIS/");

// If you want to access secure resources then pass in a username / password
// this assumes the token service is in the default location for the ArcGIS Server
var secureGateway = new PortalGateway("https://sampleserver3.arcgisonline.com/ArcGIS/", "username", "password");

// Or use the static Create method which will discover the token service Url from the server Info endpoint
var autoTokenProviderLocationGateway = await PortalGateway.Create("https://sampleserver3.arcgisonline.com/ArcGIS/", "username", "password");

Now you have access to the various operations supported by it. For example to call a query against a service

var query = new Query("Earthquakes/EarthquakesFromLastSevenDays/MapServer/0")
{ 
    Where = "magnitude > 4.0" 
};
var result = await gateway.Query<Point>(query);

Capabilities

Supports the following as typed operations:

  • CheckGenerateToken create a token automatically via an ITokenProvider
  • Query query a layer by attribute and / or spatial filters, also possible to do BatchQuery
  • QueryForCount only return the number of results for the query operation
  • QueryForIds only return the ObjectIds for the results of the query operation
  • QueryForExtent return the bounding extent for the result of the query operation
  • QueryAttachments return attachments grouped by the source feature object Ids and global id
  • QueryDomains returns full domain information for the domains referenced by the layers in the service
  • Find search across n layers and fields in a service
  • ApplyEdits post adds, updates and deletes to a feature service layer
  • DeleteFeatures delete features in a feature layer or table
  • Geocode single line of input to perform a geocode using a custom locator or the Esri world locator
  • CustomGeocode single line of input to perform a geocode using a custom locator
  • Suggest lightweight geocode operation that only returns text results, commonly used for predictive searching
  • ReverseGeocode find location candidates for a input point location
  • Simplify alter geometries to be topologically consistent
  • Project convert geometries to a different spatial reference
  • Buffer buffers geometries by the distance requested
  • DescribeSite returns a url for every service discovered
  • CreateReplica create a replica for a layer
  • UnregisterReplica unregister a replica based on the Id
  • DeleteAttachments delete attachments that are associated with a feature
  • Ping verify that the server can be accessed
  • Info return the server information such as version and token authentication settings
  • DescribeLegends return legend information of layers
  • DescribeServices return services information (name, sublayers etc.)
  • DescribeService return service information (name, sublayers etc.)
  • DescribeLayer return layer information
  • HealthCheck verify that the server is accepting requests
  • GetFeature return a feature from a map/feature service
  • ExportMap get an image (or url to the image) of a service

REST admin operations:

  • PublicKey - admin operation to get public key used for encryption of token requests
  • ServiceStatus - admin operation to get the configured and actual status of a service
  • ServiceReport - admin operation to get the service report
  • StartService - admin operation to start a service
  • StopService - admin operation to stop a service
  • ServiceStatistics - admin operation to get the statistics of a service

There are also methods to add / update and download attachments for a feature and you can extend this library by writing your own operations.

Refer to the integration test project for more examples.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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.0.2 681 10/28/2024
2.0.1 76,388 9/26/2021
2.0.0 9,789 9/27/2020
1.12.0 20,106 6/3/2020
1.11.1 710 4/22/2020
1.11.0 20,810 9/9/2019
1.10.0 1,761 7/18/2019
1.9.1 3,457 11/29/2018
1.9.0 3,601 11/8/2018
1.8.1 850 10/18/2018
1.8.0 928 9/9/2018
1.7.1 900 8/23/2018
1.7.0 1,031 8/2/2018
1.6.0 1,097 6/13/2018
1.5.0 1,012 6/10/2018
1.4.0 1,789 3/12/2018
1.3.1 1,141 3/3/2018
1.3.0 1,499 1/25/2018
1.2.1 1,151 1/16/2018
1.2.0 1,231 1/15/2018
1.1.0 1,129 12/11/2017
1.0.0 1,045 11/14/2017
1.0.0-beta.4 651 11/13/2017
1.0.0-beta.3 662 10/31/2017
1.0.0-beta.2 665 10/27/2017
1.0.0-beta.1 684 10/26/2017