PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ rt_util_gdal_configured()

int rt_util_gdal_configured ( void  )

Definition at line 313 of file rt_util.c.

References rt_util_gdal_supported_sr().

Referenced by RASTER_gdal_version(), and test_gdal_configured().

313  {
314 
315  /* set of EPSG codes */
316  if (!rt_util_gdal_supported_sr("EPSG:4326"))
317  return 0;
318  if (!rt_util_gdal_supported_sr("EPSG:4269"))
319  return 0;
320  if (!rt_util_gdal_supported_sr("EPSG:4267"))
321  return 0;
322  if (!rt_util_gdal_supported_sr("EPSG:3310"))
323  return 0;
324  if (!rt_util_gdal_supported_sr("EPSG:2163"))
325  return 0;
326 
327  return 1;
328 }
int rt_util_gdal_supported_sr(const char *srs)
Definition: rt_util.c:243
Here is the call graph for this function:
Here is the caller graph for this function: