Rasterflow, Earth Intelligence & inference engine now in public preview Learn More

Comparison

Wherobots vs. Apache Sedona: three paths to spatial at enterprise scale

Most enterprise spatial work starts on Apache Sedona. As workloads grow into joins at scale, raster processing, nearest-neighbor queries, and production SLAs, teams are best served by the fully managed and most capable Physical AI compute cloud, Wherobots, or can also use a drop-in enterprise runtime for Apache Sedona.

Wherobots Cloud

The AI context engine for physical world data, fully managed, and most capable.

Apache Sedona

The open-source distributed spatial engine where most teams start.

WherobotsDB BYOS

A drop-in replacement for Apache Sedona with enterprise support.

Feature comparison

Wherobots Cloud, WherobotsDB BYOS, and Apache Sedona side by side

Capabilities grouped by area, from core spatial SQL to raster, Earth intelligence and perception, and spatial AI tools.

Wherobots Cloud, WherobotsDB BYOS, and Apache Sedona side by side
Capability Option A Wherobots Cloud Fully managed spatial compute, RasterFlow, Havasu catalog, and Spatial AI tools. Option B WherobotsDB BYOS Bring Your Own Spark: a drop-in runtime for existing Sedona clusters. Option C Apache Sedona Open source, Apache 2.0. Where most teams start.
Fit and economics
Best for Maximum performance, Earth intelligence and perception, managed infrastructure and catalog, and spatial AI developer tools Enterprise workloads that must stay on self-managed Spark Teams starting with spatial analytics, proofs of concept, Spark experts comfortable tuning by hand, and less complex workloads not requiring enterprise support
Cost model Pay as you go WherobotsDB license plus your compute Free (Apache 2.0)
Infrastructure Included: Fully managed by Wherobots Customer managed (drop-in runtime) Customer managed
Enterprise support Included: Dedicated SLAs Included: Dedicated SLAs Not included: Community only
Spatial compute capabilities
Spatial SQL functions Vector and raster functions in the function reference below Included: 353, including 15 exclusive to Wherobots Included: All of Apache Sedona plus Wherobots-exclusive functions Included: 338, the full Apache Sedona set
Query optimization Join strategy, skew prevention, spatial acceleration Included: Automatic, plus purpose-built engine optimizations Included: Automatic join selection and dynamic optimization Not included: Manual tuning
Spatial joins at scale SpatialBench SF-1000, 12 query patterns Included: Completes all 12 Included: Completes all 12 Partial: Completes 6 of 12 (Q1 to Q5, Q7)
Approximate KNN Find the N nearest features to each record Included: Available, with optimized runtime Included: Available Not included: Exact comparison only, impractical at enterprise volumes
Apache Sedona API compatibility Included: 100% compatible Included: 100% compatible Included: Native
Raster and out-of-database processing
Out-of-database raster Load pixels on demand from object storage or STAC Included: Full support with managed runtime optimizations Included: On-demand loading, caching, Cloud Optimized GeoTIFF Not included: Loads full files into executor memory
Raster processing and map algebra Zonal statistics, raster algebra, raster to vector, multi-band Included: Full suite plus distributed raster tile generation Included: Full suite with spatial filter push-down Included: In-memory raster processing
Earth intelligence and perception with RasterFlow Wherobots Cloud only
Mosaics from satellite and aerial imagery Sentinel-2, NAIP, and custom sources over an area of interest Included: Public Preview Not included: Cloud only Not included
Computer vision inference at planetary scale Semantic segmentation, regression, patch-based processing Included: Public Preview Not included: Cloud only Not included
Built-in models SAM3, Fields of the World, Tile2Net, Meta canopy height, ChesapeakeRSC Included: Five built-in models plus bring your own Not included: Cloud only Not included
Bring your own PyTorch model Included Not included: Cloud only Not included
Vectorize model outputs Turn raster predictions into geometries for spatial analysis Included Not included: Cloud only Not included
Analytics and location intelligence
Geostatistics DBSCAN clustering, Getis-Ord Gi* hot spots, outlier detection Included: Built in, distributed, and tuned for scale Included: Available Included: Available
Location intelligence Reverse geocoding with Overture Maps, isochrones, map matching Included: Included, plus PMTiles generation Partial: Optional add-on Not included
Spatial AI developer tools Wherobots Cloud only
Spatial AI Coding Assistant for VS Code Build notebooks, submit jobs, and manage workspaces from VS Code Included: All editions Not included: Cloud only Not included
Wherobots MCP Server Natural-language data discovery and SQL generation in Claude, Cursor, and VS Code Copilot Included: Available Not included: Cloud only Not included
Wherobots CLI Automate spatial workflows from the command line Included Not included: Cloud only Not included
Performance
Performance vs Apache Sedona Measured on identical infrastructure Included: About 3x faster on the Rust-native, Arrow-columnar runtime Included: About 2x faster Baseline
Price-performance Included: 20 to 30% better price-performance Your infrastructure costs Baseline

Benchmark

SpatialBench results: spatial joins at scale

