Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
69 views

Keeping curves intact while modifying geometry in an UpdateCursor

I am trying to modify some lines in ArcGIS Pro, shifting the Start vertex to coordinates in a pair of fields in the layer attributes. My arcpy script works... almost. import arcpy aprx = arcpy.mp....
Midavalo's user avatar
  • 29.9k
4 votes
1 answer
414 views

Converting multipart polygon geometry with true curves to single parts loses true curves using ArcPy with ArcGIS Pro

I ran some test code below which creates four feature classes in a test geodatabase using ArcPy geometries in ArcGIS Pro 2.9.2: MultiPartPolyGeom has one multipart polygon with two parts (one a 3-...
PolyGeo's user avatar
  • 65.4k
1 vote
1 answer
700 views

Select rows using Python? (without creating a new field or table)

ArcMap 10.7.1 — Oracle 18c SDE.ST_GEOMETRY — Polyline FC Occasionally, we come across scenarios where we want to select rows in a FC in the attribute table, but there isn't a way to run the query ...
User1974's user avatar
  • 1,272
2 votes
2 answers
679 views

Determining if polyline has true curve using ArcPy with ArcMap

I'm using ArcPy with ArcMap 10.7.1. I want to densify SDE.ST_GEOMETRY polylines if (and only if) the polylines have true curves. If I were using ArcPy with the latest version of ArcGIS Pro (instead of ...
User1974's user avatar
  • 1,272
3 votes
1 answer
276 views

Editing vertex without removing true curves using ArcPy

ArcMap 10.7.1 — Oracle 18c SDE.ST_GEOMETRY I have a polyline FC that has true curves. And I have an ArcPy script that updates the M-values of the vertices in the lines: import arcpy connection = &...
User1974's user avatar
  • 1,272
2 votes
1 answer
223 views

Removing sharp curves using ArcPy

I have been trying for some time to find a way to eliminate the exaggerated curves in a contour curve that I usually obtain from line 0. The idea is to obtain a polyline that is more or less faithful ...
pyGisServer's user avatar
9 votes
2 answers
2k views

Generating true curve elliptical polygons in file geodatabase using ArcPy?

As background, this question arose from trying to answer a question on How to generate overlapping polygons from lines output from Table To Ellipse tool? Using the ArcMap 10.1 GUI it is very easy to ...
PolyGeo's user avatar
  • 65.4k