Create FeatureCollections for relations

This is a simplistic, but general way of creating geometries.
Remove console.log statement