[GRASS-dev] lib/gis/band_reference.c ?

Martin Landa landa.martin at gmail.com
Thu Mar 18 14:21:45 PDT 2021


Hi Markus,

st 10. 3. 2021 v 21:56 odesílatel Markus Metz
<markus.metz.giswork at gmail.com> napsal:

> The functions defined in lib/gis/band_reference.c [0] are used for raster imagery and should thus be removed from lib/gis. There is also lib/raster/band_reference.c [1] which should be moved to lib/imagery and the functions need to be renamed.
>
> Martin, can you explain the reason for the existence of lib/gis/band_reference.c and lib/raster/band_reference.c and the non-existence of lib/imagery/band_reference.c ?

You are right that both files should be probably merged and moved to
raster imagery since the band reference concept is used currently only
for imagery data.

The reason why the functionality has been split into libgis and
libraster was the assumption that the (band) reference concept could
be used also for non-imagery data (raster or vector). But it will
probably not happen.

I will take a look on this issue in the next few days. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list