[GRASS-dev] use G_find_raster2() instead of G_find_raster()

Vaclav Petras wenzeslaus at gmail.com
Fri Nov 1 07:46:13 PDT 2013


On Fri, Nov 1, 2013 at 10:32 AM, Martin Landa <landa.martin at gmail.com>wrote:

> Hi Vaclav,
>
> to my knowledge, it's already explained in the manual.
>
> """
>
> Note: If the user specifies a fully qualified raster map which exists,
> then G_find_raster() modifies name by removing the "@<i>mapset</i>".
>
> """"
>
> Yes, and also

"""
The same as G_find_vector() but doesn't remove the "@<i>mapset</i>"
qualification from name, if present.
"""

But I'm not able to decide on which occasion I want which function.
Someday, I can try to call both functions with different map/mapset
combinations but reading from manual would be more effective.


Martin
>
>
> 2013/11/1 Vaclav Petras <wenzeslaus at gmail.com>:
> > Hi Martin and others,
> >
> > I saw r58135. If one function is preferred, manual should state and
> explain
> > it. I also noticed that there is no find...2 function for 3D rasters. If
> you
> > understand this topic, please share you knowledge in the manual.
> >
> > Thanks,
> > Vaclav
> >
> > https://trac.osgeo.org/grass/changeset/58135
> >
> > http://grass.osgeo.org/programming7/find__rast_8c.html
> > http://grass.osgeo.org/programming7/find__vect_8c.html
> > http://grass.osgeo.org/programming7/find__rast3d_8c.html
> >
>
>
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20131101/efd490b6/attachment-0001.html>


More information about the grass-dev mailing list