[GRASS-dev] v.info: projection info wrong

Martin Landa landa.martin at gmail.com
Tue Jan 24 20:46:32 EST 2012


Hi,

2012/1/25 Hamish <hamish_b at yahoo.com>:
> Map_info->proj likely needs some work to finish taking advantage of it in
> the libs & modules, if this "assert" failsafe is to be used with vector
> maps. (for my 2c I think it is worth the trouble to keep going with that;
> I don't think a .prj file with v.pack is enough to catch all cases, or
> robust enough. the mis-copy could just as well be a manual filesystem copy
> as a v.pack transportation)

I would tend to agree. Proj info should be saved in head file
similarly to rasters (cellhd). As I noted earlier Vect_open_*() should
check if proj info in the head file differs from location settings and
at least to print some warning about this mismatch.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list