Nitpick - break this into multiple lines:

```scala
val geoms = orderedFeatures.map { sf => getGeom(sf) }
val unionGeom = geoFac.buildGeometry(geoms)
```