

Areas are always returned in square meters. This option preserves the shape of the geometry in its coordinate system. PRESERVE_SHAPE - This type calculates the area or length of the geometry on the surface of the Earth ellipsoid, for geometry defined in a projected or geographic coordinate system.This option is only available when measuring in a projected coordinate system and the 2D plane of that coordinate system will be used as the basis for the measurements. PLANAR - Planar measurement use 2D Cartesian mathematics to calculate lengths and areas.
#Calculate geometry x arcpy series
Great circle routes are often broken into a series of loxodromes, which simplifies navigation. LOXODROME - A loxodrome is not the shortest distance between two points but instead defines the line of constant bearing, or azimuth.This is also known as a great circle when a sphere is used. GREAT_ELLIPTIC - The line on a spheroid (ellipsoid) defined by the intersection at the surface by a plane that passes through the center of the spheroid and the start and endpoints of a segment.This is also known as a great circle line if based on a sphere rather than an ellipsoid. One use for a geodesic line is when you want to determine the shortest distance between two cities for an airplane's flight path. GEODESIC - The shortest line between any two points on the earth's surface on a spheroid (ellipsoid).Within is the opposite operator of contains. Indicates if the base geometry is within the comparison geometry. The two geometries being unioned must be the same shape type. For example, a point touches a polyline only if the point is coincident with one of the polyline end points.Ĭonstructs the geometry that is the set-theoretic union of the input geometries. Geometries is not empty, but the intersection of their interiors isĮmpty. Two geometries touch when the intersection of the Indicates if the boundaries of the geometries intersect. The two input geometries must be the same shape type. The geometry that is the union of two geometries minus the instersection of those geometries. The Z- and measure values are not changed by the ProjectAs method. If either spatial reference is unknown the coordinates will not be changed. The new spatial reference system passed to the method defines the output coordinate system. To project, the geometry needs to have a spatial reference, and not have an UnknownCoordinateSystem. Projects a geometry and optionally applies a geotransformation. Shape type as one of the input geometries and is not equivalent to either of the input geometries. Indicates if the intersection of the two geometries has the same

Geometry containing only the regions of overlap between theįor faster results, test if the two geometries are disjoint The intersection of two geometries of the same shape type is a Different dimension values can be used to Returns an array of point objects for a particular part of geometry or an array containing a number of arrays, one for each part.Ĭonstructs a geometry that is the geometric intersection of Returns the length of the feature using a measurement type. Returns the area of the feature using a measurement type. This is a 2D comparison only M and Z values are ignored. Indicates if the base and comparison geometries are of the same shape type and define the If the geometries intersect, the minimum distance is 0.īoth geometries must have the same projection. Returns the minimum distance between two geometries. Geometries intersect if disjoint returns False. Indicates if the base and comparison geometries share no points in common. The following illustration shows the results when the red polygon is the source geometry. The interior of the polygon which is not equivalent to the entireĬonstructs the geometry that is composed only of the region unique to theīase geometry but not part of the other geometry. They share a polyline or a point (for vertical line) in common on Two polylines cross if they share only points in common, at least Indicates if the two geometries intersect in a geometry of a lesser Only True relationships are shown in this illustration.Ĭonstructs the geometry that is the minimal bounding polygon such that all outer

Indicates if the base geometry contains the comparison geometry. Constructs a polygon at a specified distance from the geometry.Ĭonstructs the intersection of the geometry and the specified extent.
