laptop and a wrench

Bug

The Make Feature Layer tool creates valid layers from point geometries in the Python window in ArcMap, but the tool creates an empty output if the same syntax is used in a Python IDE outside of ArcMap.

Last Published: February 17, 2017 ArcGIS for Desktop
Bug ID Number BUG-000095613
SubmittedApril 7, 2016
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version foundN/A
Operating SystemN/A
StatusKnown Limit

Additional Information

Instead of putting ptG into MakeFeatureLayer, first persist it to a feature class even in_memory\. (using arcpy.CopyFeatures) then operation will be consistent.

Steps to Reproduce

Bug ID: BUG-000095613

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options