// Initialize SRS based on EPSG code, using EPSG lat/long ordering func (sr SpatialReference) FromEPSGA(code int) error { err := C.OSRImportFromEPSGA(sr.cval, C.int(code)) if err != 0 { return error(err) } return nil }
// Initialize SRS based on EPSG code, using EPSG lat/long ordering func (sr SpatialReference) FromEPSGA(code int) error { return C.OSRImportFromEPSGA(sr.cval, C.int(code)).Err() }