PySpark referenceClassesGeographygetSridOn this pagegetSrid (Geography) Returns the SRID of Geography. Syntax getSrid() Returns int Examples Pythonfrom pyspark.databricks.sql import functions as dbfdf = spark.createDataFrame([ {'geogwkt': '''POINT(17 7)'''} ])g = df.select(dbf.st_geogfromwkt(df.geogwkt).alias("geog")).head().geogg.getSrid()# 4326