// Correct parameter ordering to match CT specification func (sr SpatialReference) FixupOrdering() error { err := C.OSRFixupOrdering(sr.cval) if err != 0 { return error(err) } return nil }
// Correct parameter ordering to match CT specification func (sr SpatialReference) FixupOrdering() error { return C.OSRFixupOrdering(sr.cval).Err() }