is it possible to create Polygon Feature class from Lines through python code?
Dear FC,
I have created a new python addin containg 3 buttons.first my script runs to convert lines ,Construct polygon tool and then spatial join script.
Can you just tell me where Construct polygon tool is located in arcgis folder??so that i can run that tool in button 1 script.
Maybe not the best ArcGIS answer, but if you have no other option you should look at the QGIS Polygonize tool, which can be found in the Processing Toolbox - won't work with Esri Feature Classes of course, but it's free .
To recreate their functionality? I have none (that would be simple in any event)
Dear Dan Patters,
construct polygon using advanced editing tool or
Polygon Feature class from Lines
Thanks fcbassongis . Sibghat, if you are looking to do this in python... ie in pure python... I would recommend the suggestions in your originating thread
sorry for the broken link.Please see below:
How To: Access the Polygon Feature Class From Lines command in ArcGIS 10
Hi Dan, the question spawns from this one: https://community.esri.com/thread/195360-polyline-to-polygon-comparison-tool-and-own-code
Do you mean feature-to-polygon (your link isn't working)? This would require an advanced license. If you are looking to recreate that functionality from scratch there are not posted solutions that emulate it for all cases given the rule set to construct polygons from lower geometries in all cases.
Do you have a particular use case that you want to perform that is easier like a convex hull? Perhaps you need to provide an example of what you need to do.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.