Both WherobotsDB options complete all 12 SpatialBench query patterns at scale factor 1000. Apache Sedona completes six. The six it does not complete are zone statistics within a search radius (Q6), radius joins (Q8), polygon overlap detection (Q9), zone statistics through a spatial join (Q10), cross-zone trip counting (Q11), and KNN joins (Q12).

SpatialBench results: spatial joins at scale
Capability Wherobots Cloud WherobotsDB BYOS Apache Sedona
SpatialBench SF-1000: 520 GB, 6 billion records, 12 query patterns
Q1 to Q5, Q7 Filtering, aggregation, convex hull, and basic joins Included: Pass Included: Pass Included: Pass
Q6 Zone statistics aggregated within a search radius Included: Pass Included: Pass Not included: Does not complete
Q8 Radius join: count nearby features per building Included: Pass Included: Pass Not included: Does not complete
Q9 Polygon overlap detection and IoU Included: Pass Included: Pass Not included: Does not complete
Q10 Zone statistics through a spatial join Included: Pass Included: Pass Not included: Does not complete
Q11 Cross-zone trip counting, two spatial joins per record Included: Pass Included: Pass Not included: Does not complete
Q12 KNN join: five nearest neighbors per record Included: Pass Included: Pass Not included: Does not complete

SpatialBench is the open benchmark for spatial query engines from the Apache Sedona project. Read about WherobotsDB on SpatialBench.

How to choose

Your Sedona code comes with you

Wherobots Cloud is the fastest way to run spatial in production, with WherobotsDB, RasterFlow, and the Havasu Catalog in one managed platform. Apache Sedona code runs on it without changes, and teams that must stay on their own Spark clusters run the same code on WherobotsDB BYOS.

Raster and Earth intelligence

Out-of-database raster comes with both WherobotsDB options. RasterFlow, Earth intelligence and perception as a service that turns imagery into physical-world features, runs in Wherobots Cloud.

Spatial AI developer tools

The Spatial AI Coding Assistant, MCP Server, and CLI come with Wherobots Cloud and put spatial analysis within reach of the whole team.

Infrastructure control and data residency

If compute must stay on your own infrastructure for compliance, procurement, or architecture reasons, WherobotsDB BYOS adds enterprise spatial without a managed platform.

Function reference

Every spatial SQL function, by platform

Search 353 Apache Sedona and WherobotsDB functions across 32 categories, filter by vector or raster, and see where each one runs. Need a function that is not listed? Wherobots adds custom ST_ and RS_ functions for customers on request.

