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      
documentation
A unique identifier that is returned in the response. It is used for debugging or keeping track of asynchronous requests.
locale  xsd:string  optional      
documentation
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      
documentation
The spatial reference system to express the response in.
computationType  tns:ComputationType  optional      
documentation
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      
documentation
The distance units to use (e.g. kilometer).
annotation
documentation
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.


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy