@@ -392,7 +392,8 @@ options_t parse_command_line(int argc, char *argv[])
392392 app.add_flag_function (" -l,--latlong" ,
393393 [&](int64_t ) {
394394 options.projection =
395- reprojection::create_projection (PROJ_LATLONG);
395+ reprojection_t::create_projection (
396+ PROJ_LATLONG);
396397 })
397398 ->description (" Store data in degrees of latitude & longitude (WGS84)." )
398399 ->group (" Pgsql output options" );
@@ -401,7 +402,7 @@ options_t parse_command_line(int argc, char *argv[])
401402 app.add_flag_function (" -m,--merc" ,
402403 [&](int64_t ) {
403404 options.projection =
404- reprojection ::create_projection (
405+ reprojection_t ::create_projection (
405406 PROJ_SPHERE_MERC);
406407 })
407408 ->description (" Store data in Web Mercator [EPSG 3857]. This is the "
@@ -425,7 +426,7 @@ options_t parse_command_line(int argc, char *argv[])
425426#ifdef HAVE_GENERIC_PROJ
426427 [&](int arg) {
427428 options.projection =
428- reprojection ::create_projection (arg);
429+ reprojection_t ::create_projection (arg);
429430#else
430431 [&](int ) {
431432 throw std::runtime_error{
@@ -665,7 +666,8 @@ options_t parse_command_line(int argc, char *argv[])
665666 }
666667
667668 if (!options.projection ) {
668- options.projection = reprojection::create_projection (PROJ_SPHERE_MERC);
669+ options.projection =
670+ reprojection_t::create_projection (PROJ_SPHERE_MERC);
669671 }
670672
671673 check_options_expire (&options);
0 commit comments