|
@@ -321,6 +321,11 @@ int main(int argc, char **argv)
|
|
|
if ((in_proj_info = G_get_projinfo()) == NULL)
|
|
|
G_fatal_error(_("Unable to get projection info of input map"));
|
|
|
|
|
|
+ /* apparently the +over switch must be set in the input projection,
|
|
|
+ * not the output latlon projection */
|
|
|
+ if (curr_proj == PROJECTION_LL)
|
|
|
+ G_set_key_value("+over", "defined", in_proj_info);
|
|
|
+
|
|
|
if ((in_unit_info = G_get_projunits()) == NULL)
|
|
|
G_fatal_error(_("Unable to get projection units of input map"));
|
|
|
|