PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ rt_util_extent_type()

rt_extenttype rt_util_extent_type ( const char *  name)

Definition at line 194 of file rt_util.c.

194  {
195  assert(name != NULL && strlen(name) > 0);
196 
197  if (strcmp(name, "UNION") == 0)
198  return ET_UNION;
199  else if (strcmp(name, "FIRST") == 0)
200  return ET_FIRST;
201  else if (strcmp(name, "SECOND") == 0)
202  return ET_SECOND;
203  else if (strcmp(name, "LAST") == 0)
204  return ET_LAST;
205  else if (strcmp(name, "CUSTOM") == 0)
206  return ET_CUSTOM;
207  else
208  return ET_INTERSECTION;
209 }
@ ET_CUSTOM
Definition: librtcore.h:208
@ ET_LAST
Definition: librtcore.h:207
@ ET_INTERSECTION
Definition: librtcore.h:203
@ ET_UNION
Definition: librtcore.h:204
@ ET_SECOND
Definition: librtcore.h:206
@ ET_FIRST
Definition: librtcore.h:205

References ET_CUSTOM, ET_FIRST, ET_INTERSECTION, ET_LAST, ET_SECOND, and ET_UNION.

Referenced by RASTER_mapAlgebra2(), RASTER_nMapAlgebra(), and RASTER_nMapAlgebraExpr().

Here is the caller graph for this function: