element DistanceRequest
diagram geometry_p15.png
namespace http://www.mapinfo.com/midev/service/geometry/v1
type tns:DistanceRequest
properties
content   complex
children tns:FirstGeometry tns:SecondGeometry
attributes
Name    Type    Use    Default    Fixed    Annotation
id    xsd:string    optional         
A unique identifier that is returned in the response. It is used for debugging or keeping track of asynchronous requests.
locale    xsd:string    optional         
The language and country code of the request, which is defined using [language_code]_[country_code] syntax. The language code is a 2-letter ISO-639 code. The country code is a 2-letter ISO-3166 code. For example: en_US stands for the English language within the United States of America.
responseSrsName    xsd:string    optional         
The spatial reference system to express the response in.
computationType    tns:ComputationType    optional         
The computation type to use, either Cartesian or Spherical. If you do not specify this, then this method uses the coordinate system type of the first geometry in the calculation. Spherical computations can be used for any geometry. Cartesian calculations can only be used when the first geometry is Cartesian.
distanceUnit    tns:DistanceUnit    required         
The distance units to use (e.g. kilometer).
description
A request to calculate the distance between the two supplied geometries using the supplied computation type and distance units. Specifically, the distance between two closest points of the two geometries is determined.



© 2016 Pitney Bowes Software Inc. Email: pbbi.support@pb.com