var css = new SharpMap.CoordinateSystems.CoordinateSystemServices(
new CoordinateSystemFactory(),
new CoordinateTransformationFactory(),
SharpMap.Converters.WellKnownText.SpatialReference.GetAllReferenceSystems());
SharpMap.Session.Instance
.SetCoordinateSystemServices(css)
.SetCoordinateSystemRepository(css);
必须声明一个坐标系服务对象