Table of Contents

Class CloudRoutingGetServiceAreaOptions

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

A class provides the options for the GetServiceArea API.

[Obfuscation(Exclude = true)]
public class CloudRoutingGetServiceAreaOptions
Inheritance
CloudRoutingGetServiceAreaOptions
Inherited Members

Remarks

A class provides the options for the GetServiceArea API.

Constructors

CloudRoutingGetServiceAreaOptions()

public CloudRoutingGetServiceAreaOptions()

Properties

ContourGranularity

A float in the range of (0, 1.0) to identify how much we want to remove the contours. 0 means do not remove any contour at all, 1.0 means only return the largest contour. Defaults to 1.0.

public float ContourGranularity { get; set; }

Property Value

float

CoordinateSnapRadius

The maximum distance of a coordinate can be snapped to the road network. Defaults to 5000 meters.

public float CoordinateSnapRadius { get; set; }

Property Value

float

CoordinateSnapRadiusUnit

The unit of the radius to snap the input coordinate to road network.

public DistanceUnit CoordinateSnapRadiusUnit { get; set; }

Property Value

DistanceUnit

DistanceUnit

The unit of measure in which to express the length of route. Defaults to Meter.

public DistanceUnit DistanceUnit { get; set; }

Property Value

DistanceUnit

GridSizeInMeters

A float value in meters used as the tolerance for concave polygon. The smaller of the number is getting more accurate of the service areas but slower performance, better a value bigger than 300, but depends on the size of the result coverage. Defaults to 400.

public float GridSizeInMeters { get; set; }

Property Value

float

ServiceAreaSeparationType

Specify whether to include the region covered by the smaller service area into the region covered by the larger service area. Defaults to Separated.

public CloudRoutingServiceAreaSeparationType ServiceAreaSeparationType { get; set; }

Property Value

CloudRoutingServiceAreaSeparationType

ServiceAreaType

Indicates whether the result is returned in polygon cancaved from accessing roads, or the linestrings as roads. Defaults to Polygon.

public CloudRoutingServiceAreaObjectType ServiceAreaType { get; set; }

Property Value

CloudRoutingServiceAreaObjectType

TravelDirection

Indicates the direction of travel to or from the coordinates. Defaults to From.

public CloudRoutingServiceAreaTravelDirection TravelDirection { get; set; }

Property Value

CloudRoutingServiceAreaTravelDirection