Select to view content in your preferred language

Is it possible to read the curve parameters of street network nodes with python?

1167
3
08-12-2016 02:02 AM
LR
by
Frequent Contributor

Basically the green dots' distance and rotation.

bez.png

0 Kudos
3 Replies
JoshuaBixby
MVP Esteemed Contributor

Read them?  As in plain text, or are you looking to do some processing of them so you want to access them?  Also, can you upload a feature class with a couple of example streets?

I believe the answer is yes, or yes but....; however, I want to be clear what exactly you are after before I say yes or no.

0 Kudos
LR
by
Frequent Contributor

I'd need to read and write them like you can with getVertices / setVertices. Basically like: vertex[xpos, ypos, zpos, curvehandleangle, curvehandledistance]

Haven't found anything in the doc about values beyond xyz, unfortunately. Sample data isn't really necessary, just make a two-dot line with the polygonal street tool.

0 Kudos
CherylLau
Esri Regular Contributor

No, unfortunately, accessing information about the curve handles is not possible in Python.  There's only the ability to set segments to be curved or straight.

0 Kudos