Skip navigation
All People > Dan_Patterson > Py... blog > 2019 > August
2019

 Free basic functionality.  

 

Once again, functionality that is normally restricted to the Standard or Advanced ArcGIS Pro license. 

 

 

Previously

 - Feature to Point 

 - Feature Extent to Poly Features

 - Free Tools : Frequency and Statistics

 - Free Tools : Convex Hulls

 

Help topics

 - Feature Envelope to Polygon

 - Frequency

 -  Convex hull in Minimum bounding geometry

 - Feature to Point

 - Polygons to line

 

Implementation

The implementation here is a combination of a couple of things. 

  • conversion of Polygons to Polylines
  • poly* features to segments

It doesn't do the overlap thing... you will have to pay the big $$$ for that (for now).

 

Output examples

I tossed in a bounding container so you could see the points. 

  • Specify the input featureclass (polygon, polyline or multipoint),
  • the output featureclass,
  • select feature to point from the tool selection and

--------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

 

 

First... To the left.

Not too exciting, but it is there.

 

Second... To the right.

Pretty.

 

 

 

 

WARNING

I have code that checks the validity of the file paths.  If you input or output paths contain spaces or other flotsam, then the tool will not produce any results.  Why?  Too many questions where file paths are the problem.  I won't 'enable' the current practice

 

Download

You can copy the contents of the folder on my GitHub pages.  No fancy install, just create a folder, throw the stuff in, load the toolbox and give it a try.

 

Got any geometry related or analysis tools you need implemented? let me know

 

 

 

Free_Tools

 Free basic functionality.  

 

Once again, functionality that is normally restricted to the Standard or Advanced ArcGIS Pro license. 

 

 

Previously

 - Feature to Point 

 - Feature Extent to Poly Features

 - Free Tools : Frequency and Statistics

 - Free Tools : Convex Hulls

 

Help topics

 - Feature Envelope to Polygon

 - Frequency

 -  Convex hull in Minimum bounding geometry

 -  Feature to Point

 -  Polygons to line

 -  Circle in Minimum bounding geometry

 

Implementation

The implementation here is largely based on Welzl's algorithm. 

Another container.  I did the rectangular ones, now the circle, then the ellipse.

Still, numpy, python and arcpy all play nice.  Check out the code.  All seven tools are implemented in one toolbox and controlled by one script.

 

Output examples

A circle is implemented as an ngon with 180 sides (2 degree increments) as polygons.  

I could have put in a bunch of options in the tool to select the density and output type, but students (and others) wouldn't learn to 'tweak' code.  You can always do your own toolbox or use esri's

--------------------------------------------------------------------------------------------------------------------------------------------------------

 

WARNING

I have code that checks the validity of the file paths.  If you input or output paths contain spaces or other flotsam, then the tool will not produce any results.  Why?  Too many questions where file paths are the problem.  I won't 'enable' the current practice

 

Download

You can copy the contents of the folder on my GitHub pages.  No fancy install, just create a folder, throw the stuff in, load the toolbox and give it a try.

 

Got any geometry related or analysis tools you need implemented? let me know

 

Free_Tools