diff options
Diffstat (limited to 'inst/utmzone.m')
-rw-r--r-- | inst/utmzone.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inst/utmzone.m b/inst/utmzone.m index 11e22f5..61437c7 100644 --- a/inst/utmzone.m +++ b/inst/utmzone.m @@ -69,11 +69,11 @@ function [zone, z2] = utmzone (lat, long) if (ischar (lat) && numel (lat) > 1) num = sscanf (lat, "%f"); if (num < 1) - error ("utmzone.m: positive number expecte for zone"); + error ("utmzone: positive number expecte for zone"); endif let = find (alphabet == upper (lat(end))); if (isempty (let)) - error ("utmzone.m: incorrect or no letter specified"); + error ("utmzone: incorrect or no letter specified"); endif switch upper (lat(end)) case "A" @@ -104,7 +104,7 @@ function [zone, z2] = utmzone (lat, long) case 37 long = [33 42]; case {32, 34, 36} - error ("utmzone.m : zone %2iX does not exist", num); + error ("utmzone: zone %2iX does not exist", num); otherwise long = [(num - 1) * 6 - 180, (num * 6 - 180)]; endswitch @@ -169,7 +169,7 @@ function [zone, z2] = utmzone (lat, long) endif else - error ("utmzone.m: numeric input expected for LAT en LON"); + error ("utmzone: numeric input expected for LAT en LON"); endif |