Upgrade Point To Line tool

11-10-2016 02:26 AM
Status: In Product Plan
Labels (1)
MVP Notable Contributor

The geo-processing tool Point To Line is a python script tool found in the Data Management > Features toolset. As it is a script one is able to look at the source code. I notice that the code was developed using the older slower cursors. This less efficient code still persists in 10.4.1.


So my idea is that ESRI upgrade the code by replacing the current older slower forms of cursors with the cursors from the da module.  Even ESRI say you should be using those as they are faster and more efficient! The upgrade should be for future versions of ArcMap (10.5 onwards) so as to not break the tool for users stuck with older versions of ArcMap.


(Migrated from a separate idea.)

It looks like there are OOTB Esri geoprocessing tools in ArcGIS Pro that use the old/slow cursors.

Example: Points To Line GP tool

If we look at the code for those tools, we can see that they are outdated. They use the the old/slow cursors instead of the new/fast cursors in the DA module.

Could Esri update all GP tools so that they use the new DA cursors/module?

Status changed to: In Product Plan