PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ rt_util_extent_type()

rt_extenttype rt_util_extent_type ( const char *  name)

Definition at line 301 of file rt_util.c.

301 {
302 assert(name != NULL && strlen(name) > 0);
303
304 if (strcmp(name, "UNION") == 0)
305 return ET_UNION;
306 else if (strcmp(name, "FIRST") == 0)
307 return ET_FIRST;
308 else if (strcmp(name, "SECOND") == 0)
309 return ET_SECOND;
310 else if (strcmp(name, "LAST") == 0)
311 return ET_LAST;
312 else if (strcmp(name, "CUSTOM") == 0)
313 return ET_CUSTOM;
314 else
315 return ET_INTERSECTION;
316}
@ ET_CUSTOM
Definition librtcore.h:210
@ ET_LAST
Definition librtcore.h:209
@ ET_INTERSECTION
Definition librtcore.h:205
@ ET_UNION
Definition librtcore.h:206
@ ET_SECOND
Definition librtcore.h:208
@ ET_FIRST
Definition librtcore.h:207

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: