PostGIS  2.1.10dev-r@@SVN_REVISION@@
rt_extenttype rt_util_extent_type ( const char *  name)

Definition at line 302 of file rt_api.c.

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

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

302  {
303  assert(name != NULL && strlen(name) > 0);
304 
305  if (strcmp(name, "UNION") == 0)
306  return ET_UNION;
307  else if (strcmp(name, "FIRST") == 0)
308  return ET_FIRST;
309  else if (strcmp(name, "SECOND") == 0)
310  return ET_SECOND;
311  else if (strcmp(name, "LAST") == 0)
312  return ET_LAST;
313  else if (strcmp(name, "CUSTOM") == 0)
314  return ET_CUSTOM;
315  else
316  return ET_INTERSECTION;
317 }

Here is the caller graph for this function: