|
POST
|
I'm not seeing any actual solutions by searching for inscribed circles, except possibly through ET GeoWizards, which I can't get to until tomorrow. At this point I'm interested in a Python implementation. Ideas?
... View more
03-12-2015
07:45 PM
|
0
|
3
|
1702
|
|
POST
|
You should share how you figured out the math on paper, and perhaps someone will be able to turn it into code.
... View more
03-12-2015
01:44 PM
|
0
|
5
|
1702
|
|
POST
|
Can you explain the difference that storing the feature classes in a feature dataset would make?
... View more
03-12-2015
01:34 PM
|
0
|
0
|
1577
|
|
POST
|
Since you never make use of the changing Name variable, all of your output is saved to the same final feature class ("N2E100_MinimumBoundingGeomet2"). If you name it using in-line variable substitution something like, "%Name%_output", different outputs will be created.
... View more
03-12-2015
01:18 PM
|
0
|
0
|
1577
|
|
POST
|
You can pull out polygons intersecting at least one other polygon using the following script: >>> polys = []
... outPolys = []
... with arcpy.da.SearchCursor("YOUR_POLYGON_LAYER_HERE","SHAPE@") as cursor:
... for row in cursor:
... polys.append(row[0])
... for i in range(len(polys)):
... overlap = 0
... for j in range(len(polys)):
... if polys.distanceTo(polys ) == 0:
... overlap = overlap + 1
... if overlap > 1:
... outPolys.append(polys)
... arcpy.CopyFeatures_management(outPolys,'in_memory\polys')
... View more
03-11-2015
02:56 PM
|
2
|
1
|
2344
|
|
POST
|
If you post your entire script, we may have a better chance of diagnosing the problem.
... View more
03-11-2015
02:21 PM
|
0
|
0
|
1311
|
|
POST
|
How do you want to deal with overlapping polygons (e.g. area of smaller polygon may fully overlap, but boundary may be far inside the larger polygon)?
... View more
03-11-2015
01:23 PM
|
0
|
1
|
2344
|
|
POST
|
I don't know if you're open to using Python or not, but you can use core arcpy and arcpy.mapping to automate this. Specifically: - ListFields - Layer - GraduatedColorsSymbology - DataDrivenPages
... View more
03-11-2015
12:48 PM
|
0
|
0
|
1255
|
|
POST
|
The world file does not contain any information about the intended spatial reference system. You still need to Define Projection (presumably WGS 1984), in addition to using the world file. It works just fine for me, with your original world file. Because the data itself now has a spatial reference, you can reproject it however you want:
... View more
03-11-2015
09:58 AM
|
0
|
1
|
7499
|
|
POST
|
You may be able to hack together some code using the following logic (found here). It should produce an infinite loop calling a function until there is no error, which you may want to just stop and consider. result = None
while result is None:
try:
result = get_data(...)
except:
pass
... View more
03-10-2015
02:22 PM
|
2
|
2
|
2214
|
|
POST
|
If you're dead set against creating output, you could use arcpy geometry and a fair bit of other python to achieve this.
... View more
03-09-2015
10:11 PM
|
1
|
0
|
1701
|
|
POST
|
Could you provide a picture of what you'd like the result to be? Many output feature classes or one feature class? Can you accomplish the desired result using Select By Location, using Intersect selection method?
... View more
03-09-2015
01:20 PM
|
0
|
3
|
2601
|
|
POST
|
A python script runs one line at a time. Once the Fill tool call has completed normally, it moves onto the next line, where for you it would call the Flow Accumulation tool. Please let me know what I'm missing. Are you somehow running this independent of python?
... View more
03-09-2015
12:54 PM
|
0
|
1
|
2214
|
|
POST
|
These automatic fields are one of the benefits of geodatabase feature classes. I don't believe you can turn them off.
... View more
03-09-2015
08:13 AM
|
1
|
1
|
1166
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-30-2013 02:22 PM | |
| 1 | 04-12-2011 11:19 AM | |
| 1 | 09-17-2021 09:43 AM | |
| 1 | 04-04-2012 12:05 PM | |
| 2 | 07-16-2020 11:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-15-2023
12:11 AM
|