public void MergeCalls(GeographyLoggingPipeline target, bool keepAllSetCrsCalls = false)
 {
     this.pipeline.Merge(target.pipeline, keepAllSetCrsCalls);
 }
Example #2
0
 public void MergeCalls(GeographyLoggingPipeline 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;
        }