The z- and m-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 must have a spatial reference, and not have an unknown coordinate system. Projects a geometry and optionally applies a geotransformation. PointFromAngleAndDistance (angle, distance, ) 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 before calling intersect. The intersection of two geometries of the same shape type is a Different dimension values can be used to The getPart method is equivalent to indexing an object that is, obj.getPart(0) is equivalent to obj.Ĭonstructs a geometry that is the geometric intersection of If an index is not specified, an Array object containing an Array of Point objects for each geometry part is returned. Returns an Array object of Point objects for a particular part of the geometry if an index is specified. Returns the length of the feature using a measurement method. Returns the area of the feature using a measurement method. This is a 2D comparison only M and Z values are ignored.Ĭreates a new simplified geometry using a specified maximum offset 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. The distance is in the units of the geometry's spatial reference. 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. If a geometry is not cut, the left geometry will be empty ( None).Ĭonstructs the geometry that is composed only of the region unique to theīase geometry but not part of the other geometry. Parts of the target polyline that do not intersect the cutting polyline are returned as part of the right of result for that input polyline. This classification is based on the orientation of the cutter line. Each piece is classified as left of or right of the cutter. When a polyline or polygon is cut, it is split where it intersects the cutter polyline. Splits this geometry into a part left of the cutting polyline, and a part right of it. The interior of the polygon which is not equivalent to the entire 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. This example is also published as a YouTube video here.Returns a tuple of angle and distance to a point or polygon.Ĭonstructs a polygon at a specified distance from the geometry.Ĭonstructs the intersection of the geometry and the specified extent. It is usually a good idea to create a backup of the master layer before performing this type of operation. The following steps a the ones I use to have the most consistent results.Ĭaution must be used when doing this type of operation as you will likely be working with a large and valuable dataset that has had a lot of time invested into ensuring its quality and integrity. This is a pretty common and simple workflow for most GIS software, however, I have found it to be more complicated and inconsistent with ArcGIS Pro than any other software. It is advantageous to have one database with similar features that have a unique field value that a definition query can be applied to instead of having many layers or shapefiles that have to be managed. The workflow usually consists of receiving a shapefile and then adding that shapefile to a larger database of the same type of feature (i.e. A common operation in GIS is to add data to a master database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |