public bool UpdateProjectionLoc(_ge_location loc, out string msg, string sourceCoordSystem = "") { bool retvar = false; if (loc.datumProjection == datumProjection.NONE) { retvar = true; msg = "No datumProjection"; } else { ProjectionSystem ps = new ProjectionSystem(); ige_projectionDAL pd = ps.getProjectionDAL(loc); if (pd == null) { msg = "datumProjection not understood"; retvar = false; } else { retvar = ps.updateAll(sourceCoordSystem); msg = pd.getMessage(); } } return(retvar); }
public bool UpdateProjectionLoc(_ge_location loc) { bool retvar = false; if (loc.datumProjection == Constants.datumProjection.NONE) { retvar = true; ViewData["locMessage"] = "No datumProjection"; } else { ProjectionSystem ps = new ProjectionSystem(); ige_projectionDAL pd = ps.getProjectionDAL(loc); if (pd == null) { retvar = false; } else { retvar = pd.updateAll(locSelect); ViewData["locMessage"] = pd.getMessage(); } } return(retvar); }