MCPcopy Create free account
hub / github.com/OSGeo/gdal / SetTM

Method SetTM

ogr/ogrspatialreference.cpp:6347–6358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6345/************************************************************************/
6346
6347OGRErr OGRSpatialReference::SetTM(double dfCenterLat, double dfCenterLong,
6348 double dfScale, double dfFalseEasting,
6349 double dfFalseNorthing)
6350
6351{
6352 TAKE_OPTIONAL_LOCK();
6353
6354 return d->replaceConversionAndUnref(
6355 proj_create_conversion_transverse_mercator(
6356 d->getPROJContext(), dfCenterLat, dfCenterLong, dfScale,
6357 dfFalseEasting, dfFalseNorthing, nullptr, 0.0, nullptr, 0.0));
6358}
6359
6360/************************************************************************/
6361/* OSRSetTM() */

Callers 15

importProjCSFromXMLFunction · 0.80
OSRSetTMFunction · 0.80
test_isis_18Function · 0.80
CheckGeoSDEInfoMethod · 0.80
ParseProjDictMethod · 0.80
IdrisiGeoReference2WktFunction · 0.80
CaptureCSKGeolocationMethod · 0.80
ProcessMapinfoMethod · 0.80
gt_wkt_srs.cppFile · 0.80
HFAPCSStructToOSRFunction · 0.80

Calls 2

getPROJContextMethod · 0.80

Tested by 1

test_isis_18Function · 0.64