public void MergeCalls(GeometryLoggingPipeline target, bool keepAllSetCrsCalls = false) { this.pipeline.Merge(target.pipeline, keepAllSetCrsCalls); }
private static ICommonLoggingPipeline GetExpectedPipeline(SpatialType spatialType, CoordinateSystem coordinateSystem, bool isGeography, Action<ICommonLoggingPipeline> writeShape) { ICommonLoggingPipeline expectedPipeline; if (isGeography) { expectedPipeline = new GeographyLoggingPipeline(); } else { expectedPipeline = new GeometryLoggingPipeline(); } expectedPipeline.SetCoordinateSystem(coordinateSystem); expectedPipeline.BeginShape(spatialType); writeShape(expectedPipeline); expectedPipeline.EndShape(); return expectedPipeline; }