Bug
| Bug ID Number | BUG-000162789 |
|---|---|
| Submitted | November 8, 2023 |
| Last Modified | February 13, 2024 |
| Applies to | ArcGIS GIS Server |
| Version found | 11.0 |
| Operating System | Windows OS |
| Operating System Version | 11.0 64 bit |
| Status | Under Consideration |
The float field can be cast to a double field and used as a summary field in the Summarize Within tool using pyspark.sql.functions import col layer = spark.read.format("webgis").load("") layer = layer.withColumn("doubleField",col("floatField").cast('double')) sum_fields = [{"statisticType": "Max", "onStatisticField": "doubleField"},{"statisticType": "Min", "onStatisticField": "doubleField"}] sum_layer = geoanalytics.summarize_within(summarized_layer=layer, bin_type="Square", bin_size=10000, bin_size_unit="Meters", standard_summary_fields=sum_fields) sum_layer["output"].show() sum_layer["output"].printSchema().
Bug ID: BUG-000162789
Software:
Get help from ArcGIS experts
Download the Esri Support App