[GRASS-dev] v.in.ogr -r and -e

Hamish hamish_nospam at yahoo.com
Mon Nov 5 19:51:48 EST 2007


Hamish:
> > In doing that I noticed that the "-e" flag doesn't seem to be connected to
> > any code. Anyone know what it is supposed to do? (added in cvs
> > vector/v.in.ogr/main.c rev 1.29)
Markus:
> It should do the same as r.in.gdal:
>   -e   Extend location extents based on new dataset
> 
> To modify the DEFAULT_WIND file according to the map extent.

see attached patch. (untested)


question- earlier in the v.in.ogr code as part of the projection-override check
there is a comment:
/* G_get_window seems to be unreliable if the location has been changed */
G__get_window ( &loc_wind, "", "DEFAULT_WIND", "PERMANENT");


should we worry about that for the extend flag?


Hamish


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vio_extendflag.diff
Type: text/x-patch
Size: 1847 bytes
Desc: 4065563721-vio_extendflag.diff
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20071105/900e8b41/vio_extendflag.bin


More information about the grass-dev mailing list