1

Is it possible to write a python script using arcpy that is for a tool not included in the current desktop license level?

For example, write something using the Identity Tool when you only have a standard license?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Craig
  • 4,570
  • 7
  • 40
  • 71
  • 1
    Do you just want to write it, or be able to test it? – Vince May 05 '15 at 16:54
  • well I can write it, but I want to know if it will work. I have an advanced license with several extensions, but many of my coworkers only have basic or standard and need access occasionally to tools outside of their license level, so I'm trying to find a solution, since upgrading them isn't an option. – Craig May 05 '15 at 16:56

3 Answers3

6

You can't 'use' the tool if your license doesn't include it. But yes, in some cases, you can definitely create similar/equivalent tools using Python and arcpy. I've done a few over the years.

For a lot of cases, cursors and geometry methods will do a lot of the heavy lifting. Take Buffer as an example, a combination of SearchCursor and InsertCursor paired with the geometry buffer method will take you most of the way.

DWynne
  • 2,394
  • 10
  • 21
2

Seconding @DWynne, you can't use a tool if your license does not allow access to it. You might consider moving at least partly to an open source based solution for the tools you do not have access to. Have a look at Migrating from ArcGIS to gdal for a list of alternatives to some of ArcGIS tools.

user1186
  • 111
  • 2
  • 10
  • 29
1

There are many tools that require an Advanced level license that can have very effective workarounds written using a Basic or Standard level license. For example, the Frequency tool can be replaced by Summary Statistics with a case field.

However, there are also likely to be many that cannot.

In the example, you give it is very easy to replace the Identity tool with Union followed by Select to choose just those features that have the ID from the in_features.

PolyGeo
  • 65,136
  • 29
  • 109
  • 338