Skip to main content
Returns an Array of layers that can be passed to ST_ReverseGeocode. You can change the geocodes table or view used by setting spark.sedona.reverse.geocode.table in the spark config.
the geometry must use EPSG:4326. If the SRID is set to a value other than 4326, the function will throw an exception. If the SRID is not set, the function will assume the geometry is in EPSG:4326.

Signatures

ST_GetReverseGeocodingLayers()

Example

SELECT ST_GetReverseGeocodingLayers()
[place, address, divisions-locality, divisions-country, divisions-dependency, divisions-localadmin, divisions-macrohood, divisions-county, divisions-microhood, divisions-neighborhood, divisions-region]