GetZoneFromGeoPoint

From OTBWiki
Jump to: navigation, search

The int otb::UtmMapProjection<TTransform>::GetZoneFromGeoPoint() method is deprecated and remplaced by the otb::Utils::GetZoneFromGeoPoint() method.

- Include:

  #include "otbUtils.h"

- Using the method:

  int utmZone = utmProjection->GetZoneFromGeoPoint(geoPoint);

to be replaced by

  int utmZone = otb::Utils::GetZoneFromGeoPoint(geoPoint[0], geoPoint[1]);


Back to Migration guide