public override IDocumentQuery <T> RelatesToShape(IRavenIndexable geometry, SpatialRelation relation) { return(_query.RelatesToShape(SpatialField.NameFor(_propertySelector), _writer.Write(geometry.GetSpatial4nShape()), relation)); }