public void TestCoordinateSystemForLayer(int srid) { var map = new VectorLayer("LayerName", new GeometryFeatureProvider(new FeatureDataTable())) { SRID = srid }; ICoordinateSystem cs = null; Assert.DoesNotThrow(() => cs = map.GetCoordinateSystem()); Assert.NotNull(cs); Assert.AreEqual("EPSG", cs.Authority); Assert.AreEqual((long)srid, cs.AuthorityCode); }