refactoring: move method call out of conditionally executed code
refactoring: move method call out of conditionally executed code

only keep the method choice in conditionally executed code

geometalab/osmaxx-frontend,geometalab/osmaxx-frontend,geometalab/osmaxx,geometalab/osmaxx,geometalab/osmaxx,geometalab/osmaxx-frontend,geometalab/drf-utm-zone-info,geometalab/osmaxx,geometalab/osmaxx-frontend,geometalab/drf-utm-zone-info