complexType AreaRequest
diagram geometry_p49.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   AreaRequest
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.
areaUnit    tns:AreaUnit    required         
The area units to use (e.g. square meter).
description
A request to calculate the area of the supplied geometry using the supplied computation type and area unit. The area of a polygon is the area defined by its exterior ring minus the areas defined by its interior rings. The areas of points and lines are zero.

attribute AreaRequest/@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 AreaRequest/@areaUnit
type tns:AreaUnit
properties
use   required
facets
Kind   Value   Annotation
enumeration   Acre
The area unit for: acre.
enumeration   Are
The area unit for: are.
enumeration   Hectare
The area unit for: hectare.
enumeration   Perch
The area unit for: perch.
enumeration   Rood
The area unit for: rood.
enumeration   SquareCentimeter
The area unit for: square centimeter.
enumeration   SquareChain
The area unit for: square chain.
enumeration   SquareFoot
The area unit for: square foot.
enumeration   SquareInch
The area unit for: square inch.
enumeration   SquareKilometer
The area unit for: square kilometer.
enumeration   SquareLink
The area unit for: square link.
enumeration   SquareMeter
The area unit for: square meter.
enumeration   SquareMile
The area unit for: square mile.
enumeration   SquareMillimeter
The area unit for: square millimeter.
enumeration   SquareNauticalMile
The area unit for: square nautical mile.
enumeration   SquareRod
The area unit for: square rod.
enumeration   SquareSurveyFoot
The area unit for: square survey foot.
enumeration   SquareYard
The area unit for: square yard.
description
The area units to use (e.g. square meter).

element AreaRequest/Geometry
diagram geometry_p50.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 area is to be determined.



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