Changes between Initial Version and Version 1 of Ticket #489


Ignore:
Timestamp:
Jan 23, 2010, 4:52:43 PM (14 years ago)
Author:
neteler
Comment:

The code chunk in general/g.setproj/main.c (see grass/branches/develbranch_6/general/g.setproj/main.c#L413) is:

            if (parm->ask) {
                if (G_strcasecmp(desc->type, "bool") == 0) {
                    if (G_yes((char *)desc->desc, 0)) {
                        G_set_key_value(desc->key, "defined", out_proj_keys);
                        if (G_strcasecmp(parm->name, "SOUTH") == 0)
                            cellhd.zone = -abs(cellhd.zone);
                    }
                }

and in lib/proj/get_proj.c it is (line 154)

            /* if zone is negative, write abs(zone) and define south */
            info->zone = -info->zone;

So it seems to be valid?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #489 – Description

    initial v1  
    33with g.setproj it is possible to set the region so that the resulting PROJ_INFO file is missing the zone: field. Perhaps
    44this is because 'g.region -p' says the zone is -55 while g.proj
    5 had 55(S)?
     5had  ?
    66
    77{{{