outputTestFile<<std::setprecision(10)<<"Cartographic Point (x , y) : ("<<cartoPoint[0]<<","<<cartoPoint[1]<<")"<<std::endl;
outputTestFile<<std::setprecision(10)<<"Geographic Point (Lat,Lon) : ("<<geoPoint[1]<<","<<geoPoint[0]<<")"<<std::endl;
outputTestFile<<std::setprecision(15)<<"Cartographic Point (x , y) : ("<<cartoPoint[0]<<","<<cartoPoint[1]<<")"<<std::endl;
outputTestFile<<std::setprecision(15)<<"Geographic Point (Lat,Lon) : ("<<geoPoint[1]<<","<<geoPoint[0]<<")"<<std::endl;
outputTestFile.close();
}
...
...
@@ -116,7 +116,7 @@ int main(int argc, char* argv[])
parser->AddOption("--XCarto","X cartographic value of desired point","-x");
parser->AddOption("--YCarto","Y cartographic value of desired point","-y");
parser->AddOptionNParams("--MapProjectionType","Type (UTM/LAMBERT/LAMBERT2/SINUS/ECKERT4/TRANSMERCATOR/MOLLWEID) and parameters of map projection used","-mapProj");
parser->AddOptionNParams("--MapProjectionType","Type (UTM/LAMBERT/LAMBERT2/LAMBERT93/SINUS/ECKERT4/TRANSMERCATOR/MOLLWEID) and parameters of map projection used","-mapProj");
@@ -222,7 +229,7 @@ int main(int argc, char* argv[])
}
else
{
itkGenericExceptionMacro(<<"TypeMap not recognized, choose one with (parameters) : UTM(2), LAMBERT(4), LAMBERT2(0), SINUS(2), ECKERT4(2), TRANSMERCATOR(3), MOLLWEID(2)");
itkGenericExceptionMacro(<<"TypeMap not recognized, choose one with (parameters) : UTM(2), LAMBERT(4), LAMBERT2(0), LAMBERT2(93), SINUS(2), ECKERT4(2), TRANSMERCATOR(3), MOLLWEID(2)");