complexType LengthRequest
diagram geometry_p119.png
namespace http://www.mapinfo.com/midev/service/geometry/v1
type extension of tns:GeometryServiceRequest
properties
base tns:GeometryServiceRequest
children tns:Geometry
used by
element LengthRequest
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 geometry in the calculation. Spherical computations can be used for any geometry. Cartesian calculations can only be used on other Cartesian geometries.
lengthUnit tns:DistanceUnit required
The length unit to use (e.g. kilometer).
description
A request to calculate the length of the supplied geometry using the supplied computation type and length unit. The lengths of points are zero.

attribute LengthRequest/@computationType
type tns:ComputationType
properties
use optional
facets
Kind Value Annotation
enumeration Spherical
The geometry is treated as points on a sphere and can be used with geographic (LongLat) and projected coordinate systems.
enumeration Cartesian
The geometry is treated as points on a flat plane and can be used with projected and non-earth coordinate systems.
description
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 geometry in the calculation. Spherical computations can be used for any geometry. Cartesian calculations can only be used on other Cartesian geometries.

attribute LengthRequest/@lengthUnit
type tns:DistanceUnit
properties
use required
facets
Kind Value Annotation
enumeration Centimeter
The distance unit for: centimeter.
enumeration cm
The distance unit for: centimeter.
enumeration Chain
The distance unit for: chain.
enumeration Foot
The distance unit for: foot.
enumeration ft
The distance unit for: foot.
enumeration Inch
The distance unit for: inch.
enumeration in
The distance unit for: inch.
enumeration Kilometer
The distance unit for: kilometer.
enumeration km
The distance unit for: kilometer.
enumeration Link
The distance unit for: link.
enumeration Meter
The distance unit for: meter.
enumeration m
The distance unit for: meter.
enumeration Mile
The distance unit for: mile.
enumeration mi
The distance unit for: mile.
enumeration Millimeter
The distance unit for: millimeter.
enumeration mm
The distance unit for: millimeter.
enumeration NauticalMile
The distance unit for: nautical mile.
enumeration Pica
The distance unit for: pica.
enumeration Point
The distance unit for: point.
enumeration Rod
The distance unit for: rod.
enumeration SurveyFoot
The distance unit for: survey foot.
enumeration Twip
The distance unit for: twip.
enumeration Yard
The distance unit for: yard.
enumeration yd
The distance unit for: yard.
description
The length unit to use (e.g. kilometer).

element LengthRequest/Geometry
diagram geometry_p120.png
namespace http://www.mapinfo.com/midev/service/geometry/v1
type tns:Geometry
properties
content complex
attributes
Name Type Use Default Fixed Annotation
srsName xsd:string optional
The spatial reference system name associated with this geometry.
description
The geometry whose length is to be determined.



© 2017 Pitney Bowes Software Inc. support.pb.com