Function Category Apache Sedona WherobotsDB BYOS Wherobots Cloud What it does
ExpandAddress Address Functions Available Available Available libpostal address expansion
ParseAddress Address Functions Available Available Available libpostal address parsing
ST_Affine Affine Transformations Available Available Available general affine transformation
ST_Rotate Affine Transformations Available Available Available rotate geometry; Wherobots supports custom origin
ST_RotateX Affine Transformations Available Available Available rotate around X axis
ST_RotateY Affine Transformations Available Available Available rotate around Y axis
ST_Scale Affine Transformations Available Available Available scale geometry
ST_ScaleGeom Affine Transformations Available Available Available scale using factor geometry
ST_Translate Affine Transformations Available Available Available translate geometry by offsets
ST_Analyze_Aggr Aggregate Functions Not available Not available Available aggregate geometry statistics
ST_Collect_Agg Aggregate Functions Available Available Available collects without dissolving
ST_Envelope_Agg Aggregate Functions Available Available Available return aggregate bounding envelope
ST_Intersection_Agg Aggregate Functions Available Available Available aggregate polygon intersection
ST_Union_Agg Aggregate Functions Available Available Available compute aggregate union
RS_Union_Aggr Aggregates Available Available Available stacks bands from multiple rasters
RS_Band Band Accessors Available Available Available returns a new raster with one or more bands of an existing raster
RS_BandIsNoData Band Accessors Available Available Available returns true if the band is filled with only nodata values
RS_BandNoDataValue Band Accessors Available Available Available returns the no data value of the given band of the given raster
RS_BandPixelType Band Accessors Available Available Available returns the pixel data type of a band as a string
RS_Count Band Accessors Available Available Available returns the number of pixels in a given band
RS_SummaryStats Band Accessors Available Available Available returns one summary statistic for a band
RS_SummaryStatsAll Band Accessors Available Available Available returns count, sum, mean, standard deviation, min, and max for a band
RS_ZonalStats Band Accessors Available Available Available returns one statistic computed over a zone geometry
RS_ZonalStatsAll Band Accessors Available Available Available returns a struct of statistics computed over a zone geometry
ST_BoundingDiagonal Bounding Box Functions Available Available Available diagonal linestring of bbox
ST_Envelope Bounding Box Functions Available Available Available return 2D bounding box
ST_Expand Bounding Box Functions Available Available Available expand bounding box
ST_MMax Bounding Box Functions Available Available Available max M coordinate
ST_MMin Bounding Box Functions Available Available Available min M coordinate
ST_XMax Bounding Box Functions Available Available Available return max X coordinate
ST_XMin Bounding Box Functions Available Available Available return min X coordinate
ST_YMax Bounding Box Functions Available Available Available return max Y coordinate
ST_YMin Bounding Box Functions Available Available Available return min Y coordinate
ST_ZMax Bounding Box Functions Available Available Available return max Z coordinate
ST_ZMin Bounding Box Functions Available Available Available return min Z coordinate
ST_DBSCAN Clustering Functions Available Available Available density-based spatial clustering
ST_LocalOutlierFactor Clustering Functions Available Available Available LOF anomaly detection
ST_ContainsCC Connected Components (CC) Predicates Not available Available Available spatial connected components via Contains
ST_CoveredByCC Connected Components (CC) Predicates Not available Available Available spatial connected components via CoveredBy
ST_CoversCC Connected Components (CC) Predicates Not available Available Available spatial connected components via Covers
ST_CrossesCC Connected Components (CC) Predicates Not available Available Available spatial connected components via Crosses
ST_DWithinCC Connected Components (CC) Predicates Not available Available Available spatial connected components via DWithin
ST_IntersectsCC Connected Components (CC) Predicates Not available Available Available spatial connected components via Intersects
ST_OverlapsCC Connected Components (CC) Predicates Not available Available Available spatial connected components via Overlaps
ST_TouchesCC Connected Components (CC) Predicates Not available Available Available spatial connected components via Touches
ST_WithinCC Connected Components (CC) Predicates Not available Available Available spatial connected components via Within
ST_AsEWKT Geography Type Functions Available Available Available EWKT output for geography type
ST_Envelope Geography Type Functions Available Available Available bounding box for geography type
ST_GeogFromEWKB Geography Type Functions Available Available Available geography from EWKB
ST_GeogFromEWKT Geography Type Functions Available Available Available geography from EWKT
ST_GeogFromGeoHash Geography Type Functions Available Available Available geography from geohash
ST_GeogFromWKB Geography Type Functions Available Available Available construct geography from WKB
ST_GeogFromWKT Geography Type Functions Available Available Available construct geography from WKT
ST_GeogToGeometry Geography Type Functions Available Available Available convert geography to geometry
ST_GeomToGeography Geography Type Functions Available Available Available convert geometry to geography
GeometryType Geometry Accessors Available Available Available returns type string e.g. ‘LINESTRING’
ST_Boundary Geometry Accessors Available Available Available return combinatorial boundary
ST_CoordDim Geometry Accessors Available Available Available alias of ST_NDims
ST_CrossesDateLine Geometry Accessors Available Available Available checks International Date Line crossing
ST_Dimension Geometry Accessors Available Available Available return topological dimension (0=point, 1=line, 2=polygon)
ST_Dump Geometry Accessors Available Available Available expand multi-geometries into arrays
ST_DumpPoints Geometry Accessors Available Available Available returns array of constituent points
ST_EndPoint Geometry Accessors Available Available Available return last point of linestring
ST_ExteriorRing Geometry Accessors Available Available Available return exterior ring of polygon
ST_GeometryN Geometry Accessors Available Available Available returns the Nth geometry in a collection
ST_GeometryType Geometry Accessors Available Available Available return geometry type as string
ST_HasM Geometry Accessors Available Available Available checks for M coordinate
ST_HasZ Geometry Accessors Available Available Available checks for Z coordinate
ST_InteriorRingN Geometry Accessors Available Available Available return Nth interior ring of polygon
ST_IsClosed Geometry Accessors Available Available Available checks if linestring is closed
ST_IsCollection Geometry Accessors Available Available Available checks if geometry is collection type
ST_IsEmpty Geometry Accessors Available Available Available test if geometry is empty
ST_IsPolygonCCW Geometry Accessors Available Available Available checks counter-clockwise winding
ST_IsPolygonCW Geometry Accessors Available Available Available checks clockwise winding
ST_IsRing Geometry Accessors Available Available Available checks if closed and simple
ST_IsSimple Geometry Accessors Available Available Available checks for self-intersections
ST_M Geometry Accessors Available Available Available return M coordinate of a point
ST_NDims Geometry Accessors Available Available Available return coordinate dimension
ST_NPoints Geometry Accessors Available Available Available return number of points in geometry
ST_NRings Geometry Accessors Available Available Available return total ring count (exterior + interior)
ST_NumGeometries Geometry Accessors Available Available Available return number of geometries in collection
ST_NumInteriorRing Geometry Accessors Available Available Available alias of ST_NumInteriorRings
ST_NumInteriorRings Geometry Accessors Available Available Available return interior ring count
ST_NumPoints Geometry Accessors Available Available Available return number of points
ST_PointN Geometry Accessors Available Available Available return Nth point from linestring
ST_Points Geometry Accessors Available Available Available returns MultiPoint of all coordinates
ST_StartPoint Geometry Accessors Available Available Available return first point of linestring
ST_X Geometry Accessors Available Available Available return X coordinate of point
ST_Y Geometry Accessors Available Available Available return Y coordinate of point
ST_Z Geometry Accessors Available Available Available return Z coordinate of point
ST_Zmflag Geometry Accessors Available Available Available returns code for Z/M dimensions
ST_GeomCollFromText Geometry Constructors Available Available Available constructs GeometryCollection from WKT
ST_GeomFromEWKB Geometry Constructors Available Available Available support EWKB import
ST_GeomFromEWKT Geometry Constructors Available Available Available support EWKT import
ST_GeomFromGML Geometry Constructors Available Available Available GML format support
ST_GeomFromGeoHash Geometry Constructors Available Available Available create geometry from geohash
ST_GeomFromGeoJSON Geometry Constructors Available Available Available support GeoJSON import
ST_GeomFromKML Geometry Constructors Available Available Available KML format support
ST_GeomFromMySQL Geometry Constructors Available Available Available MySQL binary format
ST_GeomFromText Geometry Constructors Available Available Available construct geometry from WKT
ST_GeomFromWKB Geometry Constructors Available Available Available support WKB import; Wherobots also supports EWKB
ST_GeomFromWKT Geometry Constructors Available Available Available construct geometry from WKT
ST_GeometryFromText Geometry Constructors Available Available Available Alias of ST_GeomFromWKT in Wherobots
ST_LineFromText Geometry Constructors Available Available Available constructs Line from WKT
ST_LineFromWKB Geometry Constructors Available Available Available constructs LineString from WKB
ST_LineStringFromText Geometry Constructors Available Available Available delimited text input
ST_LinestringFromWKB Geometry Constructors Available Available Available alias of ST_LineFromWKB
ST_MLineFromText Geometry Constructors Available Available Available MultiLineString from WKT
ST_MPointFromText Geometry Constructors Available Available Available MultiPoint from WKT
ST_MPolyFromText Geometry Constructors Available Available Available MultiPolygon from WKT
ST_MakeEnvelope Geometry Constructors Available Available Available creates polygon from bbox coords
ST_MakePoint Geometry Constructors Available Available Available supports 2D/3DZ/4DZM points
ST_MakePointM Geometry Constructors Available Available Available creates point with M coordinate
ST_Point Geometry Constructors Available Available Available create point from X,Y
ST_PointFromGeoHash Geometry Constructors Available Available Available return center point of geohash cell
ST_PointFromText Geometry Constructors Available Available Available delimited text input
ST_PointFromWKB Geometry Constructors Available Available Available Point from WKB/EWKB
ST_PointM Geometry Constructors Available Available Available Point with M coordinate
ST_PointZ Geometry Constructors Available Available Available Point with Z coordinate
ST_PointZM Geometry Constructors Available Available Available Point with Z and M
ST_PolygonFromEnvelope Geometry Constructors Available Available Available polygon from bbox coords
ST_PolygonFromText Geometry Constructors Available Available Available delimited text input
ST_AddPoint Geometry Editors Available Available Available add point to linestring at index
ST_Collect Geometry Editors Available Available Available collects into multi-geometry
ST_CollectionExtract Geometry Editors Available Available Available extracts homogeneous sub-geometry
ST_FlipCoordinates Geometry Editors Available Available Available swap X and Y coordinates
ST_Force2D Geometry Editors Available Available Available force to 2D representation
ST_Force3D Geometry Editors Available Available Available forces 3D with Z
ST_Force3DM Geometry Editors Available Available Available forces XYM mode
ST_Force3DZ Geometry Editors Available Available Available forces XYZ mode
ST_Force4D Geometry Editors Available Available Available forces XYZM mode
ST_ForceCollection Geometry Editors Available Available Available converts to GeometryCollection
ST_ForcePolygonCCW Geometry Editors Available Available Available forces CCW winding
ST_ForcePolygonCW Geometry Editors Available Available Available forces CW winding
ST_ForceRHR Geometry Editors Available Available Available Right-Hand-Rule winding
ST_Force_2D Geometry Editors Available Available Available alias of ST_Force2D
ST_LineFromMultiPoint Geometry Editors Available Available Available creates LineString from MultiPoint
ST_LineMerge Geometry Editors Available Available Available merges MultiLineString into LineString
ST_LineSegments Geometry Editors Available Available Available splits line into 2-point segments
ST_MakeLine Geometry Editors Available Available Available create linestring from points
ST_MakePolygon Geometry Editors Available Available Available create polygon from shell + optional holes
ST_Multi Geometry Editors Available Available Available convert to multi-geometry equivalent
ST_Normalize Geometry Editors Available Available Available returns canonical form
ST_Polygon Geometry Editors Available Available Available polygon from linestring + SRID
ST_Project Geometry Editors Available Available Available projects point by distance/azimuth
ST_RemovePoint Geometry Editors Available Available Available remove Nth point from linestring
ST_RemoveRepeatedPoints Geometry Editors Available Available Available eliminates consecutive duplicates
ST_Reverse Geometry Editors Available Available Available reverse vertex order
ST_Segmentize Geometry Editors Available Available Available densifies by max segment length
ST_SetPoint Geometry Editors Available Available Available replace Nth point of linestring
ST_ShiftLongitude Geometry Editors Available Available Available normalizes across Date Line
ST_AsBinary Geometry Output / Export Available Available Available output WKB
ST_AsEWKB Geometry Output / Export Available Available Available output EWKB (includes SRID)
ST_AsEWKT Geometry Output / Export Available Available Available output EWKT
ST_AsGML Geometry Output / Export Available Available Available GML output format
ST_AsGeoJSON Geometry Output / Export Available Available Available output GeoJSON string
ST_AsHEXEWKB Geometry Output / Export Available Available Available hex-encoded EWKB output
ST_AsKML Geometry Output / Export Available Available Available KML output format
ST_AsText Geometry Output / Export Available Available Available output WKT
ST_GeoHash Geometry Output / Export Available Available Available return geohash string
ST_ApproximateMedialAxis Geometry Processing Available Available Available polygon skeleton/centerline
ST_Buffer Geometry Processing Available Available Available compute buffer geometry; Wherobots also supports spheroidal
ST_BuildArea Geometry Processing Available Available Available areal geometry from linework
ST_Centroid Geometry Processing Available Available Available return centroid point
ST_ConcaveHull Geometry Processing Available Available Available compute concave hull with configurable ratio
ST_ConvexHull Geometry Processing Available Available Available compute convex hull
ST_DelaunayTriangles Geometry Processing Available Available Available Delaunay triangulation
ST_GeneratePoints Geometry Processing Available Available Available random points within polygon
ST_GeometricMedian Geometry Processing Available Available Available Weiszfeld geometric median
ST_LabelPoint Geometry Processing Available Available Available optimal label placement point
ST_MaximumInscribedCircle Geometry Processing Available Available Available largest circle inside polygon
ST_MinimumBoundingCircle Geometry Processing Available Available Available smallest enclosing circle
ST_MinimumBoundingRadius Geometry Processing Available Available Available center + radius of min bounding circle
ST_MinimumWidthRectangle Geometry Processing Not available Available Available min-width rotated rectangle
ST_OrientedEnvelope Geometry Processing Available Available Available min-area rotated rectangle
ST_PointOnSurface Geometry Processing Available Available Available guaranteed point on surface
ST_Polygonize Geometry Processing Available Available Available polygons from linework
ST_ReducePrecision Geometry Processing Available Available Available reduce coordinate decimal places
ST_Simplify Geometry Processing Available Available Available use Douglas-Peucker simplification
ST_SimplifyPolygonHull Geometry Processing Available Available Available topology-preserving hull
ST_SimplifyPreserveTopology Geometry Processing Available Available Available topology-safe simplification
ST_SimplifyVW Geometry Processing Available Available Available Visvalingam-Whyatt simplification
ST_Snap Geometry Processing Available Available Available snap vertices to reference geometry
ST_StraightSkeleton Geometry Processing Available Available Available straight skeleton of polygon
ST_TriangulatePolygon Geometry Processing Available Available Available constrained Delaunay triangulation
ST_VoronoiPolygons Geometry Processing Available Available Available Voronoi diagram from vertices
ST_IsValid Geometry Validation Available Available Available test OGC validity; Wherobots supports flag parameter
ST_IsValidDetail Geometry Validation Available Available Available returns struct with reason + location
ST_IsValidReason Geometry Validation Available Available Available returns text reason for invalidity
ST_MakeValid Geometry Validation Available Available Available repairs invalid geometry
ST_AddMeasure Linear Referencing Available Available Available interpolates M values along line
ST_InterpolatePoint Linear Referencing Available Available Available measure value at closest point
ST_IsValidTrajectory Linear Referencing Available Available Available validates trajectory geometry
ST_LineInterpolatePoint Linear Referencing Available Available Available point at fraction of line length
ST_LineLocatePoint Linear Referencing Available Available Available fraction of line at closest point
ST_LineSubstring Linear Referencing Available Available Available extract portion of line by fractions
ST_LocateAlong Linear Referencing Available Available Available locate points by M value
RS_AddBandFromArray Map Algebra Operators Available Available Available adds a band to a raster from an array of doubles
RS_BandAsArray Map Algebra Operators Available Available Available extracts a band from a raster as an array of doubles
RS_MapAlgebra Map Algebra Operators Available Available Available applies a map algebra expression to a raster
ST_3DDistance Measurement Functions Available Available Available 3D Cartesian distance
ST_Angle Measurement Functions Available Available Available angle between vectors
ST_Area Measurement Functions Available Available Available compute area
ST_AreaSpheroid Measurement Functions Available Available Available geodesic area on WGS84 spheroid
ST_Azimuth Measurement Functions Available Available Available return azimuth in radians between two points
ST_ClosestPoint Measurement Functions Available Available Available return closest point on geom1 to geom2
ST_Degrees Measurement Functions Available Available Available radians to degrees conversion
ST_Distance Measurement Functions Available Available Available compute Euclidean distance
ST_DistanceSphere Measurement Functions Available Available Available compute great-circle distance in meters
ST_DistanceSpheroid Measurement Functions Available Available Available compute geodesic distance on WGS84 ellipsoid
ST_FrechetDistance Measurement Functions Available Available Available discrete Frechet distance
ST_HausdorffDistance Measurement Functions Available Available Available Hausdorff distance with optional density
ST_Length Measurement Functions Available Available Available return length/perimeter
ST_Length2D Measurement Functions Available Available Available alias of ST_Length
ST_LengthSpheroid Measurement Functions Available Available Available geodesic length on WGS84
ST_LongestLine Measurement Functions Available Available Available returns line of max distance
ST_MaxDistance Measurement Functions Available Available Available maximum distance between geometries
ST_MinimumClearance Measurement Functions Available Available Available precision tolerance metric
ST_MinimumClearanceLine Measurement Functions Available Available Available line representing min clearance
ST_MinimumWidth Measurement Functions Not available Available Available min distance between parallel enclosing lines
ST_Perimeter Measurement Functions Available Available Available compute polygon perimeter
ST_Perimeter2D Measurement Functions Available Available Available alias of ST_Perimeter
RS_AddBand Operators Available Available Available adds a band from one raster to another at a given index
RS_CRS Operators Available Available Available returns the coordinate reference system of a raster as a string
RS_Clip Operators Available Available Available returns a raster that is clipped by the given geometry
RS_Interpolate Operators Available Available Available IDW interpolation
RS_MetaData Operators Available Available Available returns the metadata of the raster as a struct
RS_NormalizeAll Operators Available Available Available normalizes values in all bands of a raster between a given normalization range
RS_NumBands Operators Available Available Available returns the number of the bands in the raster
RS_ReprojectMatch Operators Available Available Available reprojects a raster to match the georeference, CRS, and extent of a reference raster
RS_Resample Operators Available Available Available resamples a raster to new dimensions, pixel size, or grid
RS_SRID Operators Available Available Available returns the spatial reference system identifier (SRID) of the raster geometry
RS_SetBandNoDataValue Operators Available Available Available sets the no data value for a band
RS_SetCRS Operators Available Available Available sets the coordinate reference system of a raster from a CRS definition string
RS_SetGeoReference Operators Available Available Available sets the georeference information of a raster in one call
RS_SetPixelType Operators Available Available Available returns a modified raster with the desired pixel data type
RS_SetSRID Operators Available Available Available sets the spatial reference system identifier (SRID) of the raster geometry
RS_SetValue Operators Available Available Available returns a raster with one pixel value replaced
RS_SetValues Operators Available Available Available returns a raster with pixel values replaced in a rectangle or geometry
RS_Union Operators Available Available Available returns a multi-band raster combined from two or more rasters
RS_Value Operators Available Available Available returns the value at the given point in the raster
RS_Values Operators Available Available Available returns the values at the given points or grid coordinates in the raster
RS_AsBase64 Output Available Available Available base64 encoded PNG output
RS_AsImage Output Available Available Available HTML image for Jupyter display
RS_AsMatrix Output Available Available Available pretty-printed 2D matrix
ST_Difference Overlay Functions Available Available Available compute point-set difference
ST_ExtentBasedSubDivide Overlay Functions Not available Not available Available subdivide by extent limit
ST_ExtentBasedSubDivideExplode Overlay Functions Not available Not available Available extent-based subdivide as exploded rows
ST_Intersection Overlay Functions Available Available Available compute point-set intersection
ST_Split Overlay Functions Available Available Available split geometry by blade
ST_SubDivide Overlay Functions Available Available Available subdivide by vertex count
ST_SubDivideExplode Overlay Functions Available Available Available subdivide as exploded rows
ST_SymDifference Overlay Functions Available Available Available symmetric difference
ST_UnaryUnion Overlay Functions Available Available Available union of single geometry input
ST_Union Overlay Functions Available Available Available compute point-set union of two geometries
RS_Add Per-Pixel Math (Map Algebra) Available Available Available add two bands
RS_Array Per-Pixel Math (Map Algebra) Available Available Available create filled array
RS_BitwiseAND Per-Pixel Math (Map Algebra) Available Available Available bitwise AND of bands
RS_BitwiseOR Per-Pixel Math (Map Algebra) Available Available Available bitwise OR of bands
RS_CountValue Per-Pixel Math (Map Algebra) Available Available Available count specific pixel value
RS_Divide Per-Pixel Math (Map Algebra) Available Available Available divide two bands
RS_FetchRegion Per-Pixel Math (Map Algebra) Available Available Available extract pixel subregion
RS_GreaterThan Per-Pixel Math (Map Algebra) Available Available Available threshold mask (>)
RS_GreaterThanEqual Per-Pixel Math (Map Algebra) Available Available Available threshold mask (>=)
RS_LessThan Per-Pixel Math (Map Algebra) Available Available Available threshold mask (<)
RS_LessThanEqual Per-Pixel Math (Map Algebra) Available Available Available threshold mask (<=)
RS_LogicalDifference Per-Pixel Math (Map Algebra) Available Available Available returns band1 where bands differ
RS_LogicalOver Per-Pixel Math (Map Algebra) Available Available Available band1 if nonzero, else band2
RS_Mean Per-Pixel Math (Map Algebra) Available Available Available mean pixel value
RS_Mode Per-Pixel Math (Map Algebra) Available Available Available modal pixel value(s)
RS_Modulo Per-Pixel Math (Map Algebra) Available Available Available modulo operation on pixels
RS_Multiply Per-Pixel Math (Map Algebra) Available Available Available multiply two bands
RS_MultiplyFactor Per-Pixel Math (Map Algebra) Available Available Available scale band by factor
RS_Normalize Per-Pixel Math (Map Algebra) Available Available Available normalize to [0,255]
RS_NormalizedDifference Per-Pixel Math (Map Algebra) Available Available Available NDVI/NDBI computation
RS_SquareRoot Per-Pixel Math (Map Algebra) Available Available Available sqrt of band values
RS_Subtract Per-Pixel Math (Map Algebra) Available Available Available subtract two bands
RS_PixelAsCentroid Pixel Functions Available Available Available returns the centroid (point geometry) of the specified pixel's area
RS_PixelAsCentroids Pixel Functions Available Available Available returns the centroid, value, and grid position of every pixel in a band
RS_PixelAsPoint Pixel Functions Available Available Available returns a point geometry of the specified pixel's upper-left corner
RS_PixelAsPoints Pixel Functions Available Available Available returns the upper-left point, value, and grid position of every pixel in a band
RS_PixelAsPolygon Pixel Functions Available Available Available returns a polygon geometry that bounds the specified pixel
RS_PixelAsPolygons Pixel Functions Available Available Available returns the polygon, value, and grid position of every pixel in a band
RS_Contains Predicates Available Available Available returns true if the left raster or geometry contains the right one
RS_Intersects Predicates Available Available Available returns true if the left raster or geometry intersects the right one
RS_Within Predicates Available Available Available returns true if the left raster or geometry is within the right one
ST_Contains Predicates / Topological Relationships Available Available Available test containment
ST_CoveredBy Predicates / Topological Relationships Available Available Available inverse of ST_Covers
ST_Covers Predicates / Topological Relationships Available Available Available test if A covers B
ST_Crosses Predicates / Topological Relationships Available Available Available tests if geometries cross
ST_DWithin Predicates / Topological Relationships Available Available Available test if within distance
ST_Disjoint Predicates / Topological Relationships Available Available Available test disjointness
ST_Equals Predicates / Topological Relationships Available Available Available test geometric equality
ST_Intersects Predicates / Topological Relationships Available Available Available test intersection
ST_OrderingEquals Predicates / Topological Relationships Available Available Available tests equality including coord order
ST_Overlaps Predicates / Topological Relationships Available Available Available tests overlap relationship
ST_Relate Predicates / Topological Relationships Available Available Available computes DE-9IM matrix
ST_RelateMatch Predicates / Topological Relationships Available Available Available tests DE-9IM pattern match
ST_Touches Predicates / Topological Relationships Available Available Available test touch relationship
ST_Within Predicates / Topological Relationships Available Available Available test if A is within B
RS_GeoReference Raster Accessors Available Available Available returns the georeference metadata of raster as a string in GDAL or ESRI format
RS_GeoTransform Raster Accessors Available Available Available returns a struct of parameters that represent the GeoTransformation of the raster
RS_Height Raster Accessors Available Available Available returns the height of the raster
RS_RasterToWorldCoord Raster Accessors Available Available Available returns the world X and Y coordinates of a pixel's upper-left corner
RS_RasterToWorldCoordX Raster Accessors Available Available Available returns the world X coordinate of a pixel's upper-left corner
RS_RasterToWorldCoordY Raster Accessors Available Available Available returns the world Y coordinate of a pixel's upper-left corner
RS_Rotation Raster Accessors Available Available Available returns the uniform rotation of the raster in radian
RS_ScaleX Raster Accessors Available Available Available returns the pixel width of the raster in CRS units
RS_ScaleY Raster Accessors Available Available Available returns the pixel height of the raster in CRS units
RS_SkewX Raster Accessors Available Available Available returns the X skew or rotation parameter
RS_SkewY Raster Accessors Available Available Available returns the Y skew or rotation parameter
RS_UpperLeftX Raster Accessors Available Available Available returns the X coordinate of the upper-left corner of the raster
RS_UpperLeftY Raster Accessors Available Available Available returns the Y coordinate of the upper-left corner of the raster
RS_Width Raster Accessors Available Available Available returns the width of the raster
RS_WorldToRasterCoord Raster Accessors Available Available Available returns the grid coordinate of the given world coordinates as a Point
RS_WorldToRasterCoordX Raster Accessors Available Available Available returns the X coordinate of the grid coordinate of the given world coordinates as an integer
RS_WorldToRasterCoordY Raster Accessors Available Available Available returns the Y coordinate of the grid coordinate of the given world coordinates as an integer
RS_FromArcInfoAsciiGrid Raster Constructors Available Available Available returns a raster geometry from an Arc Info Ascii Grid file
RS_FromGeoTiff Raster Constructors Available Available Available returns a raster geometry from a GeoTiff file
RS_FromNetCDF Raster Constructors Available Available Available returns a raster for a record variable in a NetCDF file
RS_MakeEmptyRaster Raster Constructors Available Available Available returns an empty raster geometry
RS_MakeRaster Raster Constructors Available Available Available creates a raster from the given array of pixel values
RS_NetCDFInfo Raster Constructors Available Available Available returns the variable names and dimensions in a NetCDF file
RS_ConvexHull Raster Geometry Functions Available Available Available returns the convex hull of the raster, including no data pixels
RS_Envelope Raster Geometry Functions Available Available Available returns the envelope of the raster as a Geometry
RS_MinConvexHull Raster Geometry Functions Available Available Available returns the minimum convex hull of the raster, excluding no data pixels
ST_BingTile Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available quadkey from tile XY + zoom
ST_BingTileAt Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available quadkey for point at zoom
ST_BingTileCellIDs Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available Bing tiles covering geometry
ST_BingTilePolygon Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available polygon of Bing tile
ST_BingTileToGeom Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available quadkeys to polygon array
ST_BingTileX Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available tile X from quadkey
ST_BingTileY Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available tile Y from quadkey
ST_BingTileZoomLevel Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available zoom level from quadkey
ST_BingTilesAround Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available 3×3 neighborhood tiles
ST_GeoHashNeighbor Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available neighbor geohash cell in direction
ST_GeoHashNeighbors Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available all 8 neighbor geohash cells
ST_H3CellDistance Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available H3 grid distance between cells
ST_H3CellIDs Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available H3 cells covering geometry
ST_H3KRing Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available H3 k-ring disk around cell
ST_H3ToGeom Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available H3 cells to polygons
ST_S2CellIDs Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available S2 cells covering geometry
ST_S2ToGeom Spatial Indexing (H3, S2, Bing Tiles, GeoHash) Available Available Available S2 cells to polygons
ST_BestSRID Spatial Reference System Available Available Available auto-selects best projection SRID
ST_SRID Spatial Reference System Available Available Available return SRID value
ST_SetSRID Spatial Reference System Available Available Available set SRID on geometry
ST_Transform Spatial Reference System Available Available Available reproject geometry; Wherobots supports source+target CRS
ST_BinaryDistanceBandColumn Spatial Statistics Available Available Available binary spatial weights within threshold
ST_GLocal Spatial Statistics Available Available Available Getis-Ord Gi/Gi* hot-spot analysis
ST_WeightedDistanceBandColumn Spatial Statistics Available Available Available weighted spatial weights within threshold
RS_StackTileExplode Tiles Not available Not available Available stacks an array of rasters into one raster and splits it into tiles
RS_Tile Tiles Available Available Available splits a raster into an array of tiles of the given size
RS_TileExplode Tiles Available Available Available splits a raster into tiles, one row per tile

Function names link to the Wherobots documentation.

Wherobots vs. Apache Sedona FAQ

What is the difference between Apache Sedona and Wherobots?

Apache Sedona is the open-source spatial engine for Apache Spark, free under the Apache 2.0 license. Wherobots is the fully managed AI context engine for physical world data from the original creators of Sedona. It brings together WherobotsDB, the enterprise spatial runtime; RasterFlow, Earth intelligence and perception as a service that turns imagery into physical-world features; the Havasu Catalog of open datasets, RasterFlow models, notebooks, and apps next to your own data in Apache Iceberg; and Spatial AI developer tools, including the Spatial AI Coding Assistant for VS Code, the Wherobots MCP Server, and the Wherobots CLI. Apache Sedona code runs on Wherobots without changes.

What is the difference between Apache Sedona and WherobotsDB?

WherobotsDB is the enterprise spatial runtime from the original creators of Apache Sedona. It is 100% compatible with Sedona APIs and adds automatic query optimization, out-of-database raster, approximate KNN, and support SLAs. WherobotsDB runs on your own Spark clusters (BYOS) or fully managed in Wherobots Cloud.

Is WherobotsDB compatible with Apache Sedona?

Yes. WherobotsDB is 100% compatible with Apache Sedona APIs, so existing Sedona SQL and Python code runs without rewrites.

Can I run WherobotsDB on my own Spark clusters?

Yes. WherobotsDB Bring Your Own Spark (BYOS) is a drop-in runtime for existing Spark clusters, offered in the Enterprise edition. Data stays where it is and governance does not change. See pricing.

Who builds Apache Sedona?

The original creators of Apache Sedona are the founders of Wherobots. They continue to contribute to the project, which is maintained by the Apache Software Foundation community.

What is SpatialBench?

SpatialBench is an open benchmark for spatial query engines from the Apache Sedona project. It runs reproducible workloads such as point-in-polygon, range queries, spatial joins, and nearest-neighbor joins at multiple scale factors, so teams can compare engines on their own infrastructure.

Does Apache Sedona support raster data?

Yes, Apache Sedona processes rasters in memory. WherobotsDB adds out-of-database raster, which loads pixels on demand from object storage, and Wherobots Cloud adds RasterFlow for mosaics and computer vision inference over satellite and aerial imagery.

Can Wherobots add a spatial function I need?

Yes. Wherobots adds custom ST_ vector and RS_ raster functions for paying customers on request. Talk to us about your workload.