1
vote
1answer
29 views

How to add IDs of the links composing a polygon?

I build up a polygon layer from a road network for finding roundabouts using the compactness factor of a polygon. Then I have to intersect the extracted roundabout polygons with the road network so ...
1
vote
3answers
73 views

polygons to polygon conversion with attribute name [duplicate]

1) I have a polygon shapefile with 1000 multi-part polygons in it. Each Row of the table is a multipart polygon. 2) I need 1000 shapefiles with 1 multi-part polygon in each. 3) Each output shapefile ...
0
votes
1answer
100 views

How to create polygon feature class from UTM coordinates?

I am working to create a polygon from UTM coordinates. The script I am using fails with a "must be a sequence, not float" error: Traceback (most recent call last): File "F:/sample/clipTiles.py", ...
2
votes
2answers
66 views

Check if a single feature is completely within another (arcpy)

I have a feature class that contains one polygon feature, and I need to check if said feature lies completely within another polygon feature. Used selectLayerByLocation and then retrieved the count ...
1
vote
1answer
118 views

Iterating over all features in featureclass to intersect them individually with polygon using ArcPy?

I've got a point featureclass, and I'm trying to individually intersect each feature with a polygon featureclass to get some information about which polygon each feature is in. I did one intersect ...
-1
votes
1answer
55 views

Determining if polygon contains point to populate point's field with polygon's name using arcpy.da?

Am trying to check if the points in a point shapefile are contained within a polygon shapefile and if so, to populate a field in the point shapefile with the name of the polygon and to populate the ...
2
votes
1answer
54 views

How to check how much of a line (percentage-wise) is covered by a polygon in arcpy?

I'm searching for an efficient way to check if a line is covered by a polygon (see image, this case should return 2x "true"). Right now I only check wether a line is within a buffer with ...
0
votes
1answer
48 views

Add a field to output feature of a geoprocessing tool?

I am running the Watershed tool and RasterToPolygon tool in a loop for a number of points: flowdir = "flow.tif" flowacc = "flowacc.tif" pnts = [arcpy.PointGeometry(arcpy.Point(x=0.0, y=0.0, ID = ...
1
vote
0answers
72 views

Convert polygon feature to line feature

I have a polygon shape-file i need to extract the line segments where the polygon features intersect each other and also the segment where they don't. Can we automate this process or can scripting ...
0
votes
2answers
313 views

ArcGIS 10.1 - Using Polygon Neighbors with dissolved polygons

I've used polygon neighbors to find all neighbors of a polygon layer, which I then use to look up all possible neighbor combinations and dissolve the polygons into all possible combinations of two ...
3
votes
2answers
174 views

Detecting ring direction of a polygon using ArcPy

I am using ArcPy in ArcGIS 10.1 to process some geometry using the arcpy.da data access module. However I have run into a problem with complex Polygons that contain inner rings/holes. From the ...
1
vote
0answers
60 views

Are polygons created in Arcpy built in any order?

My script uses a search cursor to evaluate polyline coordinates and build polygons based on those coordinates. The script works well, but I am curious as to whether anyone knows the order (if there ...
2
votes
1answer
208 views

Evaluate minimum points required to define polygons based on an error threshold

I need to build a model or write an algorithm to do this, which I would like you to share your ideas with me. here is my cadastral problem: I have plenty of polygons and I need to make a report of ...
1
vote
0answers
98 views

Is segment of polyline contained in polygon

I am pretty new to arcpy and am slowly learning all its functions. I have a scenario where I am traversing a polyline. I get a start point and an end point on the polyline and form a segment with ...
1
vote
1answer
731 views

arcpy points in polygon check

I have a list of points and a list of polygons both in a separate shape files. I am trying to write a ArcPy script to loop through the points, and then the polygons respectively and tell me when a ...
3
votes
3answers
387 views

How do I sort polygons by their latitude?

We have a set of polygons which we would like to sort and number according to their latitude. This will make it easier for local authorities to relate to the numbers of the objects. I have looked ...
3
votes
2answers
546 views

How to filter out multipart polygons and then buffer?

I've written a small script trying to accomplish the task described in the question title. It basically looks like: in_fc = '...' # Some shapefile goes here # Get the fields (column names) of the ...
4
votes
5answers
747 views

Python loop Polygon to raster not working

I want to convert a large number of different shp polygons to raster in ArcGIS 10.1, using an existing field column "class" for the new raster classes. I am not very fluent in python but I thought ...
6
votes
1answer
352 views

How to draw shapes with highest possible decimal accuracy

I am trying to read input of lat and long to draw the shape based on condition.The input is standard array of lat and long with 15 decimal accuracy. I am realizing - I am loosing some decimal accuracy ...
5
votes
1answer
1k views

Copy a polygon geometry in Arcpy

This to me sounded very simple so I am probably missing something basic here. What I need to do is to create a copy of a polygon shapefile to a new shapefile with slightly different attributes. Where ...
3
votes
2answers
412 views

How to select polygon features that have their centers outside of another polygon feature class

Since I only have Incorporated area feature class, how can I select census blocks that are in unincorporated area? Or not within any incorporated areas? Thank you. John
4
votes
1answer
1k views

Create overlapping polygons from contour lines

Working in ArcGIS 10, I have a set of contour lines representing density of commercial square footage, and I have a set of points representing local maxima for each peak of the dataset. For each ...