Select to view content in your preferred language

How to automate converting feature dataset polygons to lines using python

3825
13
Jump to solution
12-20-2015 11:42 AM
CarolLiu
Deactivated User

I have a feature dataset, polygons,containing about 50 feature class. I need to convert them to lines. I was able to do it using PolygonToLine_management to perform the task for individual feature class in ArcMap 10.0 python window. Does "PolygonToLine_management" only work for individual feature class, or can work for the dataset at once? I tried to use for-in loop, it did not work.

Any advice appreciated!

0 Kudos
13 Replies
RebeccaStrauch__GISP
MVP Emeritus

Hi Carol,

I would agree that Neil's answer is the best (not that it matters what I think.    )

We all had to take baby steps when learning the new Geonet forums, but once you get the hang of it, it's very valuable and helpful.  Check out some of the help docs on

GeoNet Help

I wrote up a "cheat sheet"  of tips for users in my State, but fairly generice.....but probably needs updating.  Feel free to check it out.

Tips for Getting Started on GeoNet (general and Alaska User Group specific)

Enjoy!

0 Kudos
CarolLiu
Deactivated User

Thanks. Happy Holidays

0 Kudos
DanPatterson_Retired
MVP Emeritus

not really, but there are some useful links here ... https://community.esri.com/welcome

and here... GeoNet Help

and this is the GeoNet Community structure to help in directing your posts... GeoNet Community Structure

have fun...

0 Kudos
CarolLiu
Deactivated User

Will do! Happy Holidays

0 Kudos