getSrsId static method

int? getSrsId(
  1. SpatialReferenceSystem srs
)

Implementation

static int? getSrsId(SpatialReferenceSystem srs) {
  switch (srs) {
    case SpatialReferenceSystem.CARTESIAN:
      return (0);
    case SpatialReferenceSystem.PULKOVO_1995:
      return (4200);
    case SpatialReferenceSystem.WGS84:
      return (4326);
    case SpatialReferenceSystem.WGS84_PSEUDO_MERCATOR:
      return (3857);
    case SpatialReferenceSystem.WGS84_WORLD_MERCATOR:
      return (3395);
    default:
      return null;
  }
}