laptop and a wrench

Bug

Multiple arcgis.geometry.Geometry methods return 'None' for valid geometries.

Last Published: March 12, 2019 ArcGIS Pro
Bug ID Number BUG-000120522
SubmittedMarch 4, 2019
Last ModifiedJune 29, 2025
Applies toArcGIS Pro
Version found2.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed1.6.1
StatusFixed

Workaround

There are two possible workarounds for this issue:
  • Use the corresponding operations from the arcgis.geometry.filters module.
Example:import arcgisfrom arcgis import GISfrom arcgis.geometry import filtersagol = GIS("https://www.arcgis.com", "User", "Pass")# Search for a Feature Layerdef search_layer(layer_name):    search_results = agol.content.search(layer_name, item_type='Feature Layer')    item = search_results[0]    geofeatures = item.layers[0]    return geofeaturessearch_pnt = search_layer('worldEQ')search_poly = search_layer('poly_elev')query_pnt = search_pnt.query(where='OBJECTID=63')query_poly = search_pnt.query(where='OBJECTID=2')point_feat = query_pnt.features[0].geometrypoly_feat = query_poly.features[0].geometryprint(search_poly.query(where='1=1', return_ids_only=True, geometry_filter=filters.intersects(point_feat)))print(search_poly.query(where='1=1', return_ids_only=True, geometry_filter=filters.within(point_feat)))print(search_pnt.query(where='1=1', return_ids_only=True, geometry_filter=filters.contains(poly_feat)))
 
  • Make requests to the ArcGIS REST API directly.

Steps to Reproduce

Bug ID: BUG-000120522

Software:

  • ArcGIS Pro